From 9f205b77668ad9e46e23f7101752d8df38223b38 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 2 Dec 2022 15:08:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=9B=BE=E7=BC=96=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/menus/addPlanningTrain.vue | 172 ++++ .../diagramEdit/components/menus/addTask.vue | 456 +++++++++ .../components/menus/components/dataTable.vue | 233 +++++ .../components/menus/deleteTask.vue | 97 ++ .../components/menus/duplicateTrain.vue | 117 +++ .../components/menus/editPlanName.vue | 116 +++ .../components/menus/editPlanningTrain.vue | 365 +++++++ .../components/menus/gernaratePlanTrain.vue | 354 +++++++ .../components/menus/modifyService.vue | 169 ++++ .../menus/modifyingStationIntervalTime.vue | 293 ++++++ .../menus/modifyingStationStopTime.vue | 134 +++ .../components/menus/modifyingTask.vue | 487 ++++++++++ .../components/menus/movePlaningTrain.vue | 107 ++ .../diagramEdit/components/menus/offLine.vue | 92 ++ .../components/menus/systermOut.vue | 82 ++ .../components/menus/taskDialog.vue | 86 ++ .../routingoperate/importRouteOperate.vue | 267 +++++ .../components/routingoperate/preview.vue | 62 ++ .../components/routingoperate/routeConfig.vue | 753 +++++++++++++++ .../components/routingoperate/routeMap.vue | 209 ++++ .../routingoperate/routeOperate.vue | 284 ++++++ .../routingoperate/runplanConfig.vue | 214 ++++ .../diagramEdit/components/schedule.vue | 848 ++++++++++++++++ .../display/terminals/diagramEdit/index.vue | 258 +++++ .../display/terminals/diagramEdit/menuBar.vue | 912 ++++++++++++++++++ .../diagramEdit/menus/createEmptyPlan.vue | 291 ++++++ .../diagramEdit/menus/parameter/baseLoop.vue | 62 ++ .../menus/parameter/baseParameter.vue | 78 ++ .../menus/parameter/baseParkingDepot.vue | 42 + .../menus/parameter/baseRouting.vue | 49 + .../menus/parameter/baseStation.vue | 42 + .../diagramEdit/menus/parameter/index.vue | 102 ++ .../parameter/modifyingDepotProperty.vue | 82 ++ .../parameter/modifyingStationProperty.vue | 127 +++ .../modifyingStationStandProperty.vue | 88 ++ .../terminals/diagramEdit/statusBar.vue | 253 +++++ .../terminals/diagramEdit/titleBar.vue | 74 ++ src/views/newMap/display/terminals/index.vue | 5 +- .../newMap/display/terminals/terminalMenu.vue | 6 + .../publish/publishMap/editSubsystem.vue | 9 +- 40 files changed, 8473 insertions(+), 4 deletions(-) create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/addPlanningTrain.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/components/dataTable.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/duplicateTrain.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanName.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanningTrain.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/gernaratePlanTrain.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/modifyService.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationIntervalTime.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationStopTime.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingTask.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/movePlaningTrain.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/offLine.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/systermOut.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/menus/taskDialog.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/importRouteOperate.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/preview.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeConfig.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeMap.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeOperate.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/routingoperate/runplanConfig.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/components/schedule.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/index.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menuBar.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/createEmptyPlan.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseLoop.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParameter.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParkingDepot.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseRouting.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseStation.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/index.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingDepotProperty.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationProperty.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationStandProperty.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/statusBar.vue create mode 100644 src/views/newMap/display/terminals/diagramEdit/titleBar.vue diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/addPlanningTrain.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/addPlanningTrain.vue new file mode 100644 index 000000000..9865b6ddd --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/addPlanningTrain.vue @@ -0,0 +1,172 @@ + + + + + + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue new file mode 100644 index 000000000..367fc2e4c --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/addTask.vue @@ -0,0 +1,456 @@ + + + + + + {{ $t('planMonitor.tripNumber')+$t('global.colon') }} + + + + + + + + {{ $t('global.startTime')+$t('global.colon') }} + + + + + + + + + + + + + 运行等级 + + + + + + + + + + {{ $t('planMonitor.crossRailway')+$t('global.colon') }} + + + + + + {{ formatName(scope.row.startStationCode) }} + + + + + {{ formatName(scope.row.startSectionCode) }} + + + + + {{ formatName(scope.row.endStationCode) }} + + + + + {{ formatName(scope.row.endSectionCode) }} + + + + + {{ routingTypeMap[scope.row.routingType] }} + + + + + {{ `${frontMap[String(scope.row.startTbFront)]} - ${frontMap[String(scope.row.endTbFront)]}` }} + + + + + + + {{ '经停转换轨 / 站台轨'+$t('global.colon') }} + + + + + + {{ formatName(scope.row.stationCode) }} + + + + + {{ formatName(scope.row.sectionCode) }} + + + + + + {{ scope.row.arriveTime }} + + + + + + {{ scope.row.stopTime+'s' }} + + + + + + {{ scope.row.departureTime }} + + + + + {{ scope.row.speedLevel }} + {{ '('+scope.row.speedLevelTime+'s)' }} + + + + + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/components/dataTable.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/components/dataTable.vue new file mode 100644 index 000000000..ede0b7757 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/components/dataTable.vue @@ -0,0 +1,233 @@ + + + + + {{ config.title }} + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue new file mode 100644 index 000000000..229d0ea3e --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/deleteTask.vue @@ -0,0 +1,97 @@ + + + + {{ $t('planMonitor.deleteAllPreviousTasks') }} + + + {{ $t('planMonitor.deleteAllSubsequentTasks') }} + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/duplicateTrain.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/duplicateTrain.vue new file mode 100644 index 000000000..752f61b2a --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/duplicateTrain.vue @@ -0,0 +1,117 @@ + + + + + {{ $t('planMonitor.forward') }} + {{ $t('planMonitor.backward') }} + + + + {{ $t('planMonitor.frequency') }} + + + + + + {{ $t('planMonitor.intervals') }} + + + {{ $t('global.second') }} + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanName.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanName.vue new file mode 100644 index 000000000..3d1bc99f9 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanName.vue @@ -0,0 +1,116 @@ + + + + + + + + + + + + + {{ $t('map.cancel') }} + {{ $t('global.modify') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanningTrain.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanningTrain.vue new file mode 100644 index 000000000..86f397a36 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/editPlanningTrain.vue @@ -0,0 +1,365 @@ + + + + {{ $t('planMonitor.serviceNumber')+$t('global.colon') }} + + + + + + + {{ $t('planMonitor.task') }} + + + + + + + {{ formatName(scope.row.startStationCode) }} + + + + + {{ scope.row.startTime }} + + + + + {{ formatName(scope.row.endStationCode) }} + + + + + {{ scope.row.endTime }} + + + + + + + {{ $t('planMonitor.modifyTask') }} + + {{ $t('planMonitor.addTask') }} + + {{ $t('planMonitor.deleteTask') }} + {{ $t('global.confirm') }} + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/gernaratePlanTrain.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/gernaratePlanTrain.vue new file mode 100644 index 000000000..752ea1e56 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/gernaratePlanTrain.vue @@ -0,0 +1,354 @@ + + + + + + + {{ $t('global.confirm') }} + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyService.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyService.vue new file mode 100644 index 000000000..42ea80616 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyService.vue @@ -0,0 +1,169 @@ + + + + 服务号: + + + {{ serviceNumberTips }} + + + + 车次号: + + + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationIntervalTime.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationIntervalTime.vue new file mode 100644 index 000000000..ebcbe82c1 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationIntervalTime.vue @@ -0,0 +1,293 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 速度单位: (Km/h) + + + + + + + + {{ formatName(scope.row.startStationCode) }} + + + + + {{ formatName(scope.row.startSectionCode) }} + + + + + {{ formatName(scope.row.endStationCode) }} + + + + + {{ formatName(scope.row.endSectionCode) }} + + + + + {{ scope.row.right?'上行':'下行' }} + + + + + {{ scope.row.distance }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 更新距离 + 关闭 + 更新 + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationStopTime.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationStopTime.vue new file mode 100644 index 000000000..ef0d4bf76 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingStationStopTime.vue @@ -0,0 +1,134 @@ + + + + + + + {{ formatName(scope.row.stationCode) }} + + + + + {{ formatName(scope.row.sectionCode) }} + + + + + + {{ formatSelect(scope.row.sectionCode) }} + + + + + + + + + + + 关闭 + 更新 + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingTask.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingTask.vue new file mode 100644 index 000000000..b94bf06cd --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/modifyingTask.vue @@ -0,0 +1,487 @@ + + + + + + + {{ $t('planMonitor.modifying.serviceNumber') }} + + + + + + + + + + {{ $t('planMonitor.modifying.defaultRunLevel') }} + + + + + + + + + + + + + + {{ $t('planMonitor.modifying.tripNumber') }} + + + + + + + + + + + + {{ $t('planMonitor.modifying.startTime') }}: + + + + + + + + + {{ '经停转换轨 / 站台轨:' }} + + + + + + {{ formatName(scope.row.stationCode) }} + + + + + {{ formatName(scope.row.sectionCode) }} + + + + + {{ scope.row.arriveTime }} + + + + + {{ scope.row.stopTime+'s' }} + + + + + {{ scope.row.departureTime }} + + + + + {{ scope.row.speedLevel }} + {{ '('+scope.row.speedLevelTime+'s)' }} + + + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/movePlaningTrain.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/movePlaningTrain.vue new file mode 100644 index 000000000..398b84745 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/movePlaningTrain.vue @@ -0,0 +1,107 @@ + + + + + {{ $t('planMonitor.forward') }} + {{ $t('planMonitor.backward') }} + + + + {{ $t('planMonitor.intervals') }} + + + {{ $t('global.second') }} + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/offLine.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/offLine.vue new file mode 100644 index 000000000..342394e08 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/offLine.vue @@ -0,0 +1,92 @@ + + + + + + {{ params.message }} + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/systermOut.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/systermOut.vue new file mode 100644 index 000000000..e7ce60744 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/systermOut.vue @@ -0,0 +1,82 @@ + + + + + {{ $t('global.cancel') }} + {{ $t('global.confirm') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/menus/taskDialog.vue b/src/views/newMap/display/terminals/diagramEdit/components/menus/taskDialog.vue new file mode 100644 index 000000000..bb0f81bc6 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/menus/taskDialog.vue @@ -0,0 +1,86 @@ + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/importRouteOperate.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/importRouteOperate.vue new file mode 100644 index 000000000..8244ca564 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/importRouteOperate.vue @@ -0,0 +1,267 @@ + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/preview.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/preview.vue new file mode 100644 index 000000000..ca8a546db --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/preview.vue @@ -0,0 +1,62 @@ + + + + + + + + + {{ item.options[scope.row[item.prop]] }} + + + + + {{ scope.row[item.prop] }} + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeConfig.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeConfig.vue new file mode 100644 index 000000000..2e23da749 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeConfig.vue @@ -0,0 +1,753 @@ + + + + + {{ $t('map.preview') }} + {{ $t('map.newConstruction') }} + + + + + + + + + + + + + + + + {{ $t('map.activate') }} + + + + + + + + + + + {{ $t('map.activate') }} + + + + + + + + + + + + + + 生成经停区段 + + + + {{ formatName(scope.row.stationCode) }} + + + + + {{ formatName(scope.row.sectionCode) }} + + + + + + {{ $t('map.remove') }} + + + + + + 车站: + + + + {{ $t('map.activate') }} + + + 区段: + + + + {{ $t('map.activate') }} + + {{ $t('map.add') }} + + + + + + + {{ $t('map.save') }} + + {{ $t('map.updata') }} + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeMap.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeMap.vue new file mode 100644 index 000000000..f250fd50b --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeMap.vue @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeOperate.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeOperate.vue new file mode 100644 index 000000000..e32c5d653 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/routeOperate.vue @@ -0,0 +1,284 @@ + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/runplanConfig.vue b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/runplanConfig.vue new file mode 100644 index 000000000..b0c6cb974 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/routingoperate/runplanConfig.vue @@ -0,0 +1,214 @@ + + + + + + + + + {{ scope.row.stationName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('map.save') }} + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/components/schedule.vue b/src/views/newMap/display/terminals/diagramEdit/components/schedule.vue new file mode 100644 index 000000000..d7e8a4b47 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/components/schedule.vue @@ -0,0 +1,848 @@ + + + + + + + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/index.vue b/src/views/newMap/display/terminals/diagramEdit/index.vue new file mode 100644 index 000000000..e91500c29 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/index.vue @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menuBar.vue b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue new file mode 100644 index 000000000..cd31f998d --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menuBar.vue @@ -0,0 +1,912 @@ + + + + + + + {{ item.title }} + + + + + {{ item.title }} + + + + + + + + + + + + {{ child.title }} + + + + + + + + {{ child.title }} + + + + + + + + + + + + + + + {{ grandchild.title }} + + + + + + + + {{ grandchild.title }} + + + + + + + + + + + + + + + + + {{ child.title }} + + + + + + + + {{ child.title }} + + + + + + + + + + + + + 运行图名称: + + 取 消 + 确 定 + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/createEmptyPlan.vue b/src/views/newMap/display/terminals/diagramEdit/menus/createEmptyPlan.vue new file mode 100644 index 000000000..014ea95e7 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/createEmptyPlan.vue @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('map.confirm') }} + {{ $t('map.cancel') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseLoop.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseLoop.vue new file mode 100644 index 000000000..a6e24857f --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseLoop.vue @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + {{$t('global.add')}} + + + + + {{$t('global.delete')}} + + + + + {{$t('global.modify')}} + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParameter.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParameter.vue new file mode 100644 index 000000000..42f501f84 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParameter.vue @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + {{ $t('global.second') }} + + + + {{ $t('global.second') }} + + + + + + + {{ $t('global.second') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParkingDepot.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParkingDepot.vue new file mode 100644 index 000000000..84063b61d --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseParkingDepot.vue @@ -0,0 +1,42 @@ + + + + + + + + + + {{$t('global.modify')}} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseRouting.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseRouting.vue new file mode 100644 index 000000000..bfcf501a8 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseRouting.vue @@ -0,0 +1,49 @@ + + + + + + + + + + + + {{$t('global.add')}} + {{$t('global.delete')}} + {{$t('global.modify')}} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseStation.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseStation.vue new file mode 100644 index 000000000..644630d75 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/baseStation.vue @@ -0,0 +1,42 @@ + + + + + + + + + + {{ $t('planMonitor.modifyAttribute') }} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/index.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/index.vue new file mode 100644 index 000000000..5061771ff --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/index.vue @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + {{$t('global.confirm')}} + {{$t('global.cancel')}} + {{$t('global.application')}} + + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingDepotProperty.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingDepotProperty.vue new file mode 100644 index 000000000..42f93ddb6 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingDepotProperty.vue @@ -0,0 +1,82 @@ + + + + + + + + + + {{$t('global.second')}} + + + + {{$t('global.second')}} + + + + {{$t('planMonitor.secondsCanBeRunnedByTrain')}} + + + + + {{$t('global.confirm')}} + {{$t('global.cancel')}} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationProperty.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationProperty.vue new file mode 100644 index 000000000..a777ec92d --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationProperty.vue @@ -0,0 +1,127 @@ + + + + + {{$t('planMonitor.defaultStopTime')}} + + + + + + {{$t('planMonitor.defaultRunLevel')}} + + + + + + + + + {{$t('planMonitor.station')}} + + + + + + + {{$t('planMonitor.modifyPlatformProperties')}} + + + + + + + {{$t('global.confirm')}} + {{$t('global.cancel')}} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationStandProperty.vue b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationStandProperty.vue new file mode 100644 index 000000000..752a6aab6 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/menus/parameter/modifyingStationStandProperty.vue @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + {{$t('global.confirm')}} + {{$t('global.cancel')}} + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/statusBar.vue b/src/views/newMap/display/terminals/diagramEdit/statusBar.vue new file mode 100644 index 000000000..dbd6ddfe0 --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/statusBar.vue @@ -0,0 +1,253 @@ + + + + + {{ $t('planMonitor.serviceAndTripNumber') }} + {{ $t('planMonitor.gerneratePlan') }} + {{ $t('planMonitor.addPlan') }} + {{ $t('planMonitor.deletePlan') }} + 移动计划 + {{ $t('planMonitor.duplicatePlan') }} + {{ $t('planMonitor.addTask') }} + {{ $t('planMonitor.deleteTask') }} + {{ $t('planMonitor.modifyTask') }} + 清除数据 + + + {{ $t('planMonitor.validityCheck') }} + + + + + + + + diff --git a/src/views/newMap/display/terminals/diagramEdit/titleBar.vue b/src/views/newMap/display/terminals/diagramEdit/titleBar.vue new file mode 100644 index 000000000..d58a6efec --- /dev/null +++ b/src/views/newMap/display/terminals/diagramEdit/titleBar.vue @@ -0,0 +1,74 @@ + + + + {{ mapName }} + ({{ runPlanName }}) + + + + + + diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue index 219ed755f..79d50a098 100644 --- a/src/views/newMap/display/terminals/index.vue +++ b/src/views/newMap/display/terminals/index.vue @@ -24,6 +24,7 @@ + { - if (row.paramVO.itemMap[item.key]) { + if (row.paramVO.itemMap && row.paramVO.itemMap[item.key]) { if (row.paramVO.itemMap[item.key] === 'true') { item.value = true; } else if (row.paramVO.itemMap[item.key] === 'false') { @@ -255,7 +258,7 @@ export default { item.value = row.paramVO.itemMap[item.key] === null ? '' : row.paramVO.itemMap[item.key]; } } - if (item.key === 'TRAINING' && row.paramVO.itemMap[item.key]) { + if (item.key === 'TRAINING' && row.paramVO.itemMap && row.paramVO.itemMap[item.key]) { getTrainingDetailNew(this.ruleForm.trainingId).then(resp => { this.trainingName = resp.data.name; }).catch(e=> { console.error(e); }); } });