Commit af96a222 authored by 曹雷's avatar 曹雷

统计页面调整

parent ae27cc4f
......@@ -486,14 +486,17 @@
success: function (result) {
_this.nums = result.data.all_auth;
_this.numsJcjy = result.data.cas_edu_auth;
_this.numsIdpList = result.data.area_auth;
var legend = [], data = [];
for (var i = 0; i < result.data.area_auth.length; i++) {
var element = result.data.area_auth[i];
legend.push(element.name);
data.push({ value: element.count, name: element.name })
}
_this.numsIdpList = data.filter(element => { return element.value > 0 });
_this.numsQp = esult.data.qp_auth;
_this.numsSy = esult.data.operator_auth;
// _this.numsIdpList = result.data.area_auth;
// var legend = [], data = [];
// for (var i = 0; i < result.data.area_auth.length; i++) {
// var element = result.data.area_auth[i];
// legend.push(element.name);
// data.push({ value: element.count, name: element.name })
// }
// _this.numsIdpList = data.filter(element => { return element.value > 0 });
// optionNums.series[0].data = data
// myChartNums.setOption(optionNums);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment