From 5f20f4bba739f0f81101a2c1d99f494647125e05 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 三月 2024 17:19:18 +0800
Subject: [PATCH] 2024.3.21

---
 src/views/fysp/evaluation/EvalutationRecord.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/fysp/evaluation/ResultManage.vue b/src/views/fysp/evaluation/EvalutationRecord.vue
similarity index 94%
rename from src/views/fysp/evaluation/ResultManage.vue
rename to src/views/fysp/evaluation/EvalutationRecord.vue
index 0ba2bf5..b3dc2c3 100644
--- a/src/views/fysp/evaluation/ResultManage.vue
+++ b/src/views/fysp/evaluation/EvalutationRecord.vue
@@ -124,7 +124,7 @@
       this.$refs.tableRef.onSearch();
     },
     onSearch(page, func) {
-      const area = this._getParam()
+      const area = this._getParam();
       evaluateApi.fetchAutoEvaluation(area).then((res) => {
         if (typeof func === 'function') {
           func({ data: res.data });
@@ -135,10 +135,13 @@
       });
     },
     download() {
-      const area = this._getParam()
-      evaluateApi.downloadAutoEvaluation(area).then(res=>{
-        this.$parent
-      })
+      const area = this._getParam();
+      evaluateApi.downloadAutoEvaluation(area).then((res) => {
+        if (res == false) {
+          // 鏈笅杞芥枃妗o紝鑰屾槸寮�鍚簡鏂囨。鐢熸垚鍚庡彴浠诲姟
+          this.$parent;
+        }
+      });
     },
     getFilters(data) {
       const townList = [];

--
Gitblit v1.9.3