西海岸:云图视频资源数量 ,前端去掉+4

This commit is contained in:
guoyue 2022-10-20 16:07:56 +08:00
parent 02d70b4b8d
commit 33ba30d97f
1 changed files with 1 additions and 6 deletions

View File

@ -75,15 +75,10 @@ const params = {
pageSize: 10, pageSize: 10,
} }
infrastructureInfo().then((res) => { infrastructureInfo().then((res) => {
console.log('基础设施==================>', res.data.data) console.log('基础设施======云图============>', res.data.data)
myDataList.value.forEach((val) => { myDataList.value.forEach((val) => {
const obj = res.data.data.filter((item) => item.type === val.title)[0] const obj = res.data.data.filter((item) => item.type === val.title)[0]
if (obj) { if (obj) {
if (obj.type == '视频资源数量') {
if (uavAndIndividualSoldier.num) {
obj.amount = obj.amount - 0 + uavAndIndividualSoldier.num
}
}
val.snum = obj.amount val.snum = obj.amount
} }
}) })