修改bug

This commit is contained in:
‘937886381’
2024-07-05 14:06:15 +08:00
parent a7e89fe7e8
commit 3e025020ab
20 changed files with 258 additions and 137 deletions

View File

@@ -146,13 +146,12 @@ export default {
chartHeight: this.tableHeight(137) / 2 - 111,
tableH: this.tableHeight(137) / 2 - 70,
legendList: [
{
id: 1, name: "综合良率", type: 2, color: "#FFCE6A" },
{
id: 2, name: "FTO投入", type: 1, color: "#8EF0AB" },
{id: 2, name: "FTO投入", type: 1, color: "#8EF0AB" },
{ id: 3, name: "芯片产量", type: 1, color: "#288AFF" },
{ id: 4, name: "标准组件产量", type: 1, color: "#64BDFF" },
{
id: 4, name: "标准组件产量", type: 1, color: "#64BDFF" },
id: 1, name: "综合良率", type: 2, color: "#FFCE6A"
},
],
legendListTarget: [
{
@@ -587,6 +586,7 @@ export default {
this.chartMsg.xData.push(ele.titleValue)
this.otherProps.push({
label: ele.titleValue,
filter: (val) => (val || val === 0 ? val : "-"),
prop: 'value' + i
})
})
@@ -601,24 +601,36 @@ export default {
this.chartMsgYearTarget.series[0].data = [
{
value: item.ftoInput,
label: {
color: '#8EF0AB'
},
itemStyle: {
color: '#8EF0AB'
}
},
{
value: item.chipYield,
label: {
color: '#288AFF'
},
itemStyle: {
color: '#288AFF'
}
},
{
value: item.componentYield,
label: {
color: '#64BDFF'
},
itemStyle: {
color: '#64BDFF'
}
},
{
value: null,
label: {
color: '#FFCE6A'
},
itemStyle: {
color: '#FFCE6A'
}
@@ -626,24 +638,36 @@ export default {
this.chartMsgYearTarget.series[1].data = [
{
value: null,
label: {
color: '#8EF0AB'
},
itemStyle: {
color: '#8EF0AB'
}
},
{
value: null,
label: {
color: '#288AFF'
},
itemStyle: {
color: '#288AFF'
}
},
{
value: null,
label: {
color: '#64BDFF'
},
itemStyle: {
color: '#64BDFF'
}
},
{
value: item.ftoInput,
label: {
color: '#FFCE6A'
},
itemStyle: {
color: '#FFCE6A'
}