This commit is contained in:
zyy 2020-03-17 16:12:26 +08:00
commit a7baf76513
2 changed files with 5 additions and 3 deletions

View File

@ -34,11 +34,11 @@
</el-row> </el-row>
<el-row v-if="isLock" style="margin-top: 10px;"> <el-row v-if="isLock" style="margin-top: 10px;">
<el-col :span="11"> <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-radio>
</el-col> </el-col>
<el-col :span="11" :offset="2"> <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-radio>
</el-col> </el-col>
</el-row> </el-row>

View File

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