| | |
| | | child:[] |
| | | } |
| | | for(let j in data[i]){ |
| | | if(j!='frequency'&&!data[i][j].isCalculation){ |
| | | console.log(j,data[i][j]) |
| | | if(j!='frequency'&&data[i][j]&&!data[i][j].isCalculation){ |
| | | this.dataAcquisitionInfo[i+','+j] = { |
| | | value:data[i][j].result, |
| | | frequency:data[i].frequency |
| | | } |
| | | }else if(j!='frequency'&&data[i][j].isCalculation){ |
| | | }else if(j!='frequency'&&data[i][j]&&data[i][j].isCalculation){ |
| | | let obj0 = { |
| | | name:j, |
| | | arr:data[i][j].result |
| | |
| | | done() |
| | | }else{ |
| | | this.dataGetDia = false |
| | | this.getDataIndex = [] |
| | | } |
| | | }).catch(() => {}) |
| | | }, |
| | |
| | | if(res.code!=200){ |
| | | return |
| | | } |
| | | this.dataGetDia = false |
| | | this.handleDataAcquisition(res.data) |
| | | this.getDataIndex = [] |
| | | }) |
| | | }, |
| | | // 多线程 |