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/customerSatisfaction/index.vue | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue index 3a898cd..7b76b7c 100644 --- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue +++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue @@ -17,7 +17,7 @@ <div class="btn"> <el-button v-if="tabIndex === '0'" size="small" type="primary" @click="openFormDia('add')">鏂� 澧�</el-button> <el-upload v-if="tabIndex === '1'" ref='upload' :action="action" :before-upload="beforeUpload" - :headers="headers" :on-error="onError" :on-success="handleSuccessUp" :show-file-list="false" + :headers="uploadHeader" :on-error="onError" :on-success="handleSuccessUp" :show-file-list="false" accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar'> <el-button :loading="upLoading" size="small" type="primary">瀵煎叆</el-button> </el-upload> @@ -69,7 +69,6 @@ delClientSatisfaction, delAnalyseFile, } from '@/api/cnas/systemManagement/customerSatisfaction.js' -import { getToken } from "@/utils/auth"; export default { name: 'a8-customer-satisfaction', @@ -358,11 +357,6 @@ }, // 鐢ㄤ簬涓婁紶鏂囦欢鐨勪俊鎭� computed: { - headers() { - return { - 'Authorization': "Bearer " + getToken() - } - }, action() { return this.javaApi + '/clientSatisfaction/uploadAnalyseFile' } -- Gitblit v1.9.3