Commit d128baf1 authored by 王启林's avatar 王启林

调整

parent a1dd531d
......@@ -73,7 +73,11 @@ export default {
tooltip: {},
xAxis: {
data: this.chartsData.map(i => {
return i.ruleName || i.deptName || i.staffName
console.log(i)
if(this.title == "申诉次数部门排名TOP20") return i.deptName
if(this.title == "申诉次数个人排名TOP20") return i.staffName
if(this.title == "申诉次数规则排名TOP20") return i.ruleName
// return i.ruleName || i.deptName || i.staffName
})
// this.title == "申诉次数部门排名TOP20"
// ? [
......
......@@ -56,7 +56,7 @@
:id="'rule_20'"
:legendName="'申诉次数'"
:styleObj="{ width: '1800px', height: '300px' }"
:chartsData="depChartsData"
:chartsData="ruleChartsData"
/>
</div>
</div>
......
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