From a049a67571f651d49387be202a6e80f50b631fac Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 13 Jul 2022 16:43:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20ctc=20?= =?UTF-8?q?=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datie_02/menus/dialog/trainRunplan.vue | 38 +++++++++++++++---- .../addDispatcherLogerRunplan.vue | 28 +++++++++++--- 2 files changed, 52 insertions(+), 14 deletions(-) diff --git a/src/jmapNew/theme/datie_02/menus/dialog/trainRunplan.vue b/src/jmapNew/theme/datie_02/menus/dialog/trainRunplan.vue index abc8a78d5..a3aeb7ee7 100644 --- a/src/jmapNew/theme/datie_02/menus/dialog/trainRunplan.vue +++ b/src/jmapNew/theme/datie_02/menus/dialog/trainRunplan.vue @@ -111,20 +111,20 @@ - 始发 + 始发 - 终到 + 终到
- 到达电力 + 到达电力 - 出发电力 + 出发电力
@@ -222,13 +222,13 @@ export default { arrivePlanTime:'', // 到达计划时间 arriveTripNumber:'', // 到达车次 arriveDirectionCode:'', // 到达方向编码(到达口) - arriveTransfinite:'', // 到达超限 + arriveTransfinite:null, // 到达超限 arriveElectrical:false, // 到达电力 departSectionCode:'', // 发车股道 departPlanTime:'', // 发车计划时间 departTripNumber:'', // 发车车次 departDirectionCode:'', // 发向方向编码(发车口) - departTransfinite:'', // 出发超限 + departTransfinite:null, // 出发超限 departElectrical:false, // 出发电力 startRunPlan:false, // 始发计划 true,false @@ -306,11 +306,33 @@ export default { } else { this.title = '新增列车信息'; this.model.stationCode = row.stationCode; + this.model.trainType = 'LOCAL_EXPRESS_PASSENGER_TRAIN'; // 列车类型 + this.model.runType = 'FAST_PASSENGER_TRAIN'; // 运行类型 } this.$nextTick(function () { this.$store.dispatch('training/emitTipFresh'); }); }, + changeEndRp(data) { + if (data) { + this.model.departSectionCode = ''; + this.model.departPlanTime = ''; + this.model.departTripNumber = ''; + this.model.departDirectionCode = ''; + this.model.departTransfinite = null; + this.model.departElectrical = false; + } + }, + changeStartRp(data) { + if (data) { + this.model.arriveSectionCode = ''; + this.model.arrivePlanTime = ''; + this.model.arriveTripNumber = ''; + this.model.arriveDirectionCode = ''; + this.model.arriveTransfinite = null; + this.model.arriveElectrical = false; + } + }, doClose() { this.loading = false; this.dialogShow = false; @@ -324,13 +346,13 @@ export default { arrivePlanTime:'', // 到达计划时间 arriveTripNumber:'', // 到达车次 arriveDirectionCode:'', // 到达方向编码(到达口) - arriveTransfinite:'', // 到达超限 + arriveTransfinite:null, // 到达超限 arriveElectrical:false, // 到达电力 departSectionCode:'', // 发车股道 departPlanTime:'', // 发车计划时间 departTripNumber:'', // 发车车次 departDirectionCode:'', // 发向方向编码(发车口) - departTransfinite:'', // 出发超限 + departTransfinite:null, // 出发超限 departElectrical:false, // 出发电力 startRunPlan:false, // 始发计划 true,false diff --git a/src/views/dispatcherLoger/addDispatcherLogerRunplan.vue b/src/views/dispatcherLoger/addDispatcherLogerRunplan.vue index 2860d6026..7673d25a6 100644 --- a/src/views/dispatcherLoger/addDispatcherLogerRunplan.vue +++ b/src/views/dispatcherLoger/addDispatcherLogerRunplan.vue @@ -91,13 +91,13 @@ - 始发 + 始发 - 终到 + 终到 电力 @@ -209,13 +209,13 @@ export default { arriveSectionCode:'', // 到达股道 arrivePlanTime:'', // 到达计划时间 arriveTripNumber:'', // 到达车次 - arriveStationCode:'', // 到达车站 + // arriveStationCode:'', // 到达车站 arriveDirectionCode:'', // 到达方向编码(到达口) departSectionCode:'', // 发车股道 departPlanTime:'', // 发车计划时间 departTripNumber:'', // 发车车次 - departStationCode:'', // 发车车站 + // departStationCode:'', // 发车车站 departDirectionCode:'', // 发向方向编码(发车口) startRunPlan:false, // 始发计划 true,false @@ -278,6 +278,22 @@ export default { this.filterArrSectionList = this.filterSectionList.filter(each=>{ return each.stationCode == stationCode; }); this.filterDepSectionList = this.filterSectionList.filter(each=>{ return each.stationCode == stationCode; }); }, + changeEndRp(data) { + if (data) { + this.model.departSectionCode = ''; + this.model.departPlanTime = ''; + this.model.departTripNumber = ''; + this.model.departDirectionCode = ''; + } + }, + changeStartRp(data) { + if (data) { + this.model.arriveSectionCode = ''; + this.model.arrivePlanTime = ''; + this.model.arriveTripNumber = ''; + this.model.arriveDirectionCode = ''; + } + }, doClose() { this.loading = false; this.dialogShow = false; @@ -288,12 +304,12 @@ export default { arriveSectionCode:'', // 到达股道 arrivePlanTime:'', // 到达计划时间 arriveTripNumber:'', // 到达车次 - arriveStationCode:'', // 到达车站 + // arriveStationCode:'', // 到达车站 arriveDirectionCode:'', // 到达方向编码(到达口) departSectionCode:'', // 发车股道 departPlanTime:'', // 发车计划时间 departTripNumber:'', // 发车车次 - departStationCode:'', // 发车车站 + // departStationCode:'', // 发车车站 departDirectionCode:'', // 发向方向编码(发车口) startRunPlan:false, // 始发计划 true,false