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