| | |
| | | <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> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getToken } from "@/utils/auth"; |
| | | import { |
| | | getPageList, |
| | | riskAnalysisApprovalOfControlPlanChecklist, |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | headers() { |
| | | return { |
| | | 'Authorization': "Bearer " + getToken() |
| | | } |
| | | }, |
| | | action() { |
| | | return this.javaApi + '/manageControlPlanList/importControlPlanList' |
| | | }, |