Browse Source

Merge remote-tracking branch 'origin/main'

ZaiZai 1 month ago
parent
commit
b9f98e6abc
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/project/list/wbs-tree.vue

+ 8 - 1
src/views/project/list/wbs-tree.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-    <hc-drawer v-model="isShow" is-close to-id="hc-project-list">
+    <hc-drawer v-model="isShow" is-close to-id="hc-project-list" @close="dialogClose">
         <div class="hc-project-wbs-tree flex">
         <div class="hc-project-wbs-tree flex">
             <div class="header hc-flex">
             <div class="header hc-flex">
                 <div class="name flex-1">{{ typeLable }} - {{ projectInfo.projectName }}</div>
                 <div class="name flex-1">{{ typeLable }} - {{ projectInfo.projectName }}</div>
@@ -250,6 +250,13 @@ watch(isShow, (val) => {
         emit('close')
         emit('close')
     }
     }
 })
 })
+//关闭弹窗
+const dialogClose = () => {
+    infoTableData.value = []
+    nodeTableData.value = []
+    isShow.value = false
+    emit('close')
+}
 
 
 //获取项目信息
 //获取项目信息
 const typeLable = ref('')
 const typeLable = ref('')