diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue index bff1b8e1..586afda0 100644 --- a/front/src/views/home/apply.vue +++ b/front/src/views/home/apply.vue @@ -212,7 +212,7 @@ export default { const isCamera = ref(false) // 西海岸-是否是开发区公安分局,是的话,增加上传附件字段 let note1 = JSON.parse(list.value[0] && list.value[0].arr && list.value[0].arr[0].note1 || "[]"); - let iskfq = ref(note1.some(v=>v.managementUnitName == '开发区公安局' || v.managementUnitName == '开发区公安分局')) + let iskfq = ref(note1.some(v => v.managementUnitName == '开发区公安局' || v.managementUnitName == '开发区公安分局')) if ( list.value[0] && list.value[0].arr && @@ -466,7 +466,7 @@ export default { handleWrjApply(formName) return } - + submitApply(formName).then((res) => { message.success('申请提交成功,请到消息中心查看!') console.log('能力申请================>', res) @@ -749,7 +749,16 @@ export default { .then((res) => { if (res.data.msg === 'success') { message.success('申请提交成功,请到消息中心查看!') - jumpToDetailsPageconetent() + setTimeout(() => { + router.push({ + path: '/DetailsPageconetent', + query: { + select: DETAIL_PAGE_CONTENT_DEFAULT_TAB, + // 基础设施类型 + facilitiesType: list.value[0] && list.value[0].arr && list.value[0].arr[0] && list.value[0].arr[0].type + }, + }) + }, 1000) } else { message.error('申请失败!') }