|
@@ -463,6 +463,8 @@ const saveCompleteApprovalTask = async () => {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
window?.location?.reload() //刷新页面
|
|
window?.location?.reload() //刷新页面
|
|
}, 3000)
|
|
}, 3000)
|
|
|
|
+ } else if (code === 400) {
|
|
|
|
+ window?.$message?.error(msg)
|
|
} else {
|
|
} else {
|
|
window?.$message?.warning('审批异常')
|
|
window?.$message?.warning('审批异常')
|
|
}
|
|
}
|
|
@@ -481,8 +483,10 @@ const batchCompleteApprovalTask = async () => {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
window?.location?.reload() //刷新页面
|
|
window?.location?.reload() //刷新页面
|
|
}, 3000)
|
|
}, 3000)
|
|
|
|
+ } else if (code === 400) {
|
|
|
|
+ window?.$message?.error(msg)
|
|
} else {
|
|
} else {
|
|
- window?.$message?.warning('审批出错')
|
|
|
|
|
|
+ window?.$message?.warning('审批出错')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|