| | |
| | | class="item" effect="dark" content="请先选择设备!" placement="top-start"> |
| | | <el-input :disabled="scope.row.eId == null" |
| | | v-model="scope.row.inote" |
| | | @blur="changeState(scope.row, index)" placeholder="请输入检测值"></el-input> |
| | | @blur="changeState(scope.row, index)" placeholder="请输入检验描述"></el-input> |
| | | <!-- <el-select style="width: 100%;" @change="changeState(scope.row, index)" :disabled="scope.row.eId == null" v-model="scope.row.inote" placeholder="请选择"> |
| | | <el-option v-for="item in dataVal" :key="item.value" :label="item.label" |
| | | :value="item.value"> |
| | |
| | | }) |
| | | }, |
| | | updateDevice(row,index){ |
| | | updateDeviceById({equiomentId:row.eId,fpid:row.iId}).then(res=>{ |
| | | updateDeviceById({deviceId:row.eId,fpid:row.iId}).then(res=>{ |
| | | this.inspectionItems.forEach(obj=>{ |
| | | if(obj.children){ |
| | | obj.children[index-1].inspectionValue = '' |
| | |
| | | return |
| | | } |
| | | let obj = { |
| | | equiomentId: row.eId, |
| | | deviceId: row.eId, |
| | | fpid: row.iid, |
| | | inspectionValue: str, |
| | | note : row.inote |