首页通过资源申请跳转 默认进入政务云资源tab
This commit is contained in:
parent
11a959022c
commit
cb60a8736d
|
@ -1784,6 +1784,7 @@
|
|||
Cardsname.value = name
|
||||
newQuery.select = Cardsname.value
|
||||
newQuery.type = ''
|
||||
newQuery.zwy = ''
|
||||
router
|
||||
.replace({
|
||||
query: newQuery,
|
||||
|
|
|
@ -1024,6 +1024,7 @@
|
|||
}
|
||||
// 消息列表页面
|
||||
let formPage = router.currentRoute.value.query.formPage || ''
|
||||
let zwy = router.currentRoute.value.query.zwy || ''
|
||||
// 设施类型--无人机和单兵设备
|
||||
let facilitiesType = router.currentRoute.value.query.facilitiesType || ''
|
||||
onMounted(() => {
|
||||
|
@ -1053,11 +1054,16 @@
|
|||
roomYuyue.value = false
|
||||
roomResult.value = true
|
||||
onSearch()
|
||||
} else {
|
||||
// 如果是通过自愿申请跳转 默认打开政务云资源
|
||||
if (zwy) {
|
||||
tabClick(0, '政务云资源')
|
||||
} else {
|
||||
tabClick(0, '城市云脑会客厅')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mybus.off('getListByParentId')
|
||||
mybus.on('getListByParentId', (parentId) => {
|
||||
|
|
|
@ -13,14 +13,7 @@
|
|||
<p></p>
|
||||
<p>能力上架</p>
|
||||
<!-- <a-button type="primary" >Open Modal</a-button> -->
|
||||
<a-modal
|
||||
v-model:visible="visible"
|
||||
|
||||
class="shangjia-class"
|
||||
|
||||
>
|
||||
|
||||
|
||||
<a-modal v-model:visible="visible" class="shangjia-class">
|
||||
<div class="ant-modal-title" id="vcDialogTitle1">
|
||||
<!-- <div class="showBg"></div> -->
|
||||
能力上架申请
|
||||
|
@ -54,9 +47,7 @@
|
|||
:key="item"
|
||||
@click="componentTypeValueFunction(item)"
|
||||
:class="
|
||||
componentTypeValue == item
|
||||
? 'ability-to-type-down'
|
||||
: ''
|
||||
componentTypeValue == item ? 'ability-to-type-down' : ''
|
||||
"
|
||||
>
|
||||
{{ item }}
|
||||
|
@ -67,10 +58,8 @@
|
|||
<a-button class="shenqing" @click="handleOk">申请</a-button>
|
||||
<a-button class="quxiao" @click="handlecancel">取消</a-button>
|
||||
</template>
|
||||
|
||||
</a-modal>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -197,7 +186,10 @@ function jumpPage() {
|
|||
// store.commit('WorkDynList', {
|
||||
// selectCardsnum: '组件服务',
|
||||
// })
|
||||
console.log('选中===================>', store.getters['home/selectCardsnum'])
|
||||
console.log(
|
||||
'选中===================>',
|
||||
store.getters['home/selectCardsnum']
|
||||
)
|
||||
// router.push({ path: '/DetailsPageconetent' })
|
||||
router.push({
|
||||
path: '/WorkDynList',
|
||||
|
@ -243,6 +235,7 @@ const applyResource = () => {
|
|||
path: '/DetailsPageconetent',
|
||||
query: {
|
||||
select: '基础设施',
|
||||
zwy: true,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
@ -277,7 +270,6 @@ const applyResource = () => {
|
|||
color: #0058e1;
|
||||
border-radius: 2px;
|
||||
border: 1px #0058e1 solid;
|
||||
|
||||
}
|
||||
}
|
||||
.ant-modal-body {
|
||||
|
|
Loading…
Reference in New Issue