From 25f128f26f0330b5431e5513c16ea035ce46099a Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 21 七月 2024 21:00:41 +0800
Subject: [PATCH] 工单更新

---
 src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_PV.ts |   75 ++++++++++++++++++++-----------------
 1 files changed, 41 insertions(+), 34 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_PV.ts b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_PV.ts
index 458233e..2c18319 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_PV.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/BAS_LABEL_PV.ts
@@ -4,7 +4,7 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-06-22 23:40:02
+ * @LastEditTime: 2024-06-28 10:51:56
  */
 
 import { ActionItem, BasicColumn } from '/@/components/Table';
@@ -21,6 +21,10 @@
     fixed: undefined,
   };
 
+  /**
+   * @description: 涓�浜涜嚜瀹氫箟鏂规硶
+   * @return {*}
+   */
   const methods = {
     /**
      * @description: 鑾峰彇鏂板鎸夐挳鐨勮涓�
@@ -49,40 +53,43 @@
         VAR_VALUE: d.values['val'],
       };
     },
-    OpenSelectItem:(openItemModal: Fn) => {
-        openItemModal(true, {
-          title: '杩囩▼鍙橀噺鍒楄〃',
-          schemas: [
-            {
-              field: 'VAR_CODE',
-              component: 'Input',
-              label: '杩囩▼鍙橀噺缂栫爜',
-              colProps: {
-                span: 12,
-              },
+    OpenSelectItem: (openItemModal: Fn, ...args) => {
+      openItemModal(true, {
+        title: '杩囩▼鍙橀噺鍒楄〃',
+        schemas: [
+          {
+            field: 'VAR_CODE',
+            component: 'Input',
+            label: '杩囩▼鍙橀噺缂栫爜',
+            colProps: {
+              span: 12,
             },
-          ],
-          ItemColumns: [
-            {
-              title: t('杩囩▼鍙橀噺缂栫爜'),
-              dataIndex: 'VAR_CODE',
-              resizable: true,
-              sorter: true,
-              width: 200,
-            },
-            {
-              title: t('杩囩▼鍙橀噺鍚嶇О'),
-              dataIndex: 'VAR_NAME',
-              resizable: true,
-              sorter: true,
-              width: 180,
-            },
-          ],
-          tableName: 'BAS_LABEL_PV',
-          rowKey: 'VAR_CODE',
-          searchInfo: {TABLE_NAME: 'BAS_LABEL_PV'}
-        });
-      }
+          },
+        ],
+        ItemColumns: [
+          {
+            title: t('杩囩▼鍙橀噺缂栫爜'),
+            dataIndex: 'VAR_CODE',
+            resizable: true,
+            sorter: true,
+            width: 200,
+          },
+          {
+            title: t('杩囩▼鍙橀噺鍚嶇О'),
+            dataIndex: 'VAR_NAME',
+            resizable: true,
+            sorter: true,
+            width: 180,
+          },
+        ],
+        tableName: 'BAS_LABEL_PV',
+        rowKey: 'VAR_CODE',
+        searchInfo: { TABLE_NAME: 'BAS_LABEL_PV' },
+      });
+    },
+    GetUseForm: () => {
+      return {};
+    },
   };
 
   return [methods, ActionColumn];

--
Gitblit v1.9.3