基础设施初始化BUG修改

This commit is contained in:
a0049873 2022-09-26 11:32:14 +08:00
parent 186184c14f
commit 432ba890f6
2 changed files with 1681 additions and 1296 deletions

File diff suppressed because it is too large Load Diff

View File

@ -456,15 +456,30 @@
批量预览 批量预览
</a-button> </a-button>
<!-- 添加至申购车 --> <!-- 添加至申购车 -->
<a-button type="primary" @click="addShoppingCart" class="buttonAdd" v-if="!cloudResourcesFlag"> <a-button
type="primary"
@click="addShoppingCart"
class="buttonAdd"
v-if="!cloudResourcesFlag"
>
添加至申购车 添加至申购车
</a-button> </a-button>
<!-- 一键申请 --> <!-- 一键申请 -->
<a-button type="primary" @click="apply" class="buttonAdd" v-if="!cloudResourcesFlag"> <a-button
type="primary"
@click="apply"
class="buttonAdd"
v-if="!cloudResourcesFlag"
>
一键申请 一键申请
</a-button> </a-button>
<!-- 申请政务云资源 --> <!-- 申请政务云资源 -->
<a-button type="primary" @click="applyCloudResources" class="buttonAdd" v-if="cloudResourcesFlag"> <a-button
type="primary"
@click="applyCloudResources"
class="buttonAdd"
v-if="cloudResourcesFlag"
>
我要申请政务云资源 我要申请政务云资源
</a-button> </a-button>
</div> </div>
@ -899,7 +914,7 @@
} }
} else { } else {
tabClick(0, '政务云资源') tabClick(0, '政务云资源')
getCamera() // getCamera()
} }
mybus.off('getListByParentId') mybus.off('getListByParentId')
@ -1340,13 +1355,13 @@
selectedList.value = [] selectedList.value = []
if (clickList.value[indexFather].content.indexOf(name) != -1) { if (clickList.value[indexFather].content.indexOf(name) != -1) {
if (name == '视频资源') { if (name == '视频资源') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
room.value = true room.value = true
tableHeight.value = 330 tableHeight.value = 330
showMap.value = true showMap.value = true
tabList.value[1].title = '视频标签' tabList.value[1].title = '视频标签'
} else if (name == '政务云资源') { } else if (name == '政务云资源') {
cloudResourcesFlag.value = true; cloudResourcesFlag.value = true
room.value = true room.value = true
tableHeight.value = 600 tableHeight.value = 600
showMap.value = false showMap.value = false
@ -1355,7 +1370,7 @@
pagination.value.total = 0 pagination.value.total = 0
tabList.value[1].title = '政务云资源分类' tabList.value[1].title = '政务云资源分类'
} else if (name == '感知资源') { } else if (name == '感知资源') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
room.value = true room.value = true
tableHeight.value = 330 tableHeight.value = 330
showMap.value = true showMap.value = true
@ -1363,7 +1378,7 @@
dataSource2.value = [] dataSource2.value = []
pagination.value.total = 0 pagination.value.total = 0
} else if (name == '城市云脑会客厅') { } else if (name == '城市云脑会客厅') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
// room.value = false // room.value = false
// wrjFlag.value = true // wrjFlag.value = true
// showMap.value = false // showMap.value = false
@ -1380,7 +1395,7 @@
} else { } else {
if (name == '视频资源') { if (name == '视频资源') {
wrjFlag.value = false wrjFlag.value = false
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
tableHeight.value = 330 tableHeight.value = 330
showMap.value = true showMap.value = true
tabList.value[1].content = [] tabList.value[1].content = []
@ -1408,7 +1423,7 @@
emits('add', 1) emits('add', 1)
getCamera() getCamera()
} else if (name == '政务云资源') { } else if (name == '政务云资源') {
cloudResourcesFlag.value = true; cloudResourcesFlag.value = true
tableHeight.value = 600 tableHeight.value = 600
showMap.value = false showMap.value = false
dataSource.value = [] dataSource.value = []
@ -1431,7 +1446,7 @@
wrjFlag.value = false wrjFlag.value = false
emits('add', 2) emits('add', 2)
} else if (name == '感知资源') { } else if (name == '感知资源') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
tableHeight.value = 330 tableHeight.value = 330
showMap.value = true showMap.value = true
clickList.value[1].content = [] clickList.value[1].content = []
@ -1445,7 +1460,7 @@
wrjFlag.value = false wrjFlag.value = false
emits('add', 3) emits('add', 3)
} else if (name == '无人机') { } else if (name == '无人机') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
room.value = true room.value = true
tableHeight.value = 600 tableHeight.value = 600
showMap.value = false showMap.value = false
@ -1466,7 +1481,7 @@
}) })
wrjFlag.value = true wrjFlag.value = true
} else if (name == '单兵设备') { } else if (name == '单兵设备') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
room.value = true room.value = true
tableHeight.value = 600 tableHeight.value = 600
showMap.value = false showMap.value = false
@ -1487,7 +1502,7 @@
}) })
wrjFlag.value = true wrjFlag.value = true
} else if (name == '城市云脑会客厅') { } else if (name == '城市云脑会客厅') {
cloudResourcesFlag.value = false; cloudResourcesFlag.value = false
showMap.value = false showMap.value = false
dataSource.value = [] dataSource.value = []
dataSource2.value = [] dataSource2.value = []
@ -1770,7 +1785,7 @@
} }
// //
const applyCloudResources = () => { const applyCloudResources = () => {
window.open("http://15.72.183.88:8760/yzy/login") window.open('http://15.72.183.88:8760/yzy/login')
} }
// //
const dataSource = ref([]) const dataSource = ref([])