大铁项目 ctc 行车日志 设置超限
This commit is contained in:
parent
ed4d2f9e73
commit
e9fc978c06
@ -594,6 +594,11 @@ export const menuOperate = {
|
||||
operation: OperationEvent.CTCCommand.setDeleteRunplanLabel.menu.operation,
|
||||
cmdType: CMD.CTC.CTC_LOG_SET_DELETE_LABEL
|
||||
},
|
||||
// 设置超限
|
||||
setTransfinite:{
|
||||
operation: OperationEvent.CTCCommand.setTransfinite.menu.operation,
|
||||
cmdType: CMD.CTC.CTC_LOG_SET_TRANSFINITE
|
||||
},
|
||||
// 修改行车计划的邻站信息
|
||||
modifyAdjacentStation:{
|
||||
operation: OperationEvent.CTCCommand.modifyAdjacentStation.menu.operation,
|
||||
|
@ -435,6 +435,29 @@
|
||||
<div class="runplanTableNo">33</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="90" prop="transfinite">
|
||||
<template slot="header">
|
||||
<div class="runplanTableTname runplanTwo3Level">超<br>限<br></div>
|
||||
<div class="runplanTableNo">33</div>
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<el-select
|
||||
v-model="tableData[scope.$index].transfinite"
|
||||
placeholder=""
|
||||
size="mini"
|
||||
popper-class="stationSelect"
|
||||
@change="changeTransfinite($event,scope.row,scope.$index)"
|
||||
>
|
||||
<!-- :class="judgeColor({scope.row,scope.$index})" -->
|
||||
<el-option
|
||||
v-for="item in transfiniteList"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div v-show="rpMenuPopShow" class="rpMenuPopOut" @click="closeRpMenu">
|
||||
<div class="rpMenuPop" :style="{'top':rpMenuPopTop+'px'}">
|
||||
@ -601,7 +624,13 @@ export default {
|
||||
// activeArriveRunPlan:{},
|
||||
currentRailwaySimulationRunplan:{},
|
||||
// radioSelected:''
|
||||
currentRow:null
|
||||
currentRow:null,
|
||||
transfiniteList:[
|
||||
{label:'不超限', value:'NO'},
|
||||
{label:'一级超限', value:'TRANSFINITE_ONE_LEVEL'},
|
||||
{label:'二级超限', value:'TRANSFINITE_TWO_LEVEL'},
|
||||
{label:'超级超限', value:'TRANSFINITE_SUPER'}
|
||||
]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -776,6 +805,22 @@ export default {
|
||||
this.$refs.stageRunplan.doShow(this.currentRailwaySimulationRunplan[stationCode]);
|
||||
}
|
||||
},
|
||||
// 设置超限
|
||||
changeTransfinite(event, row, index) {
|
||||
const params = {
|
||||
stationCode:row.stationCode,
|
||||
runPlanCode:row.code,
|
||||
transfinite:row.transfinite
|
||||
};
|
||||
commitOperate(menuOperate.CTC.setTransfinite, params, 3).then(({valid})=>{
|
||||
this.loading = false;
|
||||
if (valid) {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 修改发车股道
|
||||
changeDepartRunPlan(event, row, index) {
|
||||
const params = {
|
||||
stationCode:row.stationCode,
|
||||
@ -798,6 +843,7 @@ export default {
|
||||
// }
|
||||
// console.log(event, this.tableData[index].departRunPlan.sectionCode, row.departRunPlan.sectionCode, '------');
|
||||
},
|
||||
// 修改接车股道
|
||||
changeArriveRunPlan(event, row, index) {
|
||||
const params = {
|
||||
stationCode:row.stationCode,
|
||||
|
@ -415,6 +415,7 @@ export default {
|
||||
CTC_LOG_SET_START_RUN_PLAN:{value: 'CTC_LOG_SET_START_RUN_PLAN', label: '设置始发'},
|
||||
CTC_LOG_SET_END_RUN_PLAN:{value: 'CTC_LOG_SET_END_RUN_PLAN', label: '设置终到'},
|
||||
CTC_LOG_SET_DELETE_LABEL:{value: 'CTC_LOG_SET_DELETE_LABEL', label: '设置删除标识'},
|
||||
CTC_LOG_SET_TRANSFINITE:{value: 'CTC_LOG_SET_TRANSFINITE', label: '设置超限'},
|
||||
|
||||
CTC_ADD_RUN_PLAN_LIST_TO_EDIT_AREA:{value: 'CTC_ADD_RUN_PLAN_LIST_TO_EDIT_AREA', label: '增加列车固定径路'},
|
||||
CTC_COVER_RUN_PLAN_LIST_TO_EDIT_AREA:{value: 'CTC_COVER_RUN_PLAN_LIST_TO_EDIT_AREA', label: '导入列车固定径路'},
|
||||
|
@ -3918,6 +3918,13 @@ export const OperationEvent = {
|
||||
operation: '1147',
|
||||
domId: '_Tips-CTC-setDeleteRunplanLabel-Menu{TOP}'
|
||||
}
|
||||
},
|
||||
// 设置超限
|
||||
setTransfinite:{
|
||||
menu: {
|
||||
operation: '1148',
|
||||
domId: '_Tips-CTC-setTransfinite-Menu{TOP}'
|
||||
}
|
||||
}
|
||||
//
|
||||
// CTC_ZONE_SAVE_TRIP_NUMBER
|
||||
|
Loading…
Reference in New Issue
Block a user