| | |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | |
| | | |
| | | |
| | | <el-table-column prop="deviceName" label="试验设备" min-width="260"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="!scope.row.children"> |
| | |
| | | } |
| | | ele.iid = Math.random() |
| | | ele.father = item.rpFather |
| | | if (item.children != undefined) { |
| | | item.children.forEach(obj => { |
| | | let arr= [] |
| | | if(obj.userName){ |
| | | userNameList.push(obj.userName) |
| | | } |
| | | let arr= [] |
| | | |
| | | |
| | | if(obj.testValue){ |
| | | arr = obj.testValue.split(",") |
| | | console.log(arr); |
| | | } |
| | | |
| | | if (arr.length > this.empiricalValueAdd) { |
| | | this.empiricalValueAdd = arr.length |
| | | } |
| | | let o = { |
| | | deviceId: obj.deviceId, |
| | | deviceName: obj.deviceName, |
| | |
| | | ele.children.push(o) |
| | | }) |
| | | this.list.push(ele) |
| | | console.log(this.list,111111111111); |
| | | } |
| | | }} |
| | | }) |
| | | this.conclusionTable = [{ |
| | | code: data.code, |