From 96e929fc7aa1f9b3b6e41f64564d1177f4d4dda9 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Fri, 12 Jun 2020 18:27:24 +0800 Subject: [PATCH] 添加医生时,将手机号设置成登录名 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html index ac98c35..1d742fc 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html @@ -19,7 +19,7 @@ placeholder="按诊断医生名" />  <input id="hospitalName" class="layui-input search-input" type="text" placeholder="按医院名,必选条件!" autocomplete="off" /></div>  - <button id="diagnostic-btn-search" class="layui-btn icon-btn"> + <button id="diagnostic-btn-search" class="layui-btn icon-btn permissions" permissions="diagnostic-get"> <i class="layui-icon"></i>搜索</button> <table class="layui-table" id="diagnostic-table" lay-filter="diagnostic-table"></table> @@ -30,7 +30,7 @@ <input id="hospitalId" type="hidden" /> <!-- 表格操作列 --> <script type="text/html" id="diagnostic-table-bar"> - <a class="layui-btn layui-btn-xs" lay-event="select"">查看报告</a> + <a class="layui-btn layui-btn-xs permissions" permissions="diagnostic-get" lay-event="select"">查看报告</a> </script> <script> @@ -76,7 +76,7 @@ { field: 'childName', width: 100, title: '患者姓名' }, { field: 'childSex', width: 80, title: '性别' }, { field: 'childBirthday', width: 120, title: '出生日期',templet:function(d){ - return new Date(d.createTime).dateFormat("yyyy/MM/dd"); + return new Date(d.createTime).dateFormat("yyyy-MM-dd"); }}, { field: 'childPhone', width: 150, title: '联系电话' }, { @@ -89,20 +89,23 @@ }, { field: 'createTime', width: 170, sort: true, title: '创建时间', templet: function (d) { - return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); + return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); } },{ field: 'diagnosticDiagnoseTime', width: 120, sort: true, title: '诊断时间', templet: function (d) { - return new Date(d.diagnosticDiagnoseTime).dateFormat("yyyy/MM/dd"); + return new Date(d.diagnosticDiagnoseTime).dateFormat("yyyy-MM-dd"); } }, { field: 'updateTime', width: 170, sort: true, title: '修改时间', templet: function (d) { - return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); + return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); } }, { field: 'enabled', width: 100, templet: '#diagnostic-table-bar', title: '查看' } - ]] + ]], + done:function(){ + permissionsInput(); + } }); // 搜索按钮点击事件 $('#diagnostic-btn-search').click(function () { -- Gitblit v1.8.0