From 426cad0dd0eef1aefb59c6aaa2e2a2448773dc0b Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期一, 24 七月 2023 17:29:24 +0800
Subject: [PATCH] 1、修改查询按钮时的条件,使用编码来查询。 2、增加申请编码时增加设置默认的租户编码。 3、对传入in('条件sql拼接报错问题进行了修改。 4、模板的启用前进行了对分类启用状态的一个判断工作。

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

diff --git a/Source/UBCS-WEB/src/const/code/mdmrule.js b/Source/UBCS-WEB/src/const/code/mdmrule.js
index 8793588..a2b46e6 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,9 +34,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"
       }]
     },
@@ -54,16 +71,24 @@
     {
       label: "鐘舵��",
       prop: "lcStatus",
-      value: "0",
       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,
     },
   ]

--
Gitblit v1.9.3