|
|
@ -41,7 +41,7 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="装置ID:" prop="cmdid">
|
|
|
|
<el-form-item label="装置ID:" prop="cmdid">
|
|
|
|
<el-input v-model="formInfo.cmdid" auto-complete="on"></el-input>
|
|
|
|
<el-input v-model="formInfo.cmdid" autocomplete="on"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="装置名称:" prop="equipName">
|
|
|
|
<el-form-item label="装置名称:" prop="equipName">
|
|
|
|
<el-input v-model="formInfo.equipName" auto-complete="on"></el-input>
|
|
|
|
<el-input v-model="formInfo.equipName" auto-complete="on"></el-input>
|
|
|
@ -196,7 +196,7 @@ export default {
|
|
|
|
nickname: "",
|
|
|
|
nickname: "",
|
|
|
|
});
|
|
|
|
});
|
|
|
|
console.log(this.formInfo.list);
|
|
|
|
console.log(this.formInfo.list);
|
|
|
|
|
|
|
|
console.log(this.channelOptions);
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
console.log(this.$refs.channelBoxref);
|
|
|
|
console.log(this.$refs.channelBoxref);
|
|
|
|
if (this.$refs.channelBoxref) {
|
|
|
|
if (this.$refs.channelBoxref) {
|
|
|
@ -320,6 +320,9 @@ export default {
|
|
|
|
getAllChannelListJoggle()
|
|
|
|
getAllChannelListJoggle()
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
this.channelOptions = res.data.list;
|
|
|
|
this.channelOptions = res.data.list;
|
|
|
|
|
|
|
|
console.log(this.channelOptions[0].id);
|
|
|
|
|
|
|
|
console.log(this.formInfo.list.channelVal);
|
|
|
|
|
|
|
|
this.formInfo.list[0].channelVal = this.channelOptions[0].id;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch((err) => {});
|
|
|
|
.catch((err) => {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|