直转加loading

This commit is contained in:
hongchao 2025-09-28 21:33:09 +08:00
parent eb29f39b54
commit 447382eefe
1 changed files with 3 additions and 1 deletions

View File

@ -364,11 +364,12 @@ export default {
} }
this.auditingParams.taskTypeId = 16 this.auditingParams.taskTypeId = 16
const loading = this.$loading()
const res = await submitAuditingDirectApi(this.auditingParams) const res = await submitAuditingDirectApi(this.auditingParams)
if (res.code === 200) { if (res.code === 200) {
this.$modal.msgSuccess('审核成功') this.$modal.msgSuccess('审核成功')
loading.close()
setTimeout(() => { setTimeout(() => {
// const obj = { path: '/business-examine/receive-apply' } // const obj = { path: '/business-examine/receive-apply' }
// this.$tab.closeOpenPage(obj) // this.$tab.closeOpenPage(obj)
@ -376,6 +377,7 @@ export default {
}, 500) }, 500)
} else { } else {
this.$modal.msgError(res.message); this.$modal.msgError(res.message);
loading.close()
} }
// const params = { // const params = {
// flowId: this.flowId, // flowId: this.flowId,