From 26f2f1b596e14e20d53ac768728ab2f3772c98a4 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 14 八月 2023 16:45:45 +0800
Subject: [PATCH] 主题库点击保存后取消行编辑状态
---
Source/UBCS-WEB/src/const/code/codeKeyAttrRepeat.js | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/Source/UBCS-WEB/src/const/code/codeKeyAttrRepeat.js b/Source/UBCS-WEB/src/const/code/codeKeyAttrRepeat.js
index 8e3c94e..9a46633 100644
--- a/Source/UBCS-WEB/src/const/code/codeKeyAttrRepeat.js
+++ b/Source/UBCS-WEB/src/const/code/codeKeyAttrRepeat.js
@@ -1,6 +1,6 @@
export default {
height:'auto',
- calcHeight: 30,
+ calcHeight: 20,
tip: false,
searchShow: true,
searchMenuSpan: 6,
@@ -11,6 +11,7 @@
selection: true,
dialogClickModal: false,
highlightCurrentRow: true,
+ rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌�
column: [
{
label: "",
@@ -206,33 +207,40 @@
prop: "id",
type: "input",
search: true,
+ labelWidth : 110,
+
rules: [{
required: true,
message: "璇疯緭鍏ヨ鍒欑紪鍙�",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "瑙勫垯鍚嶇О",
prop: "name",
search: true,
type: "input",
+ labelWidth : 110,
rules: [{
required: true,
message: "璇疯緭鍏ヨ鍒欏悕绉�",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "鎻忚堪",
prop: "description",
type: "input",
search: true,
+ labelWidth : 110,
rules: [{
required: true,
message: "璇疯緭鍏ユ弿杩�",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "",
@@ -256,9 +264,10 @@
label: "蹇界暐澶у皬鍐�",
prop: "ignorecaseflag",
type: "select",
- dicUrl: "/api/ubcs-system/enum/dictionary?code=codeKeyFlag",
+ dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeKeyFlag",
dataType: "String",
search: true,
+ labelWidth : 110,
props: {
label: "itemName",
value: "itemValue"
@@ -268,14 +277,16 @@
message: "璇疯緭鍏ュ拷鐣ュぇ灏忓啓",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "蹇界暐绌烘牸",
prop: "ignorespaceflag",
type: "select",
- dicUrl: "/api/ubcs-system/enum/dictionary?code=codeKeyFlag",
+ dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeKeyFlag",
dataType: "String",
search: true,
+ labelWidth : 110,
props: {
label: "itemName",
value: "itemValue"
@@ -285,14 +296,16 @@
message: "璇疯緭鍏ュ拷鐣ョ┖鏍�",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "蹇界暐鍏ㄩ儴绌烘牸",
prop: "ignoreallspaceflag",
type: "select",
- dicUrl: "/api/ubcs-system/enum/dictionary?code=codeKeyFlag",
+ dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeKeyFlag",
dataType: "String",
search: true,
+ labelWidth : 110,
props: {
label: "itemName",
value: "itemValue"
@@ -302,14 +315,16 @@
message: "璇疯緭鍏ュ拷鐣ュ叏閮ㄧ┖鏍�",
trigger: "blur"
}],
+ labelWidth:120
},
{
label: "蹇界暐鍏ㄥ崐瑙�",
prop: "ignorewidthflag",
type: "select",
search: true,
- dicUrl: "/api/ubcs-system/enum/dictionary?code=codeKeyFlag",
+ dicUrl: "/api/ubcs-omd/enum/dictionary?code=codeKeyFlag",
dataType: "String",
+ labelWidth : 110,
props: {
label: "itemName",
value: "itemValue"
@@ -319,6 +334,7 @@
message: "璇疯緭鍏ュ拷鐣ュ叏鍗婅",
trigger: "blur"
}],
+ labelWidth:120
},
]
}
--
Gitblit v1.9.3