From c7bb59c8630c508e9b5d072f3e1526db83336a2c Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期一, 10 七月 2023 10:46:07 +0800
Subject: [PATCH] 1、查询按钮是修改判断为删除的逻辑
---
Source/UBCS-WEB/src/const/code/mdmrule.js | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js
index 2a27f96..72b707a 100644
--- a/Source/UBCS-WEB/src/const/code/mdmrule.js
+++ b/Source/UBCS-WEB/src/const/code/mdmrule.js
@@ -10,7 +10,10 @@
viewBtn: true,
selection: true,
dialogClickModal: false,
+ columnBtn: false,
+ searchShowBtn: false,
highlightCurrentRow: true,
+ rowKey: "oid", //琛屾暟鎹殑 Key锛岀敤鏉ヤ紭鍖� Table 鐨勬覆鏌�
column: [
{
label: "缂栧彿",
@@ -18,6 +21,7 @@
search: true,
searchLabelWidth: 45,
searchSpan: 4,
+ sortable: true,
rules: [{
required: true,
message: "璇疯緭鍏ョ紪鍙�",
@@ -30,6 +34,7 @@
search: true,
searchLabelWidth: 45,
searchSpan: 4,
+ sortable: true,
rules: [{
required: true,
message: "璇疯緭鍏ュ悕绉�",
@@ -53,11 +58,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