Commit 62dae542 authored by jingnan's avatar jingnan 👀

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

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