From 840de9662167b1d7758208b9c88adda806ed8fec Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 03 三月 2025 16:47:25 +0800
Subject: [PATCH] 删除导出成功提示,统一提示了

---
 src/views/CNAS/process/method/methodVerification/index.vue |   28 +++++++++++-----------------
 1 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/src/views/CNAS/process/method/methodVerification/index.vue b/src/views/CNAS/process/method/methodVerification/index.vue
index f6314b7..48b43b0 100644
--- a/src/views/CNAS/process/method/methodVerification/index.vue
+++ b/src/views/CNAS/process/method/methodVerification/index.vue
@@ -20,13 +20,8 @@
       <div>
         <TableCard :showForm="false" :showTitle="false">
           <template v-slot:table>
-            <limsTable
-              :column="tableColumn"
-              :height="'calc(100vh - 23em)'"
-              :table-data="tableData"
-              :table-loading="tableLoading"
-              style="padding: 0 15px;margin-bottom: 16px"
-              :page="page"
+            <limsTable :column="tableColumn" :height="'calc(100vh - 23em)'" :table-data="tableData"
+              :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" :page="page"
               @pagination="pagination">
             </limsTable>
           </template>
@@ -129,9 +124,9 @@
       }
       const page = this.page
       this.tableLoading = true
-      pagesMethodVerify({...page,...entity}).then(res => {
+      pagesMethodVerify({ ...page, ...entity }).then(res => {
         this.tableLoading = false
-        if (res.code === 200){
+        if (res.code === 200) {
           this.tableData = res.data.records
           this.page.total = res.data.total
         }
@@ -141,16 +136,16 @@
       })
     },
     // 鍒犻櫎
-    deleteRow (row) {
+    deleteRow(row) {
       this.$confirm('姝ゆ搷浣滃皢姘镐箙鍒犻櫎璇ユ暟鎹�, 鏄惁缁х画?', '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
         this.tableLoading = true
-        delMethodVerify({methodVerifyId: row.methodVerifyId}).then(res => {
+        delMethodVerify({ methodVerifyId: row.methodVerifyId }).then(res => {
           this.tableLoading = false
-          if (res.code === 200){
+          if (res.code === 200) {
             this.$message.success('鍒犻櫎鎴愬姛')
             this.searchList()
           }
@@ -165,7 +160,7 @@
       this.searchForm.methodName = '';
       this.searchList()
     },
-    openFormDia (type, row) {
+    openFormDia(type, row) {
       this.formDIa = true
       this.operationType = type
       this.$nextTick(() => {
@@ -174,15 +169,14 @@
     },
     // 瀵煎嚭
     downLoadPost(row) {
-      exportMethodVerify({methodVerifyId:row.methodVerifyId}).then(res => {
+      exportMethodVerify({ methodVerifyId: row.methodVerifyId }).then(res => {
         this.outLoading = false
-        const blob = new Blob([res],{ type: 'application/msword' });
+        const blob = new Blob([res], { type: 'application/msword' });
         this.$download.saveAs(blob, '鏍囧噯锛堟柟娉曪級纭璁板綍.docx')
-        this.$message.success('瀵煎嚭鎴愬姛')
       })
     },
     // 鍏抽棴寮规
-    closeDia () {
+    closeDia() {
       this.formDIa = false
       this.searchList()
     },

--
Gitblit v1.9.3