From 4827fc578426d1064c9e7d7d8a846c10356396a2 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Tue, 19 Jul 2022 09:16:29 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/apply.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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)