aiyou 4 年之前
父节点
当前提交
d94f89bcdd
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      application/admin/view/example/customsearch/index.html
  2. 1 1
      public/assets/js/backend/shop_user.js

+ 1 - 0
application/admin/view/example/customsearch/index.html

@@ -22,6 +22,7 @@
 <script id="customformtpl" type="text/html">
     <!--form表单必须添加form-commsearch这个类-->
     <form action="" class="form-commonsearch">
+
         <div style="border-radius:2px;margin-bottom:10px;background:#f5f5f5;padding:15px 20px;">
             <h4>自定义搜索表单</h4>
             <hr>

+ 1 - 1
public/assets/js/backend/shop_user.js

@@ -46,7 +46,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'type_id', title: __('店铺类型'), searchList: {"1":__('个人'),"2":__('车商'),"3":__('4S店')}, formatter: Table.api.formatter.normal},
                         {field: 'is_recommend', title: __('是否推荐'), searchList: {"1":__('Yes'),"0":__('No')}, formatter: Table.api.formatter.toggle},
 
-                        {field: 'status', title: __('状态'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"2":__('Status 2'),"4":__('资料修改'),"5":__('修改驳回')}, formatter: Table.api.formatter.normal},
+                        {field: 'status', title: __('状态'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"2":__('Status 2'),"4":__('资料修改'),"5":__('修改驳回')},operate:false, formatter: Table.api.formatter.normal},
                       //  {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
                         {
                             field: 'operate', title: __('Operate'), table: table,