能力云图:适配西海岸和市局
This commit is contained in:
parent
c183ee883d
commit
d549a7f73d
|
@ -34,6 +34,8 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { infrastructureInfo } from '@/api/capabilityCloud'
|
import { infrastructureInfo } from '@/api/capabilityCloud'
|
||||||
|
const itShowXiHaiAn = whoShow.itShowXiHaiAn
|
||||||
|
|
||||||
let myDataList = ref([
|
let myDataList = ref([
|
||||||
{
|
{
|
||||||
title: '视频资源数量',
|
title: '视频资源数量',
|
||||||
|
@ -42,17 +44,15 @@ let myDataList = ref([
|
||||||
img: require('../../../assets/capabilityCloud/infrastructure_sz.png'),
|
img: require('../../../assets/capabilityCloud/infrastructure_sz.png'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// title: '云资源',
|
title: itShowXiHaiAn ? '单兵设备' : '云资源',
|
||||||
title: '单兵设备',
|
snum: itShowXiHaiAn ? '2' : 0,
|
||||||
snum: '2',
|
percentage: itShowXiHaiAn ? '100' : '0',
|
||||||
percentage: '100',
|
|
||||||
img: require('../../../assets/capabilityCloud/infrastructure_yz.png'),
|
img: require('../../../assets/capabilityCloud/infrastructure_yz.png'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// title: '感知资源',
|
title: itShowXiHaiAn ? '无人机' : '感知资源',
|
||||||
title: '无人机',
|
snum: itShowXiHaiAn ? '2' : 0,
|
||||||
snum: '2',
|
percentage: itShowXiHaiAn ? '100' : '0',
|
||||||
percentage: '100',
|
|
||||||
img: require('../../../assets/capabilityCloud/infrastructure_gz.png'),
|
img: require('../../../assets/capabilityCloud/infrastructure_gz.png'),
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
@ -61,17 +61,10 @@ function fontFormat(name) {
|
||||||
case '视频资源数量':
|
case '视频资源数量':
|
||||||
return 'color: #32ff91;'
|
return 'color: #32ff91;'
|
||||||
break
|
break
|
||||||
// case '云资源':
|
case itShowXiHaiAn ? '单兵设备' : '云资源':
|
||||||
// return 'color: #f4fd25;'
|
|
||||||
// break
|
|
||||||
// case '感知资源':
|
|
||||||
// return 'color: #ff1d18;'
|
|
||||||
// break
|
|
||||||
|
|
||||||
case '单兵设备':
|
|
||||||
return 'color: #f4fd25;'
|
return 'color: #f4fd25;'
|
||||||
break
|
break
|
||||||
case '无人机':
|
case itShowXiHaiAn ? '无人机' : '感知资源':
|
||||||
return 'color: #ff1d18;'
|
return 'color: #ff1d18;'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue