市局:能力统计--覆盖部门量改为资源汇聚部门量,

This commit is contained in:
guoyue 2022-10-03 16:26:16 +08:00
parent cdb0ed10ea
commit c1c4eaf4d6
1 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,9 @@
///whole_amount ///whole_amount
function snum() { function snum() {
totalResourceAggregation().then((res) => { totalResourceAggregation().then((res) => {
dataList.value = res.data.data dataList.value = res.data.data;
console.log('res.data.data------------>', res.data.data);
res.data.data.map((item, index) => { res.data.data.map((item, index) => {
console.log('dataList', dataList.value) console.log('dataList', dataList.value)
switch (item.type) { switch (item.type) {
@ -55,7 +57,8 @@
case '用户量': case '用户量':
dataList.value[index].organization = '人' dataList.value[index].organization = '人'
break break
case '覆盖部门量': // case '':
case '资源汇聚部门量':
dataList.value[index].organization = '个' dataList.value[index].organization = '个'
break break
} }