|
@@ -257,6 +257,7 @@ const confirmClick = async () => {
|
|
|
if (!error && code === 200) {
|
|
|
window.$message.success('审批成功')
|
|
|
emit('finish')
|
|
|
+ cancelClick()
|
|
|
} else {
|
|
|
window.$message.error(msg ?? '审批失败')
|
|
|
}
|
|
@@ -270,7 +271,8 @@ const rejectionClick = async () => {
|
|
|
|
|
|
//驳回完成
|
|
|
const taskRepealFinish = () => {
|
|
|
- getTableDetail()
|
|
|
+ emit('finish')
|
|
|
+ cancelClick()
|
|
|
}
|
|
|
|
|
|
//取消审批
|