...
|
...
|
@@ -192,10 +192,9 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
public function batch_export(){
|
|
|
$ids=$this->request->param('ids');
|
|
|
$ids=explode(',',$ids);
|
|
|
dump($ids);
|
|
|
$data= Db::name('equipment')->where('id',['in',$ids])->select();
|
|
|
dump($data);
|
|
|
exit();
|
|
|
|
|
|
$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");
|
...
|
...
|
|