Commit bb59d17b authored by 高滢's avatar 高滢

feat(首页): 平均检验通过率二次渲染问题

parent 583d6470
......@@ -25,6 +25,7 @@ export default {
init() {
// 2.初始化
this.chart = this.$echarts.init(this.$refs.chart)
this.chart.setOption({}, true)
// 3.配置数据
const option = {
series: [
......
......@@ -80,11 +80,11 @@ export default {
},
{
itemStyle: { color: '#1A6FD7' },
value: this.testTypeFilter('MANUAL')
value: this.testTypeFilter('SEMI_AUTO')
},
{
itemStyle: { color: '#13BE24' },
value: this.testTypeFilter('MANUAL')
value: this.testTypeFilter('AUTO')
}
]
}
......
......@@ -356,8 +356,8 @@ export default {
}
},
created() {
this.getQuantityStatistics()
this.getTestHome()
this.getQuantityStatistics()
this.getTaskCompleted()
},
mounted() {
......
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