From 660454e318a57cc82811908389cd4056fbfce1f7 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 25 八月 2023 16:55:05 +0800 Subject: [PATCH] 修改样式,修改编码规则 --- Source/UBCS-WEB/src/const/code/mdmrule.js | 38 ++++++++++++++++++++++++++++++++++---- 1 files changed, 34 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js index 2a27f96..c8a5ce4 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,11 +68,26 @@ }, { 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, }, ] -} \ No newline at end of file +} -- Gitblit v1.9.3