作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

... ... @@ -183,6 +183,11 @@ class AdminEquipmentController extends AdminBaseController{
}
}
public function ceshi(){
$ids=$this->request->param('ids/a');
$this->success('成功'.$ids[0]);
}
//批量导出
public function batch_export(){
$ids=$this->request->param('ids/a');
... ...
... ... @@ -42,7 +42,7 @@
</button>
<!--js-ajax-submit-->
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
data-action="{:url('AdminEquipment/batch_export')}" data-subcheck="true">批量导出
data-action="{:url('AdminEquipment/ceshi')}" data-subcheck="true">批量导出
</button>
</div>
<table class="table table-hover table-bordered table-list">
... ...