From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 07 三月 2025 13:34:31 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

---
 src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
index f323f0d..cc13d08 100644
--- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
@@ -169,8 +169,8 @@
             {
               name: "鎵瑰噯",
               type: "text",
-              clickFun: (handleApproval) => {
-                this.handleSubmit(row);
+              clickFun: (row) => {
+                this.handleApproval(row);
               },
               disabled: (row) => {
                 return !row.submitUserName || !!row.ratifyUserName
@@ -393,8 +393,7 @@
       }).catch(err => { });
     },
     handleDown0(row) {
-      let url = this.javaApi + '/word/' + row.url
-      this.$download.saveAs(url, '澶栨潵鏂囦欢纭璁板綍')
+      this.$download.downloadFileFromUrl(row.url, '澶栨潵鏂囦欢纭璁板綍')
     },
     // 鎻愪氦
     handleSubmit(row) {
@@ -410,7 +409,7 @@
             type: 'success',
             message: '鎻愪氦鎴愬姛!'
           });
-          this.refreshTable()()
+          this.refreshTable()
         }).catch(err => { });
       })
     },
@@ -432,12 +431,11 @@
       }).then(res => {
         this.checkLoading = false
         this.noCheckLoading = false
-        if (res.code === 201) return
         this.$message({
           type: 'success',
           message: '鎿嶄綔鎴愬姛!'
         });
-        this.refreshTable()()
+        this.refreshTable()
         this.lookDialogVisible = false
       }).catch(err => { });
     },
@@ -449,7 +447,6 @@
       })
         .then(() => {
           delManageRecordVerify({ id: row.id }).then((res) => {
-            if (res.code == 201) return;
             this.$message.success("鍒犻櫎鎴愬姛");
             this.getList0()
           });

--
Gitblit v1.9.3