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/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