| | |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | | export const updateAuditing = (row) => { |
| | | return request({ |
| | | url: '/api/blade-taskResidencePermitApply/taskResidencePermitApply/updateAuditing', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | | } |
| | |
| | | <script> |
| | | import { |
| | | getList, |
| | | updateAuditing |
| | | } from "@/api/task/residencePermitApply" |
| | | import NProgress from 'nprogress' |
| | | import 'nprogress/nprogress.css' |
| | |
| | | // 确认提交审核 |
| | | submitAudit(form) { |
| | | let auditForm = { |
| | | status: form.status == '1' ? '2' : '3', |
| | | remark: form.confirmNotion, |
| | | reportType: 5 |
| | | confirmFlag: form.status == '1' ? 2 : 3, |
| | | confirmNotion: form.confirmNotion, |
| | | } |
| | | |
| | | applyTaskExamine(Object.assign(this.auditParams, auditForm)).then(res => { |
| | | updateAuditing(Object.assign(this.auditParams, auditForm)).then(res => { |
| | | if (res.data.code == 200) { |
| | | this.$message.warning("审核成功") |
| | | this.onLoad(this.page) |
| | |
| | | // 审核按钮 |
| | | goAudit(row) { |
| | | this.auditParams = { |
| | | id: row.taskId, |
| | | reportType: 5 |
| | | id: row.id, |
| | | } |
| | | this.visible = true |
| | | }, |
| | |
| | | justify-content: center; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |