From 17faa5c0b1d69187a45d8d810c90bae414cfe5c6 Mon Sep 17 00:00:00 2001 From: 侯瑞军 <411269194@kidgrow.com> Date: Thu, 23 Apr 2020 18:59:31 +0800 Subject: [PATCH] 1.医院充值功能完成,业务细节还需整理 2.整理调整了common.js部分公共函数 3.调整合同,充值记录,产品统计功能细节 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html index b931cdb..175e7ce 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.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> @@ -45,6 +45,14 @@ cols: [[ { field: 'proName', width: 300, title: '产品名称' }, { + field: 'proType',align: 'center', width: 100, templet: function (d) { + if (d.proType === 0) + return "试用" + else + return "正式" + }, title: '类型' + }, + { field: 'proTime', width: 150, title: '有效时长', templet: function (d) { switch (d.proTimeUnit) { case 0: -- Gitblit v1.8.0