...
|
...
|
@@ -192,9 +192,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
public function batch_export(){
|
|
|
$ids=$this->request->param('ids');
|
|
|
$ids=explode(',',$ids);
|
|
|
dump($ids);
|
|
|
exit();
|
|
|
$data= Db::name('equipment')->select();
|
|
|
$data= Db::name('equipment')->where('id',['in',$ids])->select();
|
|
|
// 导出Exl
|
|
|
vendor("VENDOR_PATH/phpoffice/phpexcel/Classes/PHPExcel");
|
|
|
vendor("VENDOR_PATH/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing");
|
...
|
...
|
|