Browse Source

文件共享中心报表汇总-弹窗关闭-提交

lxh 8 months ago
parent
commit
6d2e4ca55c
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/views/vent/performance/fileDetail/index.vue

+ 8 - 2
src/views/vent/performance/fileDetail/index.vue

@@ -97,7 +97,7 @@
       </a-form>
     </a-modal>
     <!-- 汇总报表弹窗 -->
-    <a-modal v-model:visible="visiblehHz" centered :width="600" title="报表汇总" :footer="null">
+    <a-modal v-model:visible="visiblehHz" centered :width="600" title="报表汇总" :footer="null" @cancel="handleCancelHz">
       <div
         style="height:240px;overflow-y: auto;display: flex;flex-direction: column;align-items: center; padding: 10px;box-sizing: border-box">
         <vue3-seamless-scroll hover-stop="true" :list="reportHzList" :hover="true" :step="0.06" class="seamless-warp1">
@@ -226,7 +226,13 @@ function reportSum() {
       visiblehHz.value = true
     }
   }, 3000)
-
+}
+//关闭汇总弹窗
+function handleCancelHz(){
+  reportHzList.value.length=0
+  visiblehHz.value = false
+  clearTimeout(timer);
+  alive.value = new Date().getTime();
 }
 //上传文件
 let openModal = (val) => {