From d3386ce4a4439ee740ca79d33ac7040963a18948 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Fri, 24 Apr 2020 11:31:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html index 89896c5..268629e 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html @@ -21,7 +21,7 @@ </script> <!-- 表格状态列 --> <script type="text/html" id="product-tpl-state"> - <input type="checkbox" lay-filter="product-tpl-state" value="{{d.id}}" lay-skin="switch" lay-text="未处理|已处理" + <input type="checkbox" lay-filter="product-tpl-state" value="{{d.id}}" lay-skin="switch" lay-text="启用|已禁用" {{d.enabled==true?'checked':''}}/> </script> @@ -64,7 +64,7 @@ { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); } }, - { field: 'enabled', width: 150, templet: '#product-tpl-state', sort: true, title: '状态' }, + { field: 'enabled', width: 100, templet: '#product-tpl-state', sort: true, title: '状态' }, { align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作' } ]] }); -- Gitblit v1.8.0