能力云图
This commit is contained in:
parent
418b5f1de7
commit
d0bbe8d909
|
@ -144,8 +144,12 @@
|
||||||
const object = res.data.data.filter((item) => item.type === val.name)[0]
|
const object = res.data.data.filter((item) => item.type === val.name)[0]
|
||||||
console.log('object', object)
|
console.log('object', object)
|
||||||
if (object) {
|
if (object) {
|
||||||
|
if (object.type == '满足率') {
|
||||||
|
val.num = object.amount * 100 + '%'
|
||||||
|
} else {
|
||||||
val.num = object.amount
|
val.num = object.amount
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
const arr = res.data.data.filter((item) => item.resourceTop5)[0]
|
const arr = res.data.data.filter((item) => item.resourceTop5)[0]
|
||||||
console.log('数据资源数据===================>', arr)
|
console.log('数据资源数据===================>', arr)
|
||||||
|
|
Loading…
Reference in New Issue