From 6ca4dcf73b6fd1ac42c77c75c8ce422a75b75a19 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 07 三月 2024 09:59:54 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/const/code/mdmrule.js | 41 +++++++++++++++++++++++++++++++++++------ 1 files changed, 35 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js index 8793588..b104cdf 100644 --- a/Source/UBCS-WEB/src/const/code/mdmrule.js +++ b/Source/UBCS-WEB/src/const/code/mdmrule.js @@ -1,16 +1,18 @@ export default { - height:"220px", - calcHeight: 30, tip: false, - editBtn:false, searchShow: true, searchMenuSpan: 6, + height:283, border: true, index: true, - viewBtn: true, + viewBtn: false, + delBtn: false, + editBtn: false, selection: true, dialogClickModal: false, + columnBtn: false, highlightCurrentRow: true, + rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌� column: [ { label: "缂栧彿", @@ -18,6 +20,7 @@ search: true, searchLabelWidth: 45, searchSpan: 4, + sortable: true, rules: [{ required: true, message: "璇疯緭鍏ョ紪鍙�", @@ -30,9 +33,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" }] }, @@ -54,17 +70,30 @@ { label: "鐘舵��", prop: "lcStatus", - value: "0", 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