...
|
...
|
@@ -192,7 +192,10 @@ 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();
|
|
|
// 导出Exl
|
|
|
vendor("VENDOR_PATH/phpoffice/phpexcel/Classes/PHPExcel");
|
|
|
vendor("VENDOR_PATH/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing");
|
...
|
...
|
|