| | |
| | | |
| | | leftTopData: [], |
| | | tableData: [], |
| | | tableDataRank: [] |
| | | tableDataRank: [], |
| | | lineCodeArr: [] |
| | | |
| | | } |
| | | }, |
| | |
| | | this.lineArr.forEach((item, index) => { |
| | | // if (index === 0) { |
| | | this.handleEveryLine(item, index) |
| | | this.lineCodeArr.push(item.code) |
| | | // } |
| | | }) |
| | | }, |
| | |
| | | const res = await LineSearchTopLeftData([item]) |
| | | console.log(res, 7) |
| | | let res1, res2, res3, res4 |
| | | if (res.data[0].linecode === 'CXSB001') { |
| | | if (res.data[0].linecode === this.lineCodeArr[0]) { |
| | | res1 = res |
| | | } |
| | | if (res.data[0].linecode === 'CXSB002') { |
| | | if (res.data[0].linecode === this.lineCodeArr[1]) { |
| | | res2 = res |
| | | } |
| | | if (res.data[0].linecode === 'CXSB003') { |
| | | if (res.data[0].linecode === this.lineCodeArr[2]) { |
| | | res3 = res |
| | | } |
| | | if (res.data[0].linecode === 'CXSB004') { |
| | | if (res.data[0].linecode === this.lineCodeArr[3]) { |
| | | res4 = res |
| | | } |
| | | |