From 56aaf185c6c906f74549a7551b29b1b107d69819 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Tue, 18 Aug 2020 09:53:26 +0800 Subject: [PATCH] 修改样式 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html | 16 ++++---- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html | 16 ++++---- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html | 18 ++++---- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html | 20 +++++----- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/diagnosisRecord.html | 22 +++++----- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/product.html | 14 +++--- 6 files changed, 53 insertions(+), 53 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 c9f06ef..3661453 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 @@ -70,15 +70,15 @@ headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, page: true, cols: [[ - { field: 'diagnosticHospitalName', width: 300, title: '医院名称' }, - { field: 'diagnosticDepartName', width: 100, title: '科室名称' }, - { field: 'diagnosticDoctorName', width: 100, title: '医生姓名' }, - { field: 'childName', width: 100, title: '患者姓名' }, - { field: 'childSex', width: 80, title: '性别' }, - { field: 'childBirthday', width: 120, title: '出生日期',templet:function(d){ + { field: 'diagnosticHospitalName',width: "10%", title: '医院名称' }, + { field: 'diagnosticDepartName', width: "10%", title: '科室名称' }, + { field: 'diagnosticDoctorName', width: "10%", title: '医生姓名' }, + { field: 'childName', width: "10%", title: '患者姓名' }, + { field: 'childSex', width: "10%", title: '性别' }, + { field: 'childBirthday', width: "10%", title: '出生日期',templet:function(d){ return new Date(d.createTime).dateFormat("yyyy-MM-dd"); }}, - { field: 'childPhone', width: 150, title: '联系电话' }, + { field: 'childPhone', width: "10%", title: '联系电话' }, { field: 'isDelete', sort: true, align: 'center', width: 100, templet: function (d) { if (d.proType === 0) @@ -88,20 +88,20 @@ }, title: '状态' }, { - field: 'createTime', width: 170, sort: true, title: '创建时间', templet: function (d) { + field: 'createTime', width: "10%", sort: true, title: '创建时间', templet: function (d) { return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); } },{ - field: 'diagnosticDiagnoseTime', width: 120, sort: true, title: '诊断时间', templet: function (d) { + field: 'diagnosticDiagnoseTime',width: "10%", sort: true, title: '诊断时间', templet: function (d) { return new Date(d.diagnosticDiagnoseTime).dateFormat("yyyy-MM-dd"); } }, { - field: 'updateTime', width: 170, sort: true, title: '修改时间', templet: function (d) { + field: 'updateTime', width: "10%", sort: true, title: '修改时间', templet: function (d) { return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); } }, - { field: 'enabled', width: 100, templet: '#diagnostic-table-bar', title: '查看' } + { field: 'enabled', width: "10%", templet: '#diagnostic-table-bar', title: '查看' } ]], done:function(res){ permissionsInput(res,config); 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 78ddbea..be3b38c 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 @@ -45,7 +45,7 @@ headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, page: true, cols: [[ - { field: 'proName', width: '20%', title: '产品名称' }, + { field: 'proName',width: "10%",align: 'center', title: '产品名称' }, { field: 'proType', align: 'center', width: '10%', templet: function (d) { if (d.proType === 0) @@ -55,7 +55,7 @@ }, title: '类型' }, { - field: 'proTime', width: '10%', title: '有效时长', templet: function (d) { + field: 'proTime', width: '10%', align: 'center', title: '有效时长', templet: function (d) { switch (d.proTimeUnit) { case 0: return d.proTime + "天"; @@ -69,12 +69,12 @@ } } }, - { field: 'proPrice', width: '10%', title: '价格' }, - { field: 'recordCount', width: '10%', title: '报告数' }, - { field: 'ailightCount', width: '10%', title: '读片量' }, - { field: 'enabled', width: '10%', templet: '#product-tpl-state', sort: true, title: '状态' }, + { field: 'proPrice', width: '10%', align: 'center', title: '价格' }, + { field: 'recordCount', width: '10%', align: 'center', title: '报告数' }, + { field: 'ailightCount', width: '10%', align: 'center', title: '读片量' }, + { field: 'enabled', width: '10%', align: 'center', templet: '#product-tpl-state', sort: true, title: '状态' }, { - field: 'createTime', width: '10%', sort: true, title: '创建时间', templet: function (d) { + field: 'createTime', width: '10%', align: 'center', sort: true, title: '创建时间', templet: function (d) { return new Date(d.createTime).dateFormat("yyyy-MM-dd hh:mm"); } }, 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 79ecf3f..1697a1c 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 @@ -112,18 +112,18 @@ headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, page: true, cols: [[ - { type: 'numbers' }, + { type: 'numbers', width: "10%",align: 'center',}, { - field: 'dictionariesClassId', width: 180, title: '字典类型', templet: function (d) { + field: 'dictionariesClassId', width: "10%",align: 'center', title: '字典类型', templet: function (d) { return d.dictionariesClassId == undefined ? "分类" : "字典" } }, - { field: 'dictionariesClassName', width: 200, title: '字典分类' }, - { field: 'dictionariesKey', width: 180, title: '字典Key' }, - { field: 'dictionariesName', width: 264, title: '字典值' }, - { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-tpl-state', title: '状态' },// 0就诊数据 1筛查 - { field: 'createTime', width: 250, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, - { field: 'id', width: 250, align: 'center', toolbar: '#dictionaries-table-bar', title: '操作' },// 0就诊数据 1筛查 + { field: 'dictionariesClassName', width: "10%",align: 'center', title: '字典分类' }, + { field: 'dictionariesKey', width: "20%",align: 'center', title: '字典Key' }, + { field: 'dictionariesName', width: "10%",align: 'center', title: '字典值' }, + { field: 'id', width: "10%",align: 'center', toolbar: '#dictionaries-tpl-state', title: '状态' },// 0就诊数据 1筛查 + { field: 'createTime', width: "10%",align: 'center', title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy-MM-dd HH:mm')}}</div>" }, + { field: 'id', width: "10%",align: 'center', toolbar: '#dictionaries-table-bar', title: '操作' },// 0就诊数据 1筛查 ]], done:function(res){ permissionsInput(res,config); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html index 241a419..0ce76ef 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/menus.html @@ -65,15 +65,15 @@ where: param, page: false, cols: [[ - { type: 'numbers' }, - { field: 'name', minWidth: 200, title: '菜单名称' }, - { field: 'tenantId', minWidth: 80, title: '应用标识' }, - { field: 'url', title: '菜单url' }, - { field: 'path', title: '菜单path' }, - { field: 'css', align: 'center', title: '样式' }, - { field: 'sort', width: 80, align: 'center', title: '排序号' }, + { type: 'numbers' ,width: "10%" }, + { field: 'name',width: "10%", minWidth: 200, title: '菜单名称' }, + { field: 'tenantId',width: "10%", minWidth: 80, title: '应用标识' }, + { field: 'url',width: "10%", title: '菜单url' }, + { field: 'path',width: "10%", title: '菜单path' }, + { field: 'css',width: "10%", align: 'center', title: '样式' }, + { field: 'sort', width: "10%", align: 'center', title: '排序号' }, { - field: 'type', width: 80, align: 'center', templet: function (d) { + field: 'type', width: "10%", align: 'center', templet: function (d) { if (d.type === 2) { return '<span class="layui-badge layui-bg-gray">资源</span>'; } @@ -84,8 +84,8 @@ } }, title: '类型' }, - { field: 'enabled', width: 100, sort: true, templet: '#menu-tpl-state', title: '状态' }, - { templet: '#menus-state', width: 120, align: 'center', title: '操作' } + { field: 'enabled', width: "10%", sort: true, templet: '#menu-tpl-state', title: '状态' }, + { templet: '#menus-state', width: "10%", align: 'center', title: '操作' } ]], done: function (res) { permissionsInput(res,config); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html index 3a0ca70..0e688d6 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html @@ -60,14 +60,14 @@ where: param, page: false, cols: [[ - { field: 'areaName', minWidth: 200, title: '区域名称' }, - { field: 'areaCh', align: 'center', title: '拼音' }, - { field: 'areaShortname', minWidth: 80, title: '简称' }, - { field: 'areaCitycode', title: '区号' }, - { field: 'areaZipcode', title: '邮编' }, - { field: 'sort', width: 80, align: 'center', title: '排序号' }, + { field: 'areaName', width: "10%",align: 'center', title: '区域名称' }, + { field: 'areaCh',width: "10%",align: 'center', title: '拼音' }, + { field: 'areaShortname',width: "10%",align: 'center', title: '简称' }, + { field: 'areaCitycode',width: "10%",align: 'center', title: '区号' }, + { field: 'areaZipcode',width: "10%",align: 'center', title: '邮编' }, + { field: 'sort', width: "10%",align: 'center', title: '排序号' }, { - field: 'areaLeveltype', width: 80, align: 'center', templet: function (d) { + field: 'areaLeveltype', width: "10%",align: 'center', templet: function (d) { switch (d.areaLeveltype) { case 0: return '<span class="layui-badge layui-bg-red">国家</span>'; @@ -84,8 +84,8 @@ } }, title: '级别' }, - { field: 'enabled', width: 100, sort: true, templet: '#area-tpl-state', title: '状态' }, - { templet: '#area-table-bar', width: 120, align: 'center', title: '操作' } + { field: 'enabled', width: "10%",align: 'center', sort: true, templet: '#area-tpl-state', title: '状态' }, + { templet: '#area-table-bar', width: "10%",align: 'center', title: '操作' } ]], done: function (res) { layer.closeAll('loading'); diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html index fb0c6ad..7e6454d 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/user.html @@ -62,23 +62,23 @@ headers: { 'Authorization': 'Bearer ' + config.getToken().access_token}, page: true, cols: [[ - { field: 'username', width: 100, title: '账号' }, - { field: 'nickname', width: 200, title: '用户名' }, - { field: 'mobile', width: 150, title: '手机号' }, + { field: 'username', width: "10%",align: 'center', title: '账号' }, + { field: 'nickname', width: "10%",align: 'center', title: '用户名' }, + { field: 'mobile', width: "10%",align: 'center', title: '手机号' }, { - sort: true, title: '性别', templet: function (d) { + sort: true, width: "10%",align: 'center', title: '性别', templet: function (d) { var value=""; if(d.sex == 0){ value="男"; }else if(d.sex == 1){ value="女"; } - return value + return value; }, width: 100 }, - { 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: '#user-tpl-state', title: '状态' }, - { fixed: 'right', align: 'center', toolbar: '#user-table-bar', title: '操作', width: 300 } + { field: 'createTime', width: "20%",align: 'center', sort: true, title: '创建时间', templet: "<div>{{layui.util.toDateString(d.createTime, 'yyyy/MM/dd HH:mm')}}</div>" }, + { field: 'enabled', width: "10%",align: 'center', sort: true, templet: '#user-tpl-state', title: '状态' }, + { fixed: 'right', width: "10%",align: 'center', toolbar: '#user-table-bar', title: '操作', width: 300 } ]], done:function(res){ permissionsInput(res,config); -- Gitblit v1.8.0