| | |
| | | // return |
| | | obj.allBandList.forEach((item,index)=>{ |
| | | if(!this.allBandList[index]){ |
| | | this.allBandList[index] = { |
| | | projectList:this.HaveJson(this.allBandList[0].projectList), |
| | | band:item.band |
| | | } |
| | | this.$set(this.allBandList, index, {projectList:this.HaveJson(this.allBandList[0].projectList)}) |
| | | // this.allBandList[index] = { |
| | | // projectList:this.HaveJson(this.allBandList[0].projectList), |
| | | // band:item.band |
| | | // } |
| | | } |
| | | let arr = [] |
| | | item.projectList.forEach((m,i)=>{ |
| | |
| | | angleList:m.angleList, |
| | | portList:m.portList, |
| | | portNum:m.portNum, |
| | | value:m.value, |
| | | // value:m.value, |
| | | valueType:m.valueType |
| | | } |
| | | this.$set(obj0,'value',m.value) |
| | | arr.push({...this.allBandList[index].projectList.find(n=>n.inspectionItemSubclass==m.inspectionItemSubclass),...obj0}) |
| | | } |
| | | }) |
| | | this.allBandList[index].projectList = arr |
| | | // this.allBandList[index].projectList = arr |
| | | this.$delete(this.allBandList[index],'projectList') |
| | | this.$set(this.allBandList[index],'projectList',arr) |
| | | }) |
| | | this.angleList = obj.angleList |
| | | this.intermodulationNum = obj.intermodulationNum |