From 1738edbe080a76d6954f90a6306ebe372627c6d4 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Thu, 14 May 2020 14:13:10 +0800 Subject: [PATCH] 修改时间显示的功能 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html | 2 +- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/dataNeed.html | 6 +++--- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html | 3 ++- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/productdetail.html | 7 ++++--- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/feedback.html | 3 ++- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html | 2 +- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/businessRecords.html | 2 +- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html | 2 +- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html | 3 ++- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html | 7 ++++--- 10 files changed, 21 insertions(+), 16 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/businessRecords.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/businessRecords.html index b8ca7d6..af3527c 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/businessRecords.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/businessRecords.html @@ -125,7 +125,7 @@ { field: 'recordIp', width: 180, sort: true, title: 'IP' }, { field: 'recordTitle', width: 300, sort: true, title: '标题' }, { field: 'id', width: 250, align: 'center', toolbar: '#businessRecords-table-bar', sort: true, title: '查看详情' },// 0就诊数据 1筛查 - { field: 'createTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" } + { field: 'createTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" } ]] }); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html index 8a0370f..d4590cb 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html @@ -171,7 +171,7 @@ { field: 'companyTel', width: 250, align: 'center', sort: true, title: '联系方式' }, { field: 'tenantId', width: 250, align: 'center', sort: true, title: '应用' }, { field: 'enabled', width: 250, align: 'center', templet: '#company-tpl-state', sort: true, title: '状态' }, - { field: 'createTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" }, + { field: 'createTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { field: 'id', width: 250, align: 'center', toolbar: '#company-table-bar', sort: true, title: '操作' }, ]], done:function(){ diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/dataNeed.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/dataNeed.html index 7106b72..8587671 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/dataNeed.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/dataNeed.html @@ -149,7 +149,7 @@ { field: 'needType', width: 250, sort: true, title: '数据类型', templet: function (d) { if (d.needType == 1) { return '筛查' } else { return '就诊' } } },// 0就诊数据 1筛查 { field: 'needTags', width: 250, align: 'center', toolbar: '#app-table-bar', sort: true, title: '需求标签' }, { field: 'enabled', width: 250, sort: true, toolbar: '#app-table-bar1', title: '处理状态', }, - { field: 'downTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.downTime, 'yyyy年MM月dd日')}}</div>" } + { field: 'downTime', width: 250, sort: true, title: '时间', templet: "<div>{{layui.util.toDateString(d.downTime, 'yyyy/MM/dd HH:mm')}}</div>" } ]] }); @@ -281,11 +281,11 @@ $('#app-form').attr('method', 'POST'); if (data) { if (data.needBegintime) { - var needBegintime = layui.util.toDateString(data.needBegintime, 'yyyy年MM月dd日 HH:mm:ss'); + var needBegintime = layui.util.toDateString(data.needBegintime, 'yyyy/MM/dd HH:mm'); data.needBegintime = needBegintime } if (data.needEndtime) { - var needEndtime = layui.util.toDateString(data.needEndtime, 'yyyy年MM月dd日 HH:mm:ss'); + var needEndtime = layui.util.toDateString(data.needEndtime, 'yyyy/MM/dd HH:mm'); data.needEndtime = needEndtime } $("input[name='clientId']").attr('disabled', true); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html index b56f6e5..b4094b0 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctor.html @@ -483,7 +483,8 @@ } }, { field: 'enabled', width: 100, align: 'center', templet: '#doctor-tpl-state', title: '状态' }, - { field: 'createTime', width: 150, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, + // { field: 'createTime', width: 150, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { field: 'serverUserName', width: 100, title: '销售代表' }, { width: 200,align: 'center', toolbar: '#doctor-table-bar', title: '操作' }, ]], diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html index b3a284e..f984cc0 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/doctorTemplete.html @@ -133,7 +133,7 @@ } }, { field: 'createUserName', width: 300, sort: true, title: '创建者' }, - { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { field: 'enabled', width: 100, sort: true, templet: '#doctor-templete-tpl-state', title: '状态' }, { field: 'recordTitle', width: 300, toolbar: '#doctor-templete-table-bar', sort: true, title: '操作' }, ]], diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/feedback.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/feedback.html index 0c04123..5ae305f 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/feedback.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/feedback.html @@ -66,7 +66,8 @@ { field: 'hospitalName', width: 300, title: '医院' }, { field: 'departmentName', width: 180, title: '科室' }, { field: 'enabled', width: 150, templet: '#user-tpl-state', sort: true, title: '状态' }, - { field: 'createTime', width: 200, sort: true, title: '创建时间' }, + // { field: 'createTime', width: 200, sort: true, title: '创建时间' }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { align: 'center', width: 200, toolbar: '#feeedback-table-bar', title: '操作' } ]] }); 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 175e7ce..d4b1fa5 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 @@ -71,7 +71,8 @@ { field: 'recordCount', width: 180, title: '报告数' }, { field: 'ailightCount', width: 180, title: '读片量' }, { field: 'enabled', width: 150, templet: '#product-tpl-state', sort: true, title: '状态' }, - { field: 'createTime', width: 200, sort: true, title: '创建时间' }, + // { field: 'createTime', width: 200, sort: true, title: '创建时间' }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作' } ]] }); 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 ed14d56..54a0da8 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 @@ -69,9 +69,10 @@ { field: 'proEndtime', width: 120, title: '结束时间',templet:function(d){ return new Date(d.proEndtime).dateFormat("yyyy/MM/dd"); } }, - { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ - return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); - } }, + // { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ + // return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); + // } }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { align: 'center', width: 100, toolbar: '#product-table-bar', title: '操作' } ]] }); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html index 4ac5b2b..fa67243 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html @@ -122,7 +122,7 @@ { field: 'dictionariesKey', width: 180, sort: true, title: '字典Key' }, { field: 'dictionariesName', width: 264, sort: true, title: '字典值' }, { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-tpl-state', sort: true, title: '状态' },// 0就诊数据 1筛查 - { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy年MM月dd日 HH:mm:ss')}}</div>" }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-table-bar', sort: true, title: '操作' },// 0就诊数据 1筛查 ]] }); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html index edee941..241d508 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/verifyRecharge.html @@ -66,9 +66,10 @@ { field: 'proEndtime', width: 120, title: '结束时间',templet:function(d){ return new Date(d.proEndtime).dateFormat("yyyy/MM/dd"); } }, - { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ - return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); - } }, + // { field: 'createTime', width: 160, sort: true, title: '创建时间',templet:function(d){ + // return new Date(d.createTime).dateFormat("yyyy/MM/dd hh:mm:ss"); + // } }, + { field: 'createTime', width: 250, sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, { field: 'enabled', width: 100, templet: '#product-tpl-state', sort: true, title: '审核' } ]] }); -- Gitblit v1.8.0