From c01106e38906c3d881a659652b4dc3b0b95b6ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Tue, 2 Apr 2024 14:56:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/coldBoard.vue | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index f083af15..97c184ea 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,7 +1,7 @@ @@ -649,13 +649,12 @@ export default { for (let i in this.funWsData.data.annealFanInfo) { index++, arr.push([ - ` - ${index || ''} + `${index || ''} `, - `${i || ''} - `, - `${i.name || ''}`, - `
${i.run || ''}
`, + // `${i || ''} + // `, + `${i || ''}`, + `
${this.funWsData.data.annealFanInfo[i] || ''}
`, ]) } this.annealFunConfig.data = arr @@ -669,10 +668,10 @@ export default { for (let i in this.funWsData.data.fanInfo) { index++, arr.push([ - `${index || ''}`, - `${i || ''}`, - `${i.name || ''}`, - `
${i.run || ''}
`, + `${index || ''} + `, + `${i || ''}`, + `
${this.funWsData.data.fanInfo[i] || ''}
`, ]) } this.funConfig.data = arr From 1fd547893f32854d61d885927bfd351c1ed0fd5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Tue, 2 Apr 2024 15:01:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/coldBoard.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index 97c184ea..f67eb995 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,7 +1,7 @@ @@ -40,7 +40,7 @@ --> -
+

产线产量

@@ -250,6 +250,7 @@ export default { funWs: undefined, SJGws: undefined, funWsData: {}, + coldDetData:[], SJGWsData: {}, cxNameList:[], cxDataList:[], @@ -352,7 +353,7 @@ export default { let sumAreaList = [] // let yieldList = [] // this.cutTableDataList = - let coldDetData = [ + this.coldDetData = [ { "first": 0.8834, "lineName": "Y61", @@ -404,7 +405,7 @@ export default { "yield": 0.9133 } ] - coldDetData.forEach((ele, index) => { + this.coldDetData.forEach((ele, index) => { nameList.push(ele.lineName) topNameList.push('产线: ' + ele.lineName + ' ' + '总面积:' + ele.sumArea + '㎡') productList.push(ele.productArea) @@ -596,6 +597,7 @@ export default { let wasteList = [] let sumAreaList = [] let yieldList = [] + this.coldDetData = this.cutWsData.coldDetData // this.cutTableDataList = this.cutWsData.coldDetData.forEach((ele, index) => { nameList.push(ele.lineName)