大铁项目 行车日志 修改车次号 代码调整
This commit is contained in:
parent
602732bb6d
commit
c83cf31bf3
@ -553,6 +553,11 @@ export const menuOperate = {
|
|||||||
modifyAdjacentStation:{
|
modifyAdjacentStation:{
|
||||||
operation: OperationEvent.CTCCommand.modifyAdjacentStation.menu.operation,
|
operation: OperationEvent.CTCCommand.modifyAdjacentStation.menu.operation,
|
||||||
cmdType: CMD.CTC.CTC_MODIFY_ADJACENT_STATION
|
cmdType: CMD.CTC.CTC_MODIFY_ADJACENT_STATION
|
||||||
|
},
|
||||||
|
// 修改车次号(大铁CTC)
|
||||||
|
modifyTripNumber:{
|
||||||
|
operation: OperationEvent.CTCCommand.modifyTripNumber.menu.operation,
|
||||||
|
cmdType: CMD.CTC.CTC_MODIFY_TRIP_NUMBER
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
:value="item.code"
|
:value="item.code"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>站驶来</span>
|
<div style="display:inline-block">站驶来</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="adjacentStationEnd">
|
<div class="adjacentStationEnd">
|
||||||
<span>驶向</span>
|
<div style="display:inline-block">驶向</div>
|
||||||
<el-select
|
<el-select
|
||||||
v-model="model.arriveStationCode"
|
v-model="model.arriveStationCode"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
@ -43,7 +43,7 @@
|
|||||||
:value="item.code"
|
:value="item.code"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>站</span>
|
<div style="display:inline-block">站</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-row justify="center" class="button-group">
|
<el-row justify="center" class="button-group">
|
||||||
@ -101,8 +101,8 @@ export default {
|
|||||||
doShow(row) {
|
doShow(row) {
|
||||||
this.model.stationCode = row.stationCode;
|
this.model.stationCode = row.stationCode;
|
||||||
this.model.runPlanCode = row.code;
|
this.model.runPlanCode = row.code;
|
||||||
this.model.arriveStationCode = row.arriveStationCode || '';
|
this.model.arriveStationCode = (row.arriveRunPlan && row.arriveRunPlan.stationCode) || '';
|
||||||
this.model.departStationCode = row.departStationCode || '';
|
this.model.departStationCode = (row.departRunPlan && row.departRunPlan.stationCode) || '';
|
||||||
this.tripNumber = row.tripNumber;
|
this.tripNumber = row.tripNumber;
|
||||||
this.dialogShow = true;
|
this.dialogShow = true;
|
||||||
this.$nextTick(function () {
|
this.$nextTick(function () {
|
||||||
|
@ -464,6 +464,7 @@
|
|||||||
<send-runplan ref="sendRunplan" @closeFlash="closeFlash" />
|
<send-runplan ref="sendRunplan" @closeFlash="closeFlash" />
|
||||||
<modify-adjacent-station ref="modifyAdjacentStation" @clearRpRow="clearRpRow" />
|
<modify-adjacent-station ref="modifyAdjacentStation" @clearRpRow="clearRpRow" />
|
||||||
<delete-runplan ref="deleteRunplan" @clearRpRow="clearRpRow" />
|
<delete-runplan ref="deleteRunplan" @clearRpRow="clearRpRow" />
|
||||||
|
<modify-trip-number ref="modifyTripNumber" @clearRpRow="clearRpRow" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -482,13 +483,15 @@ import Rph from '@/assets/ctc_icon/rph.png';
|
|||||||
import SendRunplan from './dialog/sendRunplan';
|
import SendRunplan from './dialog/sendRunplan';
|
||||||
import DeleteRunplan from './dialog/deleteRunplan';
|
import DeleteRunplan from './dialog/deleteRunplan';
|
||||||
import ModifyAdjacentStation from './dialog/modifyAdjacentStation';
|
import ModifyAdjacentStation from './dialog/modifyAdjacentStation';
|
||||||
|
import ModifyTripNumber from './dialog/modifyTripNumber';
|
||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
name:'RunplanPane',
|
name:'RunplanPane',
|
||||||
components: {
|
components: {
|
||||||
SendRunplan,
|
SendRunplan,
|
||||||
DeleteRunplan,
|
DeleteRunplan,
|
||||||
ModifyAdjacentStation
|
ModifyAdjacentStation,
|
||||||
|
ModifyTripNumber
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -638,8 +641,10 @@ export default {
|
|||||||
this.rpMenuPopShow = false;
|
this.rpMenuPopShow = false;
|
||||||
},
|
},
|
||||||
// 修改车次号
|
// 修改车次号
|
||||||
modifyTripNumber() {
|
modifyTripNumber(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
this.rpMenuPopShow = false;
|
||||||
|
this.$refs.modifyTripNumber.doShow(this.currentRow);
|
||||||
},
|
},
|
||||||
// 修改相关邻站
|
// 修改相关邻站
|
||||||
modifyAdjacentStation(event) {
|
modifyAdjacentStation(event) {
|
||||||
|
@ -392,6 +392,7 @@ export default {
|
|||||||
CTC_MODIFY_TRACK_SECTION:{value: 'CTC_MODIFY_TRACK_SECTION', label: '修改股道'},
|
CTC_MODIFY_TRACK_SECTION:{value: 'CTC_MODIFY_TRACK_SECTION', label: '修改股道'},
|
||||||
CTC_BATCH_MODIFY_RUN_PLAN:{value: 'CTC_BATCH_MODIFY_RUN_PLAN', label: '批量修改股道'},
|
CTC_BATCH_MODIFY_RUN_PLAN:{value: 'CTC_BATCH_MODIFY_RUN_PLAN', label: '批量修改股道'},
|
||||||
CTC_REMOVE_RUN_PLAN:{value: 'CTC_REMOVE_RUN_PLAN', label: '移除行车日志'},
|
CTC_REMOVE_RUN_PLAN:{value: 'CTC_REMOVE_RUN_PLAN', label: '移除行车日志'},
|
||||||
CTC_MODIFY_ADJACENT_STATION:{value: 'CTC_MODIFY_ADJACENT_STATION', label: '修改邻站信息'}
|
CTC_MODIFY_ADJACENT_STATION:{value: 'CTC_MODIFY_ADJACENT_STATION', label: '修改邻站信息'},
|
||||||
|
CTC_MODIFY_TRIP_NUMBER:{value: 'CTC_MODIFY_TRIP_NUMBER', label: '修改车次号(大铁CTC)'}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -3694,6 +3694,13 @@ export const OperationEvent = {
|
|||||||
operation: '1113',
|
operation: '1113',
|
||||||
domId: '_Tips-CTC-modifyAdjacentStation-Menu{TOP}'
|
domId: '_Tips-CTC-modifyAdjacentStation-Menu{TOP}'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 修改车次号(大铁CTC)
|
||||||
|
modifyTripNumber:{
|
||||||
|
menu: {
|
||||||
|
operation: '1114',
|
||||||
|
domId: '_Tips-CTC-modifyTripNumber-Menu{TOP}'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user