From ba2d8fdc04d32bd18552c124338520afad4db508 Mon Sep 17 00:00:00 2001
From: bingbing <zhaobingliang@aliyun.com>
Date: Wed, 18 Nov 2020 23:41:50 +0800
Subject: [PATCH] Merge branch 'dev'
---
kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/sysdictionaries.html | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
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..041559d 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);
@@ -194,7 +194,11 @@
// 搜索按钮点击事件
$('#app-btn-search').click(function () {
var key = $('#app-edit-search').val();
- table.reload('app-table', { where: { dictionariesName: key } });
+ table.reload('app-table', {
+ where: { dictionariesName: key },
+ page: {
+ curr: 1
+ } });
});
// 修改role状态
form.on('switch(dictionaries-tpl-state)', function (obj) {
--
Gitblit v1.8.0