|
|
@ -97,8 +97,8 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
title(){ |
|
|
title(){ |
|
|
if(this.xmIteration && this.xmIteration.id){ |
|
|
|
|
|
return (this.xmIteration?'迭代【'+this.xmIteration.iterationName+'】':'')+'燃尽图' |
|
|
|
|
|
|
|
|
if(this.filters.iteration && this.filters.iteration.id){ |
|
|
|
|
|
return (this.filters.iteration?'迭代【'+this.filters.iteration.iterationName+'】':'')+'燃尽图' |
|
|
}else{ |
|
|
}else{ |
|
|
return "迭代燃尽图" |
|
|
return "迭代燃尽图" |
|
|
} |
|
|
} |
|
|
@ -186,11 +186,21 @@ |
|
|
this.myChart = this.$echarts.init(document.getElementById("burnout")); |
|
|
this.myChart = this.$echarts.init(document.getElementById("burnout")); |
|
|
this.myChart.setOption({ |
|
|
this.myChart.setOption({ |
|
|
title: { |
|
|
title: { |
|
|
text: '燃尽图:', |
|
|
|
|
|
|
|
|
text: this.title, |
|
|
|
|
|
left:'center' |
|
|
}, |
|
|
}, |
|
|
tooltip: { |
|
|
tooltip: { |
|
|
trigger: 'axis' |
|
|
trigger: 'axis' |
|
|
}, |
|
|
}, |
|
|
|
|
|
toolbox: { |
|
|
|
|
|
show: true, |
|
|
|
|
|
feature: { |
|
|
|
|
|
dataView: { show: true, readOnly: false }, |
|
|
|
|
|
magicType: { show: true, type: ['line', 'bar'] }, |
|
|
|
|
|
restore: { show: true }, |
|
|
|
|
|
saveAsImage: { show: true } |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
legend: { |
|
|
legend: { |
|
|
top:'5%', |
|
|
top:'5%', |
|
|
left: 'center', |
|
|
left: 'center', |
|
|
@ -275,8 +285,7 @@ |
|
|
|
|
|
|
|
|
onIterationSelected(iteration){ |
|
|
onIterationSelected(iteration){ |
|
|
this.filters.iteration=iteration |
|
|
this.filters.iteration=iteration |
|
|
this.xmProductStateHiss=[]; |
|
|
|
|
|
this.listXmIterationStateHis(); |
|
|
|
|
|
|
|
|
this.xmProductStateHiss=[]; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
onIterationClear(){ |
|
|
onIterationClear(){ |
|
|
|