This commit is contained in:
bb_pan 2025-12-02 17:52:29 +08:00
parent 6a1769afa8
commit cdefcd1ee4
1 changed files with 3 additions and 3 deletions

View File

@ -271,7 +271,7 @@ export default {
}) })
this.$message.success('审批通过成功') this.$message.success('审批通过成功')
setTimeout(() => { setTimeout(() => {
this.$router.back() this.$tab.closePage()
}, 1000) }, 1000)
} catch (error) { } catch (error) {
this.$message.error('审批失败: ' + error.message) this.$message.error('审批失败: ' + error.message)
@ -297,7 +297,7 @@ export default {
}) })
this.$message.success('审批驳回成功') this.$message.success('审批驳回成功')
setTimeout(() => { setTimeout(() => {
this.$router.back() this.$tab.closePage()
}, 1000) }, 1000)
} catch (error) { } catch (error) {
this.$message.error('审批失败: ' + error.message) this.$message.error('审批失败: ' + error.message)
@ -305,7 +305,7 @@ export default {
}).catch(() => {}) }).catch(() => {})
}, },
onHandleCancel() { onHandleCancel() {
this.$router.back() this.$tab.closePage()
}, },
getNodeRecord(node) { getNodeRecord(node) {
if (!this.approvalInstance.recordList) { if (!this.approvalInstance.recordList) {