From a71535cf11e40a03585366f016266e3fbb1df15a Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 07 十二月 2023 15:34:58 +0800
Subject: [PATCH] 编码规则样式处理

---
 Source/UBCS-WEB/src/const/code/mdmrule.js |   48 ++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 42 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js
index 908be39..0b1d4c3 100644
--- a/Source/UBCS-WEB/src/const/code/mdmrule.js
+++ b/Source/UBCS-WEB/src/const/code/mdmrule.js
@@ -1,15 +1,17 @@
 export default {
-  height:'auto',
-  calcHeight: 30,
   tip: false,
-  editBtn:false,
   searchShow: true,
   searchMenuSpan: 6,
   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: "缂栧彿",
@@ -17,6 +19,7 @@
       search: true,
       searchLabelWidth: 45,
       searchSpan: 4,
+      sortable: true,
       rules: [{
         required: true,
         message: "璇疯緭鍏ョ紪鍙�",
@@ -29,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"
       }]
     },
@@ -52,11 +68,31 @@
     },
     {
       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,
+    },
+    {
+      label: "鎵�鏈夎��",
+      prop: "ownerText",
+      display: false,
     },
   ]
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3