Commit bb59d17b authored by 高滢's avatar 高滢

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

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