From f87e88e438059ee572237b3f18d328f91a102f26 Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期五, 20 三月 2026 18:05:52 +0800
Subject: [PATCH] fix: 修复销售退款列表接口调用错误并隐藏项目管理中的反审核按钮

---
 src/views/personnelManagement/classsSheduling/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/personnelManagement/classsSheduling/index.vue b/src/views/personnelManagement/classsSheduling/index.vue
index 6891a57..5c0169b 100644
--- a/src/views/personnelManagement/classsSheduling/index.vue
+++ b/src/views/personnelManagement/classsSheduling/index.vue
@@ -674,10 +674,12 @@
     })
       .then(res => {
         proxy.$modal.msgSuccess("涓嬭浇鎴愬姛");
-        downLoading.value = false;
-        const blob = new Blob([res], {
-          type: "application/force-download",
-        });
+        const blob =
+          res instanceof Blob
+            ? res
+            : new Blob([res], {
+                type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+              });
         let fileName = "";
         if (query.month) {
           fileName = year + "-" + query.month + " 鐝淇℃伅";
@@ -687,6 +689,8 @@
         proxy.$download.saveAs(blob, fileName + ".xlsx");
       })
       .catch(err => {
+      })
+      .finally(() => {
         downLoading.value = false;
       });
   };

--
Gitblit v1.9.3