...
|
...
|
@@ -117,7 +117,9 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
|
|
|
//批量导出
|
|
|
public function batch_export(){
|
|
|
$data= Db::name('equipment')->select();
|
|
|
$ids=$this->request->post('ids');
|
|
|
|
|
|
$data= Db::name('equipment')->where('id','in',$ids)->select();
|
|
|
|
|
|
// 导出Exl
|
|
|
vendor("VENDOR_PATH/phpoffice/phpexcel/Classes/PHPExcel");
|
...
|
...
|
|