From 90b486ba54098be293a256d9313d201a3bd5221f Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 18 十月 2023 21:31:02 +0800 Subject: [PATCH] 1、编码规则增加显示所有者列,高级查询中增加所有者; 2、用户管理界面添加停用启用按钮。 --- Source/UBCS-WEB/src/const/code/mdmrule.js | 38 +++++++++++++++++++++++++++++++++----- 1 files changed, 33 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js index 3fb66a1..7992a0a 100644 --- a/Source/UBCS-WEB/src/const/code/mdmrule.js +++ b/Source/UBCS-WEB/src/const/code/mdmrule.js @@ -1,6 +1,5 @@ export default { - height:"220px", - calcHeight: 30, + height:"270", tip: false, editBtn:false, searchShow: true, @@ -10,7 +9,9 @@ viewBtn: true, selection: true, dialogClickModal: false, + columnBtn: false, highlightCurrentRow: true, + rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌� column: [ { label: "缂栧彿", @@ -18,6 +19,7 @@ search: true, searchLabelWidth: 45, searchSpan: 4, + sortable: true, rules: [{ required: true, message: "璇疯緭鍏ョ紪鍙�", @@ -30,9 +32,22 @@ search: true, searchLabelWidth: 45, searchSpan: 4, + sortable: true, rules: [{ required: true, message: "璇疯緭鍏ュ悕绉�", + trigger: "blur" + }] + }, + { + label: "渚濇嵁", + prop: "accordingTo", + search: false, + span: 24, + type: "input", + rules: [{ + required: true, + message: "璇疯緭鍏ヤ緷鎹�", trigger: "blur" }] }, @@ -53,18 +68,31 @@ }, { label: "鐘舵��", - prop: "lcStatusText", + prop: "lcStatus", search: true, searchLabelWidth: 45, searchSpan: 5, + display: false, + hide: true, type: 'select', - //鐢变簬杩欎釜鎺ュ彛杩樺湪璋冭瘯鎵�浠ヨ绛夎皟濂戒簡鎵嶈兘璋冪敤 dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeSearchLCStatus", props: { label: "itemName", value: "itemValue" }, + }, + { + label: "鐘舵��", + prop: "lcStatusText", + // search: false, + // searchLabelWidth: 45, + // searchSpan: 5, + display: false, + }, + { + label: "鎵�鏈夎��", + prop: "ownerText", display: false, }, ] -} \ No newline at end of file +} -- Gitblit v1.9.3