From d55d1b304bfdd06f7af54a565543ab6e44c5a146 Mon Sep 17 00:00:00 2001
From: luliqiang <kidgrow>
Date: Sat, 22 Aug 2020 15:30:32 +0800
Subject: [PATCH] 修改RoutingKey(Kidgrow2033->kidgrow2033)
---
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/system/sysArea.html | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 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 bc1eb34..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
@@ -8,7 +8,7 @@
</div>
<div class="layui-card-body">
<div class="layui-form toolbar"> 
- <input id="area-search-value" class="layui-input search-input" type="text" placeholder="输入地区名称" /> 
+ <input id="area-search-value" class="layui-input search-input" type="text" placeholder="按地区名称" /> 
<button id="area-btn-search" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button>
<button id="area-btn-add" class="layui-btn icon-btn permissions" permissions="save-area"><i class="layui-icon"></i>添加</button>
<button id="area-btn-expand" class="layui-btn">全部展开</button>
@@ -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');
@@ -104,9 +104,9 @@
}, function (data) {
layer.closeAll('loading');
if (data.code == 0) {
- layer.msg(data.msg, { icon: 1, time: 500 });
+ layer.msg(data.msg, { icon: 1, time: 2000 });
} else {
- layer.msg(data.msg, { icon: 2, time: 500 });
+ layer.msg(data.msg, { icon: 2, time: 2000 });
$(obj.elem).prop('checked', !obj.elem.checked);
form.render('checkbox');
}
@@ -167,7 +167,7 @@
}
});
if (keyword !== '' && searchCount === 0) {
- layer.msg("没有匹配结果", { icon: 5, time: 500 });
+ layer.msg("没有匹配结果", { icon: 5, time: 2000 });
} else {
treetable.expandAll('#area-table');
}
--
Gitblit v1.8.0