...
|
...
|
@@ -186,6 +186,10 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
//批量导出
|
|
|
public function batch_export(){
|
|
|
$ids=$this->request->param('ids/a');
|
|
|
if (empty($ids)){
|
|
|
echo '数据为空';
|
|
|
exit();
|
|
|
}
|
|
|
$data= Db::name('equipment')->where(['id' => ['in', $ids]])->select();
|
|
|
|
|
|
// 导出Exl
|
...
|
...
|
|