Commit dd44ee9d authored by jingnan's avatar jingnan 👀

首页站位完工统计环形图默认展示已完工

parent e9ec5ea3
......@@ -24,6 +24,10 @@ export default {
immediate: true,
handler(val) {
this.datas = [
{
value: this.item.countCarry,
name: '已完工' // 已完工
},
{
value: this.item.countUndone,
name: '未开工' // 未完成
......@@ -31,10 +35,6 @@ export default {
{
value: this.item.countNotOk,
name: '执行中' // 执行中
},
{
value: this.item.countCarry,
name: '已完工' // 已完工
}
]
this.$nextTick(() => {
......@@ -55,7 +55,7 @@ export default {
methods: {
setPieOption() {
this.pieOption = {
color: ['blue', '#f2743a', '#13b346'], // 环形的分段色值设置
color: ['#13b346', 'blue', '#f2743a'], // 环形的分段色值设置
title: {
text: this.item.name,
color: '#3F3F3F',
......
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