spring
2025-02-24 c43faa47954d820d3b92eb1db113197e4bea67a4
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'
    },