diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index f0d1aadf..e4ff9bc0 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -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)