修改bug
Este commit está contenido en:
@@ -364,7 +364,7 @@ export default {
|
||||
|
||||
},
|
||||
isOpen(val) {
|
||||
if (this.$route.name === "ChipYieldBM") {
|
||||
if (this.$route.name === "productionYield") {
|
||||
this.chartNum++;
|
||||
}
|
||||
},
|
||||
@@ -507,6 +507,12 @@ export default {
|
||||
async getDataList() {
|
||||
this.otherProps = []
|
||||
this.chartMsg.xData = []
|
||||
this.chartMsg.series[0].data = []
|
||||
this.chartMsg.series[1].data = []
|
||||
this.chartMsg.series[2].data = []
|
||||
this.chartMsg.series[3].data = []
|
||||
this.chartMsgYearTarget.series[0].data = []
|
||||
this.chartMsgYearTarget.series[1].data = []
|
||||
let arr = []
|
||||
this.currentMenu === '邯郸' ? arr.push(1) : arr.push(0)
|
||||
this.listQuery.factory = arr
|
||||
@@ -660,7 +666,7 @@ export default {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
res.data.list.slice.forEach((ele, index) => {
|
||||
res.data.list.forEach((ele, index) => {
|
||||
let i = index + 1
|
||||
this.chartMsg.xData.push(ele.titleValue)
|
||||
this.otherProps.push({
|
||||
@@ -724,18 +730,11 @@ export default {
|
||||
console.log(dataArr)
|
||||
this.tableData = res.data.length != 0 ? dataArr : []
|
||||
// this.tableProps.push()
|
||||
this.listQuery.total = res.data.total
|
||||
if (this.listQuery.total > 0) {
|
||||
this.tableData.forEach(item => {
|
||||
item.startTime = item.startDate ? item.startDate[0] + '-' + item.startDate[1] + '-' + item.startDate[2] : '--'
|
||||
item.endTime = item.endDate ? item.endDate[0] + '-' + item.endDate[1] + '-' + item.endDate[2] : '--'
|
||||
})
|
||||
}
|
||||
},
|
||||
_setTableHeight() {
|
||||
this.tableH = this.tableHeight(137) / 2 - 70;
|
||||
this.chartHeight = this.tableHeight(137) / 2 - 111;
|
||||
if (this.$route.name === "ChipYieldBM") {
|
||||
if (this.$route.name === "productionYield") {
|
||||
this.chartNum++;
|
||||
}
|
||||
},
|
||||
|
||||
Referencia en una nueva incidencia
Block a user