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

interface

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