From 68d75a540ec8b3168c3af956ea00b898036d92cd Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 04 七月 2024 00:17:17 +0800
Subject: [PATCH] 包装规则更新

---
 src/views/tigerprojects/system/lowcode/entityts/BAS_REASON_GRP.ts |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/BAS_REASON_GRP.ts b/src/views/tigerprojects/system/lowcode/entityts/BAS_REASON_GRP.ts
index ca3d931..a78d860 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/BAS_REASON_GRP.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/BAS_REASON_GRP.ts
@@ -4,7 +4,7 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-07-01 20:15:46
+ * @LastEditTime: 2024-07-03 11:42:48
  */
 
 import { ActionItem, BasicColumn } from '/@/components/Table';
@@ -43,7 +43,7 @@
           Title: '鏂板涓嶈壇鍘熷洜缁�',
           pCode: 'RSNG_CODE',
           IsID: false,
-          drawers: [{ name: 'BAS_REASON', code: 'RSNG_CODE' }], //drawers鏄彸杈瑰脊鍑哄鏀逛晶妗嗙殑鍚嶅瓧鍒楄〃
+          drawers: [{ name: 'BAS_REASON', code: 'RSNG_CODE', type: 'one' }], //drawers鏄彸杈瑰脊鍑哄鏀逛晶妗嗙殑鍚嶅瓧鍒楄〃
         },
       };
     },
@@ -111,12 +111,16 @@
       CODE: params['record']['RSNG_CODE'],
       ID: params['record']['ID'],
       Name: 'BAS_REASON',
+      SessionName: 'BAS_REASON_update',
       Title: `缂栬緫涓嶈壇鍘熷洜缁勶細${params['record']['RSNG_CODE']}`,
       pCode: 'RSNG_CODE',
       IsID: false,
-      drawers: [{ name: 'BAS_REASON', code: 'RSNG_CODE' }], //drawers鏄彸杈瑰脊鍑哄鏀逛晶妗嗙殑鍚嶅瓧鍒楄〃
+      drawers: [{ name: 'BAS_REASON', code: 'RSNG_CODE', type: 'one' }], //drawers鏄彸杈瑰脊鍑哄鏀逛晶妗嗙殑鍚嶅瓧鍒楄〃
     };
-    args[5](`/BAS_REASON/High/${encodeURI(JSON.stringify(param))}`);
+    // 灏嗗璞¤浆鎹负JSON瀛楃涓插苟淇濆瓨鍒皊essionStorage
+    sessionStorage.removeItem(`${param.SessionName}_params`);
+    sessionStorage.setItem(`${param.SessionName}_params`, encodeURI(JSON.stringify(param)));
+    args[5](`/BAS_REASON/High/${encodeURI(JSON.stringify({ sName: param.SessionName, Name: param.Name }))}`);
   }
 
   return [methods, ActionColumn];

--
Gitblit v1.9.3