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/hazardIdentificationRiskAssessment.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/views/CNAS/systemManagement/measuresDealRisks/components/hazardIdentificationRiskAssessment.vue b/src/views/CNAS/systemManagement/measuresDealRisks/components/hazardIdentificationRiskAssessment.vue index f0c97d8..07629ec 100644 --- a/src/views/CNAS/systemManagement/measuresDealRisks/components/hazardIdentificationRiskAssessment.vue +++ b/src/views/CNAS/systemManagement/measuresDealRisks/components/hazardIdentificationRiskAssessment.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" :headers="headers" :action="action" :on-error="onError" - :show-file-list="false" :on-success="onSuccess"> + <el-upload style="display: inline-block; padding: 0 6px" :headers="uploadHeader" :action="action" + :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> @@ -149,11 +149,6 @@ } }, computed: { - headers() { - return { - 'Authorization': "Bearer " + getToken() - } - }, action() { return this.javaApi + '/manageRiskAssessmentResults/riskAssessmentImport' }, -- Gitblit v1.9.3