基础设施初始化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 type="primary" @click="addShoppingCart" class="buttonAdd" v-if="!cloudResourcesFlag">
<a-button
type="primary"
@click="addShoppingCart"
class="buttonAdd"
v-if="!cloudResourcesFlag"
>
添加至申购车
</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 type="primary" @click="applyCloudResources" class="buttonAdd" v-if="cloudResourcesFlag">
<a-button
type="primary"
@click="applyCloudResources"
class="buttonAdd"
v-if="cloudResourcesFlag"
>
我要申请政务云资源
</a-button>
</div>
@ -899,7 +914,7 @@
}
} else {
tabClick(0, '政务云资源')
getCamera()
// getCamera()
}
mybus.off('getListByParentId')
@ -920,7 +935,7 @@
const tabList = ref([
{
title: '设施类型',
content: ['政务云资源','视频资源', '感知资源', '城市云脑会客厅'],
content: ['政务云资源', '视频资源', '感知资源', '城市云脑会客厅'],
},
{
title: '视频标签',
@ -1340,13 +1355,13 @@
selectedList.value = []
if (clickList.value[indexFather].content.indexOf(name) != -1) {
if (name == '视频资源') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
room.value = true
tableHeight.value = 330
showMap.value = true
tabList.value[1].title = '视频标签'
} else if (name == '政务云资源') {
cloudResourcesFlag.value = true;
cloudResourcesFlag.value = true
room.value = true
tableHeight.value = 600
showMap.value = false
@ -1355,7 +1370,7 @@
pagination.value.total = 0
tabList.value[1].title = '政务云资源分类'
} else if (name == '感知资源') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
room.value = true
tableHeight.value = 330
showMap.value = true
@ -1363,7 +1378,7 @@
dataSource2.value = []
pagination.value.total = 0
} else if (name == '城市云脑会客厅') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
// room.value = false
// wrjFlag.value = true
// showMap.value = false
@ -1380,7 +1395,7 @@
} else {
if (name == '视频资源') {
wrjFlag.value = false
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
tableHeight.value = 330
showMap.value = true
tabList.value[1].content = []
@ -1408,7 +1423,7 @@
emits('add', 1)
getCamera()
} else if (name == '政务云资源') {
cloudResourcesFlag.value = true;
cloudResourcesFlag.value = true
tableHeight.value = 600
showMap.value = false
dataSource.value = []
@ -1431,7 +1446,7 @@
wrjFlag.value = false
emits('add', 2)
} else if (name == '感知资源') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
tableHeight.value = 330
showMap.value = true
clickList.value[1].content = []
@ -1445,7 +1460,7 @@
wrjFlag.value = false
emits('add', 3)
} else if (name == '无人机') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
room.value = true
tableHeight.value = 600
showMap.value = false
@ -1466,7 +1481,7 @@
})
wrjFlag.value = true
} else if (name == '单兵设备') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
room.value = true
tableHeight.value = 600
showMap.value = false
@ -1487,7 +1502,7 @@
})
wrjFlag.value = true
} else if (name == '城市云脑会客厅') {
cloudResourcesFlag.value = false;
cloudResourcesFlag.value = false
showMap.value = false
dataSource.value = []
dataSource2.value = []
@ -1770,7 +1785,7 @@
}
//
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([])
@ -1877,7 +1892,7 @@
}
</script>
<style lang="less" scoped>
.infrastructrueBox {
.infrastructrueBox {
padding: 0.2rem;
// background: #f3f5f9;
background: #ffffff;
@ -2011,42 +2026,42 @@
margin-left: 0.16rem;
position: relative;
}
}
.roomBackground {
}
.roomBackground {
background: #0058e1;
color: #ffffff;
}
.nullBackground {
}
.nullBackground {
background: #f3f5f9;
color: #0087ff;
}
:deep(.ant-form-item-control-input-content) {
}
:deep(.ant-form-item-control-input-content) {
margin-left: 0.15rem;
}
:deep(.ant-col) {
}
:deep(.ant-col) {
.ant-form-item {
margin-bottom: 0;
}
}
.jinggaoD {
}
.jinggaoD {
display: flex;
align-items: center;
}
.jinggaoNull {
}
.jinggaoNull {
display: none;
}
.imgJinggao {
}
.imgJinggao {
width: 0.2rem;
height: 0.2rem;
background: url('~@/assets/home/jingao.png') no-repeat;
background-size: 100%;
}
.introduction {
}
.introduction {
:deep(.ant-form-item-control) {
margin-left: -2.1rem;
}
}
.roomBox {
}
.roomBox {
.leftMake {
float: left;
margin-left: -1rem;
@ -2157,15 +2172,15 @@
:deep(.ant-pagination) {
text-align: end;
}
}
}
</style>
<style lang="less">
.wrj {
.wrj {
.ant-modal-body {
height: 700px !important;
}
}
.modalClass {
}
.modalClass {
.ant-modal-body {
height: 4rem !important;
overflow-y: scroll !important;
@ -2178,8 +2193,8 @@
border-bottom: 0 !important;
}
}
}
.appModal {
}
.appModal {
.ant-modal-body {
height: 4.8rem !important;
overflow-y: scroll !important;
@ -2192,8 +2207,8 @@
border-bottom: 0 !important;
}
}
}
.single-preview-modal {
}
.single-preview-modal {
.ant-modal-header {
background: url(~@/assets/home/video-background.png) no-repeat;
background-size: cover;
@ -2206,8 +2221,8 @@
.anticon {
color: #ffffff;
}
}
.batch-preview-modal {
}
.batch-preview-modal {
.batch-video {
width: 100%;
display: grid;
@ -2232,5 +2247,5 @@
.anticon {
color: #ffffff;
}
}
}
</style>