From 5a4d79d9765dfca8812638b57d5f5fe21f7a06ee Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 16 七月 2024 17:05:25 +0800
Subject: [PATCH] 工单下发更新

---
 src/views/tigerprojects/system/lowcode/composition/index.vue |   57 ++++++++++++++++++++++++++++++---------------------------
 1 files changed, 30 insertions(+), 27 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/composition/index.vue b/src/views/tigerprojects/system/lowcode/composition/index.vue
index 78cb0db..2068333 100644
--- a/src/views/tigerprojects/system/lowcode/composition/index.vue
+++ b/src/views/tigerprojects/system/lowcode/composition/index.vue
@@ -4,7 +4,7 @@
  * @version: 
  * @Date: 2024-06-18 23:30:30
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-07-03 19:21:09
+ * @LastEditTime: 2024-07-15 22:22:58
 -->
 <template>
   <PageWrapper
@@ -43,32 +43,35 @@
       </template>
     </BasicTable> -->
     <!-- <normalDrawer @register="registerDrawer" @success="handleSuccess" /> -->
-    <CustModal
-      @register="registerCust"
-      @success="custSuccess"
-      :type="cType"
-      :detailSlots="dtlSlots"
-    >
-      <!-- 鐢ㄦ彃妲借嚜瀹氫箟澶氳〃鍗� -->
-      <template #[item.name] v-for="item in dtlSlots" :key="item.name">
-        <BasicForm @register="useFormData[item.name][0]" v-if="useFormData[item.name]">
-          <!-- 鐢ㄦ彃妲借嚜瀹氫箟寮瑰嚭閫夋嫨妗� -->
-          <template #[name]="{ field }" v-for="name in item.slots" :key="name">
-            <a-button
-              class="mt-1 ml-1"
-              size="small"
-              @click="handleCustClick(field)"
-              :preIcon="item.preIcons[name]"
-            />
-            <GeneralModal
-              @register="useModalData[name][0]"
-              @success="(d, u) => handleEntSuccess(d, u, item.name)"
-            />
-          </template>
-        </BasicForm>
-        <!-- 鑷畾涔夊唴瀹� -->
-      </template>
-    </CustModal>
+    <Suspense>
+      <CustModal
+        @register="registerCust"
+        @success="custSuccess"
+        :type="cType"
+        :detailSlots="dtlSlots"
+        :entityName="entityName"
+      >
+        <!-- 鐢ㄦ彃妲借嚜瀹氫箟澶氳〃鍗� -->
+        <template #[item.name] v-for="item in dtlSlots" :key="item.name">
+          <BasicForm @register="useFormData[item.name][0]" v-if="useFormData[item.name]">
+            <!-- 鐢ㄦ彃妲借嚜瀹氫箟寮瑰嚭閫夋嫨妗� -->
+            <template #[name]="{ field }" v-for="name in item.slots" :key="name">
+              <a-button
+                class="mt-1 ml-1"
+                size="small"
+                @click="handleCustClick(field)"
+                :preIcon="item.preIcons[name]"
+              />
+              <GeneralModal
+                @register="useModalData[name][0]"
+                @success="(d, u) => handleEntSuccess(d, u, item.name)"
+              />
+            </template>
+          </BasicForm>
+          <!-- 鑷畾涔夊唴瀹� -->
+        </template>
+      </CustModal>
+    </Suspense>
   </PageWrapper>
 </template>
 <script lang="ts" setup>

--
Gitblit v1.9.3