直转加loading
This commit is contained in:
parent
eb29f39b54
commit
447382eefe
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue