哈尔滨线路 现地行调切换代码调整

This commit is contained in:
joylink_cuiweidong 2020-03-17 14:28:23 +08:00
parent d3b9b718b3
commit 9dc0124da2
2 changed files with 5 additions and 3 deletions

View File

@ -34,11 +34,11 @@
</el-row>
<el-row v-if="isLock" style="margin-top: 10px;">
<el-col :span="11">
<el-radio v-model="lockRadio" label="1" style="display: block; text-align: center;">
<el-radio v-model="lockRadio" label="1" disabled style="display: block; text-align: center;">
道岔单锁</el-radio>
</el-col>
<el-col :span="11" :offset="2">
<el-radio v-model="lockRadio" label="2" disabled style="display: block; text-align: center;">
<el-radio v-model="lockRadio" label="2" style="display: block; text-align: center;">
道岔解锁</el-radio>
</el-col>
</el-row>

View File

@ -149,7 +149,9 @@ export default {
}
});
this.colsNum = 24 / this.centralizedStationList1.length;
if (this.$store.state.training.prdType == '01') {
centralizedStationList.length && this.switchShowStation(centralizedStationList[0].code);
}
},
switchShowStation(stationCode) {
this.stationCode = stationCode;