Compare commits

..

No commits in common. "ba5526d7d838beb9d9539cdf518035c12ad62bdc" and "188d9bb85a51fdeccc283fc8846c31f106c3f4c6" have entirely different histories.

1 changed files with 6 additions and 1 deletions

View File

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