From f112e2c62b6fca7b115dd37e34dc19dbcbc91d15 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 14:52:41 +0800
Subject: [PATCH] 样式优化

---
 src/views/CNAS/process/reportResults/index.vue |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/views/CNAS/process/reportResults/index.vue b/src/views/CNAS/process/reportResults/index.vue
index f87bb11..4b58fd3 100644
--- a/src/views/CNAS/process/reportResults/index.vue
+++ b/src/views/CNAS/process/reportResults/index.vue
@@ -11,8 +11,8 @@
         <el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button>
       </div>
       <div class="btn">
-        <el-button size="medium" type="primary" @click="handleDown" :loading="outLoading" v-if="outPower">瀵煎嚭</el-button>
-        <el-button size="medium" type="primary" @click="openAdd" v-if="addPower">鏂板</el-button>
+        <el-button size="small" type="primary" @click="handleDown" :loading="outLoading" v-if="outPower">瀵煎嚭</el-button>
+        <el-button size="small" type="primary" @click="openAdd" v-if="addPower">鏂板</el-button>
       </div>
     </div>
     <div class="table">
@@ -222,10 +222,7 @@
       this.outLoading = true
       exportProcessReport({ ids: this.mutilSelect.map(m => m.id) }).then(res => {
         this.outLoading = false
-        if (res.code === 201) return
-        this.$message.success('瀵煎嚭鎴愬姛')
-        const url = this.javaApi + '/word/' + res.data;
-        this.$download.saveAs(url, "鎶ュ憡缁撴灉");
+        this.$download.downloadFileFromUrl(res.data, "鎶ュ憡缁撴灉");
       })
     },
     openAdd() {

--
Gitblit v1.9.3