Kirin hace 3 años
padre
commit
303897b10f
Se han modificado 1 ficheros con 5 adiciones y 19 borrados
  1. 5 19
      app/admin/view/system/system_store/apply.php

+ 5 - 19
app/admin/view/system/system_store/apply.php

@@ -60,24 +60,12 @@
                     <script type="text/html" id="address">
                         {{d.address}} {{d.detailed_address}}
                     </script>
-                    <script type="text/html" id="checkboxstatus">
-                        <input type='checkbox' name='id' lay-skin='switch' value="{{d.id}}" lay-filter='is_show'
-                               lay-text='显示|隐藏' {{ d.is_show== 1 ? 'checked' : '' }}>
-                    </script>
                     <script type="text/html" id="act">
-                        <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
-                            编辑门店
-                        </button>
-                        <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='init'>
-                            初始化商品
-                        </button>
-                        <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='del'>
-                            {{# if(d.is_del){ }}
-                            恢复门店
-                            {{# }else{ }}
-                            删除门店
-                            {{# } }}
-                        </button>
+                        {{# if(d.status == 0){ }}
+                            <button type="button" class="layui-btn layui-btn-xs layui-btn-normal" lay-event='edit'>
+                                审核
+                            </button>
+                        {{# } }}
                     </script>
                 </div>
             </div>
@@ -98,9 +86,7 @@
             {field: 'leader', title: '联系人'},
             {field: 'phone', title: '电话', width: '10%'},
             {field: 'address', title: '地址', templet: '#address'},
-            {field: 'leader', title: '联系人'},
             {field: 'cert', title: '营业执照', templet: '#cert', width: '6%'},
-            {field: 'status', title: '是否显示', templet: "#checkboxstatus", width: '8%'},
             {field: 'right', title: '操作', align: 'center', toolbar: '#act', width: '14%'},
         ];
     });