Commit 6015e0d4 authored by jingnan's avatar jingnan 👀

首页站位完工统计和问题项管理默认架次改为1101

parent 72359681
......@@ -147,7 +147,7 @@ export default {
defCode: p.defCode
}
})
if (this.dataSorties.length) { this.form.sorties = this.dataSorties[0].defCode }
if (this.dataSorties.length) { this.form.sorties = this.dataSorties.find(data => data.defCode === '1101').defCode }
}
})
.catch((err) => console.log(err))
......
......@@ -152,7 +152,7 @@ export default {
defCode: p.defCode
}
})
if (this.dataSorties.length) { this.form.sorties = this.dataSorties[0].defCode }
if (this.dataSorties.length) { this.form.sorties = this.dataSorties.find(data => data.defCode === '1101').defCode }
}
})
.catch((err) => console.log(err))
......@@ -173,7 +173,7 @@ export default {
}))
this.seriesData = [
{
name: '未开',
name: '未开',
type: 'bar',
tooltip: {
valueFormatter: function(value) {
......@@ -216,7 +216,7 @@ export default {
)
},
{
name: '已完',
name: '已完',
type: 'bar',
itemStyle: {
normal: {
......@@ -299,7 +299,7 @@ export default {
}
},
legend: {
data: ['未开始', '执行中', '已完成', '完工率'],
data: ['未开工', '执行中', '已完工', '完工率'],
bottom: 14
},
xAxis: [
......
......@@ -26,7 +26,7 @@ export default {
this.datas = [
{
value: this.item.countUndone,
name: '未开' // 未完成
name: '未开' // 未完成
},
{
value: this.item.countNotOk,
......@@ -34,7 +34,7 @@ export default {
},
{
value: this.item.countCarry,
name: '已完成' // 已完成
name: '已完工' // 已完工
}
]
this.$nextTick(() => {
......
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