From c43faa47954d820d3b92eb1db113197e4bea67a4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 二月 2025 11:42:00 +0800
Subject: [PATCH] 纠正措施搬迁

---
 src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
index afb2003..23651f0 100644
--- a/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
+++ b/src/views/CNAS/systemManagement/documentRecords/outDocumenRecordt.vue
@@ -5,9 +5,9 @@
       <el-tab-pane label="濉啓" name="濉啓" style="height: 100%;">
         <div style="display: flex;align-items: center;justify-content: flex-end;margin-right: 20px;">
           <el-button size="small" type="primary" @click="openAdd('鏂板')" style="margin-left: 20px;">鏂板</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' :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'
+            :on-success="handleSuccessUp" style="display:inline-block;margin-left: 20px;">
             <el-button size="small" type="primary" :loading="upLoading">瀵煎叆</el-button></el-upload>
         </div>
         <div class="table" style="height: calc(100% - 200px)">
@@ -96,7 +96,6 @@
 import limsTable from "@/components/Table/lims-table.vue";
 import filePreview from '@/components/Preview/filePreview.vue'
 import ValueTable from '@/components/Table/value-table.vue'
-import { getToken } from "@/utils/auth";
 import {
   addManageRecordVerify,
   pageManageRecordVerify,
@@ -244,11 +243,6 @@
   },
   // 鐢ㄤ簬涓婁紶鏂囦欢鐨勪俊鎭�
   computed: {
-    headers() {
-      return {
-        'Authorization': "Bearer " + getToken()
-      }
-    },
     action() {
       return this.javaApi + '/manageRecordVerify/exportManageRecordVerify'
     }

--
Gitblit v1.9.3