提交 4f3dc95f 编写于 作者: guangjun.yang's avatar guangjun.yang

学历排序的问题

上级 6db52d96
......@@ -75,41 +75,19 @@ export default {
}
}
for(let i = 0; i < newVal.length; i ++){
for(let i = newVal.length - 1; i >= 0; i --){
certData = [];
cData = newVal[i];
vm.yAxisData.push(cData.eduName);
// vm.legendData.push(cData.eduName);
certLength = cData.certList.length;
for(let j = 0; j < certLength; j ++) {
for(let j = certLength - 1; j >= 0; j --) {
certList = cData.certList;
certData.push(certList[j].value);
if(i == 0) {
// certId = certList[j].certId
// if(certId == -1) {
// certName = '未获证人数'
// } else if(certId == 1) {
// certName = '获优秀人数'
// } else if(certId == 2) {
// certName = '获良好人数'
// } else if(certId == 3) {
// certName = '获及格人数'
// } else if(certId == 3) {
// certName = '获不及格人数'
// } else {
// certName = '其它'
// }
vm.legendData.push(certList[j].name);
// vm.yAxisData.push(certList[j].name);
}
}
// vm.seriesData.push({
// name: cData.eduName,
// type: "bar",
// stack: "总量",
// barWidth: 16, //柱图宽度
// data: certData
// });
}
this.handlerSeriesData(newVal);
vm.drawColumn();
......@@ -142,7 +120,7 @@ export default {
type: "bar",
stack: "总量",
barWidth: 16, //柱图宽度
data: sData
data: sData.reverse()
});
}
},
......
......@@ -14,7 +14,7 @@
<span>{{percentData.certificateRate | fixedNum}}%</span>
</div>
<div class="statics">
<span>已获证人数 {{percentData.finishCount | formatNum}}</span>
<span>{{certFlag ? '已获证人数' : '已完成人数'}} {{percentData.finishCount | formatNum}}</span>
<span>应参与人数 {{percentData.doctorCount | formatNum}}</span>
</div>
</article>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册