diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 3015273f..e5ef35d3 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -905,6 +905,7 @@ mapSearchParam.value.cameraName = props.searchValue } onMounted(() => { + // 获取用户信息 handleUser() if (jcssType.value) { @@ -913,8 +914,16 @@ getCamera() } } else { - tabClick(0, '政务云资源') - // getCamera() + if(isXiHaiAn) { + let _obj = { + title: '视频标签', + content: ['视频资源'] + } + clickList.value.push(_obj) + tabClick(0, '视频资源') + }else { + tabClick(0, '政务云资源') + } } mybus.off('getListByParentId') @@ -940,6 +949,7 @@ : ['政务云资源', '视频资源', '感知资源', '城市云脑会客厅'], }, ]) + let clickList = ref([]) //存储点击的tab if (!isXiHaiAn) { tabList.value.push({ title: '视频标签', @@ -1042,7 +1052,7 @@ console.log('获取到的列表数据') }) } - let clickList = ref([]) //存储点击的tab + init() //点击会议室左侧切换 const result = () => { @@ -1371,6 +1381,7 @@ name, clickList.value[indexFather] ) + selectedRowKeys.value = [] selectedList.value = [] if (clickList.value[indexFather].content.indexOf(name) != -1) { @@ -1586,8 +1597,6 @@ return message.error(res.data.msg) } let { list = [], total = 0 } = res.data.data - console.log('total------------>', total) - pagination.value.total = total if (name == '无人机') { list.map((wrj) => { @@ -1718,7 +1727,6 @@ } mapSearchParam.value.labelCodes = '' getCamera() - console.log('hhhhhhhh') } // 重置 const clean = () => { @@ -2013,7 +2021,6 @@ const handleUser = () => { getUser() .then((res) => { - console.log('res-----获取用户信息------->', res) if (res.data.code != 0) { return message.warning(res.data.msg) }