From ca420bd9c09b51a404ade3e0106257725df727be Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 01 十一月 2023 11:32:28 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/const/code/codebutton.js | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Source/UBCS-WEB/src/const/code/codebutton.js b/Source/UBCS-WEB/src/const/code/codebutton.js index 6b43ddb..8ab2dc4 100644 --- a/Source/UBCS-WEB/src/const/code/codebutton.js +++ b/Source/UBCS-WEB/src/const/code/codebutton.js @@ -12,6 +12,7 @@ selection: true, dialogClickModal: false, highlightCurrentRow: true, //琛岄�変腑鏃堕珮浜� + rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌� column: [ { label: "", @@ -237,23 +238,23 @@ // }, { label: "鐘舵��", - prop: "lcstatusName", + prop: "lcStatusText", slot: true, display: false }, { label: "鐘舵��", type: "select", - dicUrl: "/api/ubcs-omd/dict/dictionary?code=codeLcstatus", + dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeLcstatus", props: { - label: "dictValue", - value: "dictKey" + label: "itemName", + value: "itemValue" }, dataType: "String", search: true, hide: true, display: true, - prop: "lcstatus", + prop: "lcStatus", rules: [{ required: true, message: "鐘舵��", @@ -271,13 +272,13 @@ }, { label: "鎸夐挳鐨勫浘鏍囨牱寮�", - prop: "iconcls", + prop: "iconCls", type: "input", search: true, }, { label: "鎵ц鐨刯s璺緞", - prop: "executejs", + prop: "executeJs", type: "input", search: true, }, @@ -289,7 +290,7 @@ // }, { label: "鎸夐挳鐨勪綅缃�", - prop: "usedpositiontypeName", + prop: "usedPositionTypeText", slot: true, display: false }, @@ -297,16 +298,16 @@ label: "鎸夐挳鐨勪綅缃�", type: "select", weight :'140px', - dicUrl: "/api/ubcs-omd/dict/dictionary?code=codeButtonPosition", + dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeButtonPosition", props: { - label: "dictValue", - value: "dictKey" + label: "itemName", + value: "itemValue" }, dataType: "String", search: true, hide: true, display: true, - prop: "usedpositiontype", + prop: "usedPositionType", rules: [{ required: true, message: "璇烽�夋嫨鎸夐挳鐨勪綅缃�", -- Gitblit v1.9.3