百分比
This commit is contained in:
parent
15ce5fe9fc
commit
91e9d2649e
|
@ -135,14 +135,14 @@
|
||||||
resourcesLeft.value[1].num = contentData.value.requestCount || '0'
|
resourcesLeft.value[1].num = contentData.value.requestCount || '0'
|
||||||
// 总满足率
|
// 总满足率
|
||||||
resourcesLeft.value[2].num =
|
resourcesLeft.value[2].num =
|
||||||
contentData.value.satisfactionRate + '%' || '0' + '%'
|
contentData.value.satisfactionRate * 100 + '%' || '0' + '%'
|
||||||
// 排行
|
// 排行
|
||||||
for (let i = 1; i < 6; i++) {
|
for (let i = 1; i < 6; i++) {
|
||||||
// TOP
|
// TOP
|
||||||
assignRankings.value[i - 1].index = i
|
assignRankings.value[i - 1].index = i
|
||||||
//
|
//
|
||||||
assignRankings.value[i - 1].name =
|
assignRankings.value[i - 1].name =
|
||||||
contentData.value.resourceTop5[i - 1].service_name || 'wowoow'
|
contentData.value.resourceTop5[i - 1].service_name || ''
|
||||||
assignRankings.value[i - 1].opacity =
|
assignRankings.value[i - 1].opacity =
|
||||||
contentData.value.resourceTop5[i - 1].count || ' '
|
contentData.value.resourceTop5[i - 1].count || ' '
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue