diff --git a/src/views/planMonitor/editTool/menus/modifyingTask.vue b/src/views/planMonitor/editTool/menus/modifyingTask.vue index 8db9d6158..360411ab5 100644 --- a/src/views/planMonitor/editTool/menus/modifyingTask.vue +++ b/src/views/planMonitor/editTool/menus/modifyingTask.vue @@ -190,7 +190,7 @@ - {{ $t('planMonitor.modifying.detail') }} + {{ '经停转换轨 / 站台轨:' }} @@ -406,17 +406,24 @@ export default { planId: this.$route.query.planId || this.loadRunPlanId, SDTNumber: `${this.serviceNumber}${this.tripNumber}` }; - this.editModel.routingList = []; + this.routingList = []; getRoutingBySDTNumber(model).then(resp => { // 根据车次号查询交路 // const routingObj = resp.data; const editData = this.$store.state.runPlan.editData[this.serviceNumber]; if (editData) { const trainInfo = editData.trainMap[this.tripNumber]; const lastIndex = trainInfo.stationTimeList.length - 1; + this.routingList.push({ + code:resp.data.code, + startStationCode:resp.data.startStationCode, + endStationCode:resp.data.endStationCode, + endSectionCode:resp.data.endSectionCode, + startSectionCode:resp.data.startSectionCode + }); this.editModel = { tripNumber: this.tripNumber, startStationCode: resp.data.startStationCode, - startTime: formatTime(trainInfo.stationTimeList[0].secondTime + 7200), + startTime: formatTime(trainInfo.stationTimeList[1].secondTime + 7200), endStationCode: resp.data.endStationCode, endTime: formatTime(trainInfo.stationTimeList[lastIndex].secondTime + 7200), routingCode : resp.data.code,