西海岸-基础设施:无人机、单兵申请成功后,页面应该返回无人机页面
This commit is contained in:
parent
0d402302f7
commit
fe85cd370f
|
@ -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('申请失败!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue