北京一号线 站台实训操作代码调整
This commit is contained in:
parent
e027be4976
commit
1c7a0461fe
@ -25,11 +25,13 @@
|
||||
<div style="padding: 10px 15px; border: 1px double lightgray; margin: 20px 0px; height: 73px;">
|
||||
<span class="base-label" style="left: -9px;">模式</span>
|
||||
<div style=" position: relative; top:-10px;">
|
||||
<el-radio-group v-model="control" style="width: 40%;float: left;" @change="chooseControl">
|
||||
<el-radio-group :id="domIdChoose1" v-model="control" style="width: 40%;float: left;" @change="chooseControl">
|
||||
<div style="margin-bottom: 10px;">
|
||||
<el-radio :id="control === '01'? '': domIdChoose1" label="01">自动</el-radio>
|
||||
<el-radio label="01">自动</el-radio>
|
||||
</div>
|
||||
<div style="margin-bottom:0px;">
|
||||
<el-radio label="02">全人工</el-radio>
|
||||
</div>
|
||||
<el-radio :id="control === '02'? '': domIdChoose1" label="02">全人工</el-radio>
|
||||
</el-radio-group>
|
||||
<el-input-number
|
||||
:id="domIdInput"
|
||||
@ -82,7 +84,6 @@ export default {
|
||||
loading: false,
|
||||
time: 30,
|
||||
control: '01',
|
||||
direction: '01',
|
||||
effective: true,
|
||||
selected: null,
|
||||
standName: '',
|
||||
@ -108,18 +109,6 @@ export default {
|
||||
domIdInput() {
|
||||
return this.dialogShow ? OperationEvent.StationStand.setStopTime.input.domId : '';
|
||||
},
|
||||
disabledUp() {
|
||||
if (this.selected) {
|
||||
return this.selected.direction !== '02';
|
||||
}
|
||||
return true;
|
||||
},
|
||||
disabledDown() {
|
||||
if (this.selected) {
|
||||
return this.selected.direction !== '01';
|
||||
}
|
||||
return true;
|
||||
},
|
||||
disabledInput() {
|
||||
return this.control === '01'; // 如果是自动则不可以设置
|
||||
},
|
||||
@ -149,11 +138,9 @@ export default {
|
||||
this.stationName = station.name;
|
||||
}
|
||||
}
|
||||
|
||||
this.control = selected.parkingTime == 0 ? '01' : '02';
|
||||
this.time = selected.parkingTime ? Number(selected.parkingTime) : 30;
|
||||
this.effective = selected.parkingAlwaysValid == '1';
|
||||
this.direction = selected.direction;
|
||||
// this.control = selected.parkingTime == 0 ? '01' : '02';
|
||||
// this.time = selected.parkingTime ? Number(selected.parkingTime) : 30;
|
||||
// this.effective = selected.parkingAlwaysValid == '1';
|
||||
}
|
||||
this.dialogShow = true;
|
||||
this.$nextTick(function () {
|
||||
|
@ -142,8 +142,8 @@ export default {
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
{ deviceType: '06', orderNum: 1, operateCode: '509', tip: '鼠标右键菜单选择【停站时间控制】' },
|
||||
{ deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【自动】', val: '01' },
|
||||
{ deviceType: '06', orderNum: 3, operateCode: '509', tip: '鼠标左键点击【确认】按钮' }
|
||||
// { deviceType: '06', orderNum: 2, operateCode: '5092', tip: '鼠标左键点击,选择【自动】', val: '01' },
|
||||
{ deviceType: '06', orderNum: 2, operateCode: '509', tip: '鼠标左键点击【确认】按钮' }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
</el-button>
|
||||
<el-button size="small" type="primary" class="eachButton" @click="createMap">{{ $t('map.newConstruction') }}</el-button>
|
||||
</div>
|
||||
<map-import ref="mapImport" />
|
||||
<map-import ref="mapImport" @loadInitData="loadInitData" />
|
||||
<map-operate-menu
|
||||
ref="menu"
|
||||
:point="point"
|
||||
|
@ -78,6 +78,7 @@ export default {
|
||||
that.loading = false;
|
||||
that.$message.success('导入成功!');
|
||||
// that.loadInitData();
|
||||
this.$emit('loadInitData');
|
||||
// loading.close();
|
||||
this.close();
|
||||
}).catch(error => {
|
||||
|
Loading…
Reference in New Issue
Block a user