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/systemManagement/documentRecords/regularReviewsRecord.vue |   18 +++---------------
 1 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
index f0ec6cd..53f1e11 100644
--- a/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/regularReviewsRecord.vue
@@ -22,18 +22,15 @@
           </div>
           <div class="btns">
             <el-button size="small" type="primary" @click="openAdd" v-if="addPower">鏂板</el-button>
-            <el-upload :action="action" :multiple="false" :show-file-list="false" accept='.doc,.docx' :headers="headers"
-              :on-change="beforeUpload" :on-error="onError" ref='upload' v-if="upPower" :on-success="handleSuccessUp"
-              style="display:inline-block;margin-left: 20px;">
+            <el-upload :action="action" :multiple="false" :show-file-list="false" accept='.doc,.docx'
+              :headers="uploadHeader" :on-change="beforeUpload" :on-error="onError" ref='upload' v-if="upPower"
+              :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;">
               <el-button type="primary" size="small">瀵煎叆</el-button></el-upload>
           </div>
         </div>
         <div class="table">
           <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"
             :height="'calc(100vh - 290px)'" @pagination="pagination"></lims-table>
-          <!-- <ValueTable ref="ValueTable" :url="$api.manageRecordIntervals.pageManageRecordIntervals"
-            :delUrl="$api.manageRecordIntervals.delManageRecordIntervals" :componentData="componentData"
-            :upUrl="$api.manageRecordIssueRecycle.doManageRecordIssueRecycle" :key="upIndex" /> -->
         </div>
       </el-tab-pane>
       <el-tab-pane label="鍘嗗彶璁板綍" name="鍘嗗彶璁板綍" style="height: 100%;">
@@ -54,8 +51,6 @@
         <div class="table">
           <lims-table :tableData="tableData0" :column="column0" :page="page0" :tableLoading="tableLoading"
             :height="'calc(100vh - 290px)'" @pagination="pagination0"></lims-table>
-          <!-- <ValueTable ref="ValueTable0" :url="$api.manageRecordIntervals.pageManageRecordIntervalsTotal"
-            :componentData="componentData0" :key="upIndex" /> -->
         </div>
       </el-tab-pane>
     </el-tabs>
@@ -134,7 +129,6 @@
 <script>
 import limsTable from "@/components/Table/lims-table.vue";
 import filePreview from '@/components/Preview/filePreview.vue'
-import { getToken } from "@/utils/auth";
 import {
   exportOutManageRecordIntervals,
   addManageRecordIntervals,
@@ -386,11 +380,6 @@
   },
   // 鐢ㄤ簬涓婁紶鏂囦欢鐨勪俊鎭�
   computed: {
-    headers() {
-      return {
-        'Authorization': "Bearer " + getToken()
-      }
-    },
     action() {
       return this.javaApi + '/manageRecordIntervals/exportInManageRecordIntervals'
     }
@@ -461,7 +450,6 @@
       exportOutManageRecordIntervals(this.queryParams).then(res => {
         this.outLoading = false
         if (res.code == 201) return this.$message.error('瀵煎嚭澶辫触')
-        this.$message.success('瀵煎嚭鎴愬姛')
         let url = this.javaApi + 'word/' + res.message
         this.$download.saveAs(url, "鏂囦欢瀹氭湡瀹℃煡璁板綍");
       })

--
Gitblit v1.9.3