Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
wuhongjian 2022-11-24 16:11:37 +08:00
commit 32573971ae
1 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* @Author: Light * @Author: Light
* @Date: 2022-11-18 11:53:43 * @Date: 2022-11-18 11:53:43
* @LastEditors: Light * @LastEditors: Light
* @LastEditTime: 2022-11-24 15:43:35 * @LastEditTime: 2022-11-24 15:56:51
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
--> -->
<template> <template>
@ -194,10 +194,11 @@
willApplyCameraBatchDelete([id]).then((res) => { willApplyCameraBatchDelete([id]).then((res) => {
if (res.data.code == 0) { if (res.data.code == 0) {
message.success('移出成功') message.success('移出成功')
init()
} else { } else {
message.warning('移出失败') message.warning('移出失败')
}
init() init()
}
}) })
} }
} }
@ -255,10 +256,11 @@
delApplyCamera([item.id]).then((res) => { delApplyCamera([item.id]).then((res) => {
if (res.data.code == 0) { if (res.data.code == 0) {
message.success('撤销成功') message.success('撤销成功')
initApply()
} else { } else {
message.warning('撤销失败') message.warning('撤销失败')
}
initApply() initApply()
}
}) })
break break
} }
@ -286,10 +288,11 @@
endProcess({ instanceId: instanceId.value }).then((res) => { endProcess({ instanceId: instanceId.value }).then((res) => {
if (res.data.code == 0) { if (res.data.code == 0) {
message.success('撤销成功') message.success('撤销成功')
initApply()
} else { } else {
message.warning('撤销失败') message.warning('撤销失败')
}
initApply() initApply()
}
visible.value = false visible.value = false
}) })
} }