BUG修改

This commit is contained in:
a0049873 2022-07-19 09:16:29 +08:00
parent 83f44d040d
commit 4827fc5784
1 changed files with 9 additions and 3 deletions

View File

@ -271,6 +271,7 @@
const flag = ref(false)
const list = ref(JSON.parse(localStorage.getItem('applyList')))
const applyAll = router.currentRoute.value.query.applyAll
const num = ref(0)
if (!applyAll) {
list.value.map((item) => {
item.arr.map((val) => {
@ -291,7 +292,6 @@
}
})
}
const num = ref(0)
console.log(
'list',
list.value
@ -447,12 +447,18 @@
})
})
submitApply(obj).then((res) => {
applySuccess.value = false
// applySuccess.value = false
console.log('摄像头申请================>', res)
if (item.id) {
sgcDel({ ids: [item.id] }).then((res) => {
if (res.data.msg === 'success') {
mybus.emit('getSgcNum')
router.push({
path: '/DetailsPageconetent',
query: {
select: '组件服务',
},
})
}
})
}
@ -517,7 +523,7 @@
// proxy.$http['post']('/act/running/startOfBusinessKey', data)
startOfBusinessKey(data)
.then(({ data: res }) => {
applySuccess.value = false
// applySuccess.value = false
if (res.code !== 0) {
if (callbacks.startProcessErrorCallback) {
callbacks.startProcessErrorCallback(res.data)