chuweiqiang 1 ano atrás
pai
commit
a1ab338d0d

+ 9 - 9
application/admin/view/books/sample_apply/index.html

@@ -1,14 +1,14 @@
 <div class="panel panel-default panel-intro">
 
-    <div class="panel-heading">
-        {:build_heading(null,FALSE)}
-        <ul class="nav nav-tabs" data-field="status">
-            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
-            {foreach name="statusList" item="vo"}
-            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
-            {/foreach}
-        </ul>
-    </div>
+<!--    <div class="panel-heading">-->
+<!--        {:build_heading(null,FALSE)}-->
+<!--        <ul class="nav nav-tabs" data-field="status">-->
+<!--            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>-->
+<!--            {foreach name="statusList" item="vo"}-->
+<!--            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>-->
+<!--            {/foreach}-->
+<!--        </ul>-->
+<!--    </div>-->
 
 
     <div class="panel-body">

+ 14 - 14
public/assets/js/backend/books/sample_apply.js

@@ -39,14 +39,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'mailing_area', title: __('Mailing_area'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
                         {field: 'mailing_address', title: __('Mailing_address'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
                         {field: 'mailing_phone', title: __('Mailing_phone'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
-                        {field: 'status', title: __('状态'), searchList: {"0":__('未审核'),"1":__('已寄出'),"2":__('已拒绝')}, formatter: Table.api.formatter.status},
+                        // {field: 'status', title: __('状态'), searchList: {"0":__('未审核'),"1":__('已寄出'),"2":__('已拒绝')}, formatter: Table.api.formatter.status},
                         {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
                         {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
-                        {
-                            field: 'operate',
-                            title: __('Operate'),
-                            table: table,
-                            events: Table.api.events.operate,
+                        // {
+                        //     field: 'operate',
+                        //     title: __('Operate'),
+                        //     table: table,
+                        //     events: Table.api.events.operate,
 
                             // buttons: [{
                             //     name: 'click',
@@ -125,14 +125,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                             //         refresh:true,
                             //     },
                             // ],
-                            formatter: function (value, row, index) {
-                                var that = $.extend({}, this);
-                                $(table).data("operate-del", null); // 列表页面隐藏 .编辑operate-edit  - 删除按钮operate-del
-                                $(table).data("operate-edit", null); // 列表页面隐藏 .编辑operate-edit  - 删除按钮operate-del
-                                that.table = table;
-                                return Table.api.formatter.operate.call(that, value, row, index);
-                            },
-                        }
+                        //     formatter: function (value, row, index) {
+                        //         var that = $.extend({}, this);
+                        //         $(table).data("operate-del", null); // 列表页面隐藏 .编辑operate-edit  - 删除按钮operate-del
+                        //         $(table).data("operate-edit", null); // 列表页面隐藏 .编辑operate-edit  - 删除按钮operate-del
+                        //         that.table = table;
+                        //         return Table.api.formatter.operate.call(that, value, row, index);
+                        //     },
+                        // }
                     ]
                 ]
             });