From a84137b0b1660bf4033f6831c19dac09c02ccc30 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Tue, 23 Mar 2021 16:18:25 +0800 Subject: [PATCH] 自定义权限的树状图添加滚动条 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) 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'); -- Gitblit v1.8.0