From c24509087b1193c18ee4c87487b0fc4bf8ee0918 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期一, 22 七月 2024 18:40:26 +0800
Subject: [PATCH] 工单更新

---
 src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue b/src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue
index c057cba..2970147 100644
--- a/src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue
+++ b/src/views/tigerprojects/system/lowcode/composition/CarGridNav.vue
@@ -4,14 +4,16 @@
  * @version: 
  * @Date: 2024-06-20 12:13:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-06-30 13:04:00
+ * @LastEditTime: 2024-07-22 03:45:38
 -->
 <template>
   <Card :title="GetTitle(props.configType)['navTitle']">
     <CardGrid
       v-for="item in GetNavItems(props.configType)"
       :key="item.title"
-      @click="navChangeItem(item.action, useModalData[item.action][1].openModal)"
+      @click="
+        navChangeItem(item.action, useModalData[item.action][1].openModal, openRvModal, selectedNodes)
+      "
     >
       <span class="flex flex-col items-center">
         <Icon :icon="item.icon" :color="item.color" size="20" />
@@ -52,9 +54,11 @@
   import { useTabs } from '/@/hooks/web/useTabs';
   import { EntityCustFunctionType } from '/@/api/tigerapi/model/basModel';
   import { useModal } from '/@/components/Modal';
+import { CustModalParams } from '/@/api/tigerapi/model/systemModel';
 
   const ACard = Card;
   const objParams = inject('objParams') as Ref<any>;
+  const selectedNodes = inject('selectedNodes') as Ref<any>;
   const props = defineProps({
     configType: { type: String },
     nodes: { type: Array as PropType<any[]> },
@@ -62,14 +66,14 @@
   const custImport = ref<any[]>([]);
   const EntityCustFunction = ref([
     {
-      GetTitle(type: string) {},
+      GetTitle(type: string | undefined) {},
       GetNavItems(type: string) {},
       navChangeItem(action: any, ...args) {},
       GetUseModals() {},
       GetBaseCards(type: string | undefined) {},
       GetSelectSuccess(d, u, ...args) {},
       GenerateHtml(ype: string | null) {},
-      CustFunc(type: string | undefined, ...args) {},
+      CustFunc(param: CustModalParams) {},
     } as EntityCustFunctionType,
   ]);
   /* 鍔ㄦ�乮mport瀹炰綋鍚�.ts鐨勮嚜瀹氫箟鏂规硶 */
@@ -138,4 +142,6 @@
   async function handleSuccess(d, u, item, objParams, refreshPage) {
     GetSelectSuccess(d, u, item, objParams, refreshPage);
   }
+
+  function RvItemSuccess(d, u) {}
 </script>

--
Gitblit v1.9.3