From 226ad601bb8326814c3e94efd6f476014f6a9e66 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 27 六月 2024 23:06:47 +0800
Subject: [PATCH] 产品工艺路线工序配置更新

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

diff --git a/src/views/tigerprojects/system/lowcode/composition/index.vue b/src/views/tigerprojects/system/lowcode/composition/index.vue
index 3aa6a5a..85d8972 100644
--- a/src/views/tigerprojects/system/lowcode/composition/index.vue
+++ b/src/views/tigerprojects/system/lowcode/composition/index.vue
@@ -1,3 +1,11 @@
+<!--
+ * @Description: 閫氱敤缁勫悎椤甸潰锛屽乏杈规槸鏍戯紝鍙宠竟鏄厤缃�
+ * @Author: Ben Lin
+ * @version: 
+ * @Date: 2024-06-18 23:30:30
+ * @LastEditors: Ben Lin
+ * @LastEditTime: 2024-06-27 22:31:13
+-->
 <template>
   <PageWrapper
     :dense="dense"
@@ -14,7 +22,7 @@
     <Suspense>
       <div class="w-3/4 xl:w-4/5 p-5">
         <CarGridNav v-if="showNav" />
-        <Config v-if="showConfig" />
+        <Config v-if="showConfig" :configType="configType" @success="configSuccess"/>
       </div>
     </Suspense>
     <!-- <BasicTable class="w-3/4 xl:w-4/5" @register="registerTable">
@@ -71,9 +79,11 @@
   import { useTabs } from '/@/hooks/web/useTabs';
   import { isNullOrUnDef } from '/@/utils/is';
   import { useGo } from '/@/hooks/web/usePage';
+  import { useMessage } from '/@/hooks/web/useMessage';
 
   defineOptions({ name: 'DeptManagement' });
 
+  const { notification, createErrorModal } = useMessage();
   const go = useGo();
   const route = useRoute();
   const { setTitle } = useTabs();
@@ -92,6 +102,7 @@
   const isMounted = ref(false);
   const showNav = ref(false);
   const showConfig = ref(false);
+  const configType = ref('');
   const custImport = ref<any>(null);
   const [registerCust, { openModal: openCustomModal, closeModal }] = useModal();
   provide<Ref<string>>('nodeType', nodeType);
@@ -132,6 +143,15 @@
   function NodeSelect(e) {
     showConfig.value = e.showConfig;
     showNav.value = e.showNav;
+    configType.value = e.type
+  }
+
+  /**
+   * @description: 淇濆瓨閰嶇疆鎴愬姛杩斿洖鏂规硶
+   * @return {*}
+   */  
+  function configSuccess() {
+    notification.success({ message: '鎴愬姛淇濆瓨琛屼负閰嶇疆鏁版嵁' });
   }
 
   /**

--
Gitblit v1.9.3