From 717dc9fa42e09e8befe970496877e7178e59ca76 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 24 二月 2025 13:06:37 +0800
Subject: [PATCH] 检验任务复核
---
src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue b/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue
index 57ed36d..33adb1f 100644
--- a/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue
+++ b/src/views/CNAS/systemManagement/measuresDealRisks/components/listRiskAnalysisControlPlans.vue
@@ -6,8 +6,8 @@
<el-button type="primary" size="small" @click="addFun">鏂� 澧�</el-button>
<el-button type="primary" size="small" @click="approvalFun">瀹� 鎵�</el-button>
<el-button type="primary" size="small" @click="approveFun">鎵� 鍑�</el-button>
- <el-upload style="display: inline-block; padding: 0 6px" :action="action" :headers="headers" :on-error="onError"
- :show-file-list="false" :on-success="onSuccess">
+ <el-upload style="display: inline-block; padding: 0 6px" :action="action" :headers="uploadHeader"
+ :on-error="onError" :show-file-list="false" :on-success="onSuccess">
<el-button size="small" type="primary">瀵� 鍏�</el-button>
</el-upload>
<el-button size="small" @click="openDownloadDia">瀵煎嚭</el-button>
@@ -96,7 +96,6 @@
</template>
<script>
-import { getToken } from "@/utils/auth";
import {
getPageList,
riskAnalysisApprovalOfControlPlanChecklist,
@@ -121,11 +120,6 @@
}
},
computed: {
- headers() {
- return {
- 'Authorization': "Bearer " + getToken()
- }
- },
action() {
return this.javaApi + '/manageControlPlanList/importControlPlanList'
},
--
Gitblit v1.9.3