修改图表显示
This commit is contained in:
parent
24f4dd7dec
commit
9e6571b47d
|
@ -140,11 +140,15 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getTables() {
|
getTables() {
|
||||||
this.totalNumberCataloguesData =[];
|
let t = this;
|
||||||
|
t.totalNumberCataloguesData =[];
|
||||||
getAction("/online/getOnlineLinkCountData",{}).then((res)=>{
|
getAction("/online/getOnlineLinkCountData",{}).then((res)=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
this.totalNumberCataloguesData = res.result
|
Object.keys(res.result).forEach(function(key){
|
||||||
this.gettotalNumberCatalogues();
|
console.log(res.result[key])
|
||||||
|
t.totalNumberCataloguesData.push([key, parseInt(res.result[key])])
|
||||||
|
});
|
||||||
|
t.gettotalNumberCatalogues();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user