|
|
|
@ -70,9 +70,9 @@ |
|
|
|
|
<el-checkbox-group v-model="data.checkedSblb" @change="handleCheckedCitiesChange"> |
|
|
|
|
<el-checkbox v-for="item in data.sblb" :label="item.deviceId" :key="item.deviceId" label-width="120" style="margin-bottom: 10px"> |
|
|
|
|
<span style="width: 70px;display: inline-block">{{item.deviceName}}</span> |
|
|
|
|
<el-input type="number" v-model="item.intemp" placeholder="进水温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
<el-input type="number" v-model="item.outtemp" placeholder="出水温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
<el-input type="number" v-model="item.temp" placeholder="温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
<el-input :disabled="item.inTemp" type="number" v-model="item.intemp" placeholder="进水温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
<el-input :disabled="item.outTemp" type="number" v-model="item.outtemp" placeholder="出水温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
<el-input :disabled="item.Temp" type="number" v-model="item.temp" placeholder="温度" style="width: 120px ;margin: 10px"/> |
|
|
|
|
</el-checkbox> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
<!-- <el-col :span="12">--> |
|
|
|
@ -192,6 +192,12 @@ onMounted(()=>{ |
|
|
|
|
for(var i in crr){ |
|
|
|
|
arr=arr.concat(crr[i].children) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for(let j in arr){ |
|
|
|
|
arr[j].Temp=!arr[j].Temp |
|
|
|
|
arr[j].inTemp=!arr[j].inTemp |
|
|
|
|
arr[j].outTemp=!arr[j].outTemp |
|
|
|
|
} |
|
|
|
|
console.log('sblb',arr) |
|
|
|
|
data.sblb=arr |
|
|
|
|
var brr = [] |
|
|
|
|