| | |
| | | reCheckConfirm (key) { |
| | | const that = this |
| | | if (key == 1) { |
| | | getReviewById(this.reCheckData.id).then(res => { |
| | | this.reCheckDialog = false |
| | | this.page.currentPage = 1 |
| | | this.fetchTableData() |
| | | this.fetchTabCounts() |
| | | getReviewById(that.reCheckData.id).then(res => { |
| | | that.reCheckDialog = false |
| | | that.page.currentPage = 1 |
| | | that.fetchTableData() |
| | | that.fetchTabCounts() |
| | | }) |
| | | } else { |
| | | const loading = ElLoading.service({ |
| | |
| | | background: 'rgba(0, 0, 0, 0.7)', |
| | | }) |
| | | |
| | | function closeConfirm () { |
| | | that.reCheckDialog = false |
| | | loading.close() |
| | | } |
| | | |
| | | // 获取时间的接口 |
| | | getCreateEventJob(that.reCheckData.id).then(res => { |
| | | ElMessageBox.confirm(`预计复核执行时间为${res.data.data}`, '提示', { |
| | |
| | | showCancelButton: false, // 关键配置 |
| | | type: 'warning', |
| | | }).then(() => { |
| | | this.reCheckDialog = false |
| | | this.page.currentPage = 1 |
| | | this.fetchTableData() |
| | | this.fetchTabCounts() |
| | | closeConfirm() |
| | | }).catch(() => { |
| | | closeConfirm() |
| | | }) |
| | | }).catch(() => { |
| | | this.reCheckDialog = false |
| | | loading.close() |
| | | closeConfirm() |
| | | }) |
| | | } |
| | | }, |