From 6e6c548d739efcf57e7fbeb6980ed194c0cd7662 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Mon, 30 May 2022 18:06:03 +0800
Subject: [PATCH 01/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=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/updateTrip.vue | 26 ++++++-------------
1 file changed, 8 insertions(+), 18 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/dialog/updateTrip.vue b/src/jmapNew/theme/datie_02/menus/dialog/updateTrip.vue
index 0e985813a..49a60e088 100644
--- a/src/jmapNew/theme/datie_02/menus/dialog/updateTrip.vue
+++ b/src/jmapNew/theme/datie_02/menus/dialog/updateTrip.vue
@@ -71,33 +71,31 @@ export default {
});
},
handleTripNumber() {
+ this.judgeTripNumber();
+ },
+ judgeTripNumber() {
const figuresOfServiceMinNumber = 2;
const figuresOfServiceMaxNumber = 6;
// this.$store.state.map.mapConfig.figuresOfServiceNumber;
const tripNumber = this.tripNumber;
const judge = /^[a-zA-Z0-9]*[\d]$/.test(this.tripNumber);
+ let result = false;
if (judge) {
if (tripNumber.toString().length > figuresOfServiceMaxNumber || tripNumber.toString().length < figuresOfServiceMinNumber) {
this.messageTip1 = '车次号长度' + figuresOfServiceMinNumber + '-' + figuresOfServiceMaxNumber + '位';
+ result = false;
} else {
- // this.tripNumber = tripNumber;
this.messageTip1 = '';
+ result = true;
}
} else {
this.tripNumber = '';
this.messageTip1 = '请输入车次号(最后一位数字)';
}
+ return result;
},
commit() {
- const figuresOfServiceMinNumber = 2;
- const figuresOfServiceMaxNumber = 6;
- let result = false;
- const tripNumber = this.tripNumber;
- if (tripNumber.toString().length > figuresOfServiceMaxNumber || tripNumber.toString().length < figuresOfServiceMinNumber) {
- result = false;
- } else {
- result = true;
- }
+ const result = this.judgeTripNumber();
if (this.tripNumber && result) {
const params = {
tripNumber: this.tripNumber
@@ -114,15 +112,7 @@ export default {
this.doClose();
this.$refs.noticeInfo.doShow();
});
-
- } else {
- if (this.tripNumber) {
- this.messageTip1 = '该车次号长度' + figuresOfServiceMinNumber + '-' + figuresOfServiceMaxNumber + '位';
- } else {
- this.messageTip1 = '请输入车次号(最后一位数字)';
- }
}
-
},
cancel() {
const operate = {
From 0c0b9074334cc4c399022e8aea4d80643d0dd524 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 31 May 2022 11:31:21 +0800
Subject: [PATCH 02/84] =?UTF-8?q?ctc=20=E6=B7=BB=E5=8A=A0=20=E9=98=B6?=
=?UTF-8?q?=E6=AE=B5=E8=AE=A1=E5=88=92=E7=9B=B8=E5=85=B3=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/theme/datie_02/menus/index.vue | 12 ++-
.../theme/datie_02/menus/runplanPane.vue | 74 +++++++++++++++++++
2 files changed, 83 insertions(+), 3 deletions(-)
create mode 100644 src/jmapNew/theme/datie_02/menus/runplanPane.vue
diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue
index 6158fbfdd..a0c356eba 100644
--- a/src/jmapNew/theme/datie_02/menus/index.vue
+++ b/src/jmapNew/theme/datie_02/menus/index.vue
@@ -19,7 +19,7 @@
-
+
@@ -54,6 +54,7 @@
+
@@ -68,6 +69,7 @@ import MenuTrain from './menuTrain';
import MenuStation from './menuStation';
import MenuBar from './menuBar';
import MenuButtonCtc from './menuButtonCtc';
+import RunplanPane from './runplanPane';
import PassiveAlarm from './passiveDialog/alarm';
import PassiveContorl from '@/jmapNew/theme/components/menus/passiveDialog/control';
import PassiveTimeout from './passiveDialog/timeout';
@@ -106,7 +108,8 @@ export default {
PassiveAlarm,
PassiveContorl,
PassiveTimeout,
- MenuButtonCtc
+ MenuButtonCtc,
+ RunplanPane
},
props: {
selected: {
@@ -208,7 +211,10 @@ export default {
if (months.length < 2) { months = '0' + months; }
if (dates.length < 2) { dates = '0' + dates; }
this.dateString = years + months + dates;
- }
+ },
+ handleRunplan(){
+ this.$refs.runplanPane.doShow()
+ }
}
};
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
new file mode 100644
index 000000000..dc488fb0d
--- /dev/null
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
From 90428b6f8e113c98a7602455a3405f54ecc215ea Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 31 May 2022 14:28:15 +0800
Subject: [PATCH 03/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 113 ++++++++++++++++--
1 file changed, 106 insertions(+), 7 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index dc488fb0d..61bb849fb 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -1,10 +1,40 @@
-
-
+
+
-
-
+
+
+
+
预告(F1)
+
同意(F2)
+
到达(F3)
+
出发(F4)
+
通过(F11)
+
邻站(F6)
+
取消接车(Esc)
+
取消闭塞(F6)
+
取消发车(F7)
+
+
+
+ table
+
@@ -49,10 +79,13 @@ export default {
border: 1px #a5a5a5 solid;
}
.runplanMenuButton{
- height: 35px;
+ height: 37px;
background: #f0f0f0;
border: 1px #a5a5a5 solid;
margin-top: 1px;
+ display: flex;
+ flex-direction: row;
+ align-items: flex-start;
}
.runplanContent{
height: 695px;
@@ -61,14 +94,80 @@ export default {
flex-direction: row;
}
.runplanContentL{
- width:60px;
+ width:62px;
height:100%;
+ background: #f0f0f0;
+ border-bottom: 1px #afafaf solid;
}
.runplanContentR{
- flex-grow:1
+ flex-grow:1;
+ border-top: 3px #818181 solid;
+ border-left: 3px #818181 solid;
+ overflow-x: auto;
+ overflow-y: auto;
}
.runplanBottom{}
.runplanBottomL{}
.runplanBottomC{}
.runplanBottomR{}
+.runplanLine{
+ margin-top: 1px;
+ height: 31px;
+ width: 4px;
+ border: 1px #b3b3b2 solid;
+ margin-left: 2px;
+ background: #f7f7f7;
+}
+.runplanVLine{
+ margin-top: 1px;
+ width: 56px;
+ height: 4px;
+ border: 1px #b3b3b2 solid;
+ margin-left: 2px;
+ background: #f7f7f7;
+}
+.runplanContentLIn{
+ margin: 2px;
+ margin-top: 33px;
+ border-top: 1px #ccc solid;
+}
+.runplanContentBtn{
+ font-size: 13px;
+ text-align: center;
+ padding: 9px 0px;
+ border-bottom: 1px #ccc solid;
+}
+.rpDispacherCommand{margin-left: 10px;}
+.runplanClickBtn{
+ background: #f0f0f0;
+ font-size: 13px;
+ border-top: 2px #e0e0e0 solid;
+ border-left: 2px #e0e0e0 solid;
+ border-bottom: 2px #4c4c4c solid;
+ border-right: 2px #4c4c4c solid;
+ padding: 6px 15px;
+ margin-top: 2px;
+}
+.runplanBtnGroup{
+ display: flex;
+ flex-direction: row;
+ align-items: flex-start;
+ margin-left: 145px;
+}
+.runplanStatusGroup{
+ display: flex;
+ flex-direction: row;
+ align-items: flex-start;
+ margin-left: 225px;
+ font-size: 13px;
+}
+.eachRunplanStatus{
+ border-top: 2px #7e7e7e solid;
+ border-left: 2px #7e7e7e solid;
+ border-bottom: 2px #e5e5e5 solid;
+ border-right: 2px #e5e5e5 solid;
+ padding: 6px 15px;
+ margin-top: 2px;
+ background: #f0f0f0;
+}
From 270c32052c9deb58bf4503332a1161cc005b6c82 Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Tue, 31 May 2022 18:09:34 +0800
Subject: [PATCH 04/84] =?UTF-8?q?ctc=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=2005/31?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/config/skinCode/datie_02.js | 48 +++++++
src/jmapNew/shape/graph/SignalButton/index.js | 60 +++++---
src/jmapNew/shape/graph/Station/EThreeLamp.js | 128 ++++++++++++++++++
src/jmapNew/shape/graph/Station/index.js | 127 ++++++++++++++++-
.../iscsDraw/iscsCommonElem/stateTable.vue | 2 +-
src/views/newMap/displayNew/menuDemon.vue | 7 +-
src/views/newMap/displayNew/menuSchema.vue | 4 +-
7 files changed, 352 insertions(+), 24 deletions(-)
create mode 100644 src/jmapNew/shape/graph/Station/EThreeLamp.js
diff --git a/src/jmapNew/config/skinCode/datie_02.js b/src/jmapNew/config/skinCode/datie_02.js
index bcc6fa50e..b0ad9d229 100644
--- a/src/jmapNew/config/skinCode/datie_02.js
+++ b/src/jmapNew/config/skinCode/datie_02.js
@@ -453,6 +453,54 @@ class SkinCode extends defaultStyle {
text: '非常站控',
lightColor: '#ff0',
defaultColor: '#ccc',
+ },
+ selfDisciplineThree: {
+ offset: { x: 0, y: 0 },
+ text: '分散自律',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ graphRoad: {
+ show: true,
+ offset: { x: 0, y: 0 },
+ text: '按图排路',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ planControl: {
+ show: true,
+ offset: { x: 0, y: 0 },
+ text: '计划控制',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ centerCommunication: {
+ show: true,
+ offset: { x: 0, y: 30 },
+ text: '中心通信',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ selfDisciplineCommunication: {
+ show: true,
+ offset: { x: 0, y: 30 },
+ text: '自律机通信',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ allowedTurnBack: {
+ show: true,
+ offset: { x: 0, y: 30 },
+ text: '允许转回',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
+ },
+ trainControl: {
+ show: true,
+ offset: { x: 0, y: 30 },
+ text: '列控',
+ lightColor: '#0f0',
+ defaultColor: '#ccc'
}
}
};
diff --git a/src/jmapNew/shape/graph/SignalButton/index.js b/src/jmapNew/shape/graph/SignalButton/index.js
index 5aedfe2de..a533eafb0 100644
--- a/src/jmapNew/shape/graph/SignalButton/index.js
+++ b/src/jmapNew/shape/graph/SignalButton/index.js
@@ -22,23 +22,46 @@ export default class SignalButton extends Group {
create() {
const model = this.model;
const fillColor = this.getTypeColor();
- this.rectButton = new Rect({
- zlevel: this.zlevel,
- z: this.z,
- shape: {
- x: model.position.x,
- y: model.position.y,
- width: 14,
- height: 14
- },
- style: {
- lineDash: null,
- stroke: '#69666E',
- lineWidth:1,
- fill: fillColor
- }
- });
- this.add(this.rectButton);
+ const queryList = window.location.search.substring(1).split('&');
+ const queryCtc = queryList.find(item => {
+ return item.includes('ctc');
+ });
+ const ctcArcList = ['OCCLUSION', 'RECOVERY', 'CHANGE_DIRECTION', 'ACCIDENT', 'DEPART_ASSIST', 'PICK_ASSIST', 'ASSIST'];
+ if (queryCtc && ctcArcList.includes(model.type)){
+ this.arcShape = new Arc({
+ zlevel: this.zlevel,
+ z: this.z,
+ shape: {
+ cx: this.model.position.x + 7,
+ cy: this.model.position.y + 7,
+ r: 7
+ },
+ style: {
+ stroke: '#69666E',
+ lineWidth: 1,
+ fill: fillColor
+ }
+ });
+ this.add(this.arcShape);
+ } else {
+ this.rectButton = new Rect({
+ zlevel: this.zlevel,
+ z: this.z,
+ shape: {
+ x: model.position.x,
+ y: model.position.y,
+ width: 14,
+ height: 14
+ },
+ style: {
+ lineDash: null,
+ stroke: '#69666E',
+ lineWidth:1,
+ fill: fillColor
+ }
+ });
+ this.add(this.rectButton);
+ }
this.leftLine = new Line({
zlevel: this.zlevel,
z: this.z + 1,
@@ -200,9 +223,11 @@ export default class SignalButton extends Group {
recover() {
this.stopAnimation();
this.rectButton && this.rectButton.setStyle({ fill:this.getTypeColor() });
+ this.arcShape && this.arcShape.setStyle({ fill:this.getTypeColor() });
this.rightLine && this.rightLine.hide();
this.leftLine && this.leftLine.hide();
this.rectButton && this.rectButton.show();
+ this.arcShape && this.arcShape.show();
this.buttonText && this.buttonText.show();
this.leftBoard && this.leftBoard.hide();
this.rightBoard && this.rightBoard.hide();
@@ -242,6 +267,7 @@ export default class SignalButton extends Group {
this.rectButton && this.rectButton.hide();
this.leftLine && this.leftLine.hide();
this.rightLine && this.rightLine.hide();
+ this.arcShape && this.arcShape.hide();
} else {
if (model.hasSelected) {
this.startAnimate();
diff --git a/src/jmapNew/shape/graph/Station/EThreeLamp.js b/src/jmapNew/shape/graph/Station/EThreeLamp.js
new file mode 100644
index 000000000..ea80858a0
--- /dev/null
+++ b/src/jmapNew/shape/graph/Station/EThreeLamp.js
@@ -0,0 +1,128 @@
+import Arc from 'zrender/src/graphic/shape/Arc';
+import Group from 'zrender/src/container/Group';
+import Text from 'zrender/src/graphic/Text';
+
+/** 三个控制灯*/
+export default class EThreeLamp extends Group {
+ constructor(model) {
+ super();
+ this.model = model;
+ this.zlevel = model.zlevel;
+ this._subType = model._subType;
+ this.z = 20;
+ this.onmouseover = model.mouseover;
+ this.onmouseout = model.mouseout;
+ this.create(model);
+ }
+
+ create(model) {
+ var _subType = 'ControlSignal';
+ var _val = '0';
+ if (model.pop) {
+ _subType = 'ControlButton';
+ _val = '1';
+ }
+ var _nameType = this._subType;
+ this.control1 = new Arc({
+ pop: model.pop,
+ _subType: _subType,
+ _nameType: _nameType,
+ _val: _val,
+ zlevel: this.zlevel,
+ z: this.z,
+ shape: {
+ cx: model.point.x - model.style.Station.StationControl.lamp.radiusR * 3,
+ cy: model.point.y,
+ r: model.style.Station.StationControl.lamp.radiusR
+ },
+ style: {
+ lineWidth: model.style.Station.StationControl.lamp.lineWidth || 0,
+ fill: model.style.Station.StationControl.lamp.grayColor,
+ stroke: model.style.Station.StationControl.lamp.strokeColor
+ }
+ });
+ this.control2 = new Arc({
+ pop: model.pop,
+ _subType: _subType,
+ _nameType: _nameType,
+ _val: _val,
+ zlevel: this.zlevel,
+ z: this.z,
+ shape: {
+ cx: model.point.x,
+ cy: model.point.y,
+ r: model.style.Station.StationControl.lamp.radiusR
+ },
+ style: {
+ lineWidth: model.style.Station.StationControl.lamp.lineWidth || 0,
+ fill: model.style.Station.StationControl.lamp.grayColor,
+ stroke: model.style.Station.StationControl.lamp.strokeColor
+ }
+ });
+ this.control3 = new Arc({
+ pop: model.pop,
+ _subType: _subType,
+ _nameType: _nameType,
+ _val: _val,
+ zlevel: this.zlevel,
+ z: this.z,
+ shape: {
+ cx: model.point.x + model.style.Station.StationControl.lamp.radiusR * 3,
+ cy: model.point.y,
+ r: model.style.Station.StationControl.lamp.radiusR
+ },
+ style: {
+ lineWidth: model.style.Station.StationControl.lamp.lineWidth || 0,
+ fill: model.style.Station.StationControl.lamp.grayColor,
+ stroke: model.style.Station.StationControl.lamp.strokeColor
+ }
+ });
+
+ this.text = new Text({
+ pop: model.pop,
+ _subType: _subType,
+ zlevel: this.zlevel,
+ z: this.z,
+ position: [0, 0],
+ style: {
+ x: model.point.x,
+ y: model.point.y + model.style.Station.StationControl.lamp.radiusR + model.style.Station.StationControl.text.distance,
+ fontWeight: model.style.Station.StationControl.text.fontWeight,
+ fontSize: model.style.Station.StationControl.text.fontSize,
+ fontFamily: model.style.fontFamily,
+ text: model.context,
+ textFill: model.style.Station.StationControl.text.fontColor,
+ textAlign: model.style.Station.StationControl.text.textAlign,
+ textVerticalAlign: model.style.Station.StationControl.text.textVerticalAlign
+ }
+ });
+
+ this.add(this.control1);
+ this.add(this.control2);
+ this.add(this.control3);
+ this.add(this.text);
+ }
+
+ setColor(color) {
+ // if (color) {
+ // this.control.setStyle('fill', color);
+ // }
+ }
+
+ setTextColor(color) {
+ if (color && !this.model.style.Station.StationControl.lamp.textColorNoChange) {
+ this.text.setStyle('textFill', color);
+ }
+ }
+ getArcBoundingRect() {
+ const rect = this.control.getBoundingRect().clone();
+ const scale = this.control.scale[0];
+ const offsetX = this.control.position[0];
+ const offsetY = this.control.position[1];
+ rect.x = rect.x * scale + offsetX - 2;
+ rect.y = rect.y * scale + offsetY - 2;
+ rect.width = rect.width * scale + 4;
+ rect.height = rect.height * scale + 4;
+ return rect;
+ }
+}
diff --git a/src/jmapNew/shape/graph/Station/index.js b/src/jmapNew/shape/graph/Station/index.js
index 4c91004de..a31f4a31b 100644
--- a/src/jmapNew/shape/graph/Station/index.js
+++ b/src/jmapNew/shape/graph/Station/index.js
@@ -7,6 +7,7 @@ import EControl from '../element/EControl';
import EMouse from './EMouse';
import EMouseDraw from './EMouseDraw';
import ESingleControl from './ESingleControl';
+import EThreeLamp from './EThreeLamp';
import EArrow from './EArrow';
import { arrow } from '../utils/ShapePoints';
import Rect from 'zrender/src/graphic/shape/Rect';
@@ -148,7 +149,13 @@ export default class Station extends Group {
createControlMode() {
const model = this.model;
if (!this.style.Station.StationControl.disPlayNone) {
- if (this.style.Station.StationControl.special) {
+ const queryList = window.location.search.substring(1).split('&');
+ const queryCtc = queryList.find(item => {
+ return item.includes('ctc');
+ });
+ if (queryCtc) {
+ this.createCtcControlMode()
+ } else if (this.style.Station.StationControl.special) {
if (model.visible && model.createControlMode) { // model.createControlMode 控制模式
this.createControlModeAU();
this.createControlModeCC();
@@ -168,7 +175,123 @@ export default class Station extends Group {
}
this.setState(model);
}
-
+ createCtcControlMode() {//大铁
+ //非常站控
+ const model = this.model;
+ // 分散自律
+ this.selfDisciplineThree = new EThreeLamp({
+ _subType: 'veryControl',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance * 2 + this.style.Station.StationControl.selfDisciplineThree.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.selfDisciplineThree.offset.y
+ },
+ context: this.style.Station.StationControl.selfDisciplineThree.text,
+ pop: false
+ });
+ this.add(this.selfDisciplineThree);
+ console.log(this.selfDisciplineThree, '*****************');
+ // 非常站控
+ this.veryControl = new ESingleControl({
+ _subType: 'veryControl',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance * 2 / 3 + this.style.Station.StationControl.veryControl.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.veryControl.offset.y
+ },
+ context: this.style.Station.StationControl.veryControl.text,
+ pop: false
+ });
+ this.add(this.veryControl);
+ //按图排路
+ this.graphRoad = new ESingleControl({
+ _subType: 'graphRoad',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 2 / 3 + this.style.Station.StationControl.graphRoad.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.graphRoad.offset.y
+ },
+ context: this.style.Station.StationControl.graphRoad.text,
+ pop: false
+ });
+ this.add(this.graphRoad);
+ //计划控制
+ this.planControl = new ESingleControl({
+ _subType: 'planControl',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 2 + this.style.Station.StationControl.planControl.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.planControl.offset.y
+ },
+ context: this.style.Station.StationControl.planControl.text,
+ pop: false
+ });
+ this.add(this.planControl);
+ //中心通信
+ this.centerCommunication = new ESingleControl({
+ _subType: 'centerCommunication',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance * 2 + this.style.Station.StationControl.centerCommunication.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.centerCommunication.offset.y
+ },
+ context: this.style.Station.StationControl.centerCommunication.text,
+ pop: false
+ });
+ this.add(this.centerCommunication);
+ //自律机通信
+ this.selfDisciplineCommunication = new ESingleControl({
+ _subType: 'selfDisciplineCommunication',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x - this.style.Station.StationControl.lamp.distance * 2 / 3 + this.style.Station.StationControl.selfDisciplineCommunication.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.selfDisciplineCommunication.offset.y
+ },
+ context: this.style.Station.StationControl.selfDisciplineCommunication.text,
+ pop: false
+ });
+ this.add(this.selfDisciplineCommunication);
+ //允许转回
+ this.allowedTurnBack = new ESingleControl({
+ _subType: 'allowedTurnBack',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 2 / 3 + this.style.Station.StationControl.allowedTurnBack.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.allowedTurnBack.offset.y
+ },
+ context: this.style.Station.StationControl.allowedTurnBack.text,
+ pop: false
+ });
+ this.add(this.allowedTurnBack);
+ // 列控
+ this.trainControl = new ESingleControl({
+ _subType: 'trainControl',
+ style: this.style,
+ zlevel: this.zlevel,
+ z: this.z,
+ point: {
+ x: model.controlModePoint.x + this.style.Station.StationControl.lamp.distance * 2 + this.style.Station.StationControl.trainControl.offset.x,
+ y: model.controlModePoint.y + this.style.Station.StationControl.trainControl.offset.y
+ },
+ context: this.style.Station.StationControl.trainControl.text,
+ pop: false
+ });
+ this.add(this.trainControl);
+ }
createControlModeAU() { // 西安二
const model = this.model;
this.stationControlAU = new Text({
diff --git a/src/views/iscs/iscsDraw/iscsCommonElem/stateTable.vue b/src/views/iscs/iscsDraw/iscsCommonElem/stateTable.vue
index 8f201baa2..52bd37986 100644
--- a/src/views/iscs/iscsDraw/iscsCommonElem/stateTable.vue
+++ b/src/views/iscs/iscsDraw/iscsCommonElem/stateTable.vue
@@ -159,7 +159,7 @@ export default {
{label: '交流输出电压', value: 'acOutputVoltage'},
{label: '直流电压信号', value: 'dcVoltageSignal'}
];
- } else if (this.$router.query.lineCode === '01') {
+ } else if (this.$route.query.lineCode === '01') {
return [
{label: 'ibp操作允许上行', value: 'ibpOperationAllowsUp'},
{label: 'ibp操作允许下行', value: 'ibpOperationAllowsDown'},
diff --git a/src/views/newMap/displayNew/menuDemon.vue b/src/views/newMap/displayNew/menuDemon.vue
index 22e0636b0..98f06a7cf 100644
--- a/src/views/newMap/displayNew/menuDemon.vue
+++ b/src/views/newMap/displayNew/menuDemon.vue
@@ -36,7 +36,7 @@
{{ $t('display.demon.initialize') }}
-
{{ projectDevice?'退出':$t('display.demon.back') }}
+
{{ projectDevice || isCtc?'退出':$t('display.demon.back') }}
@@ -155,6 +155,9 @@ export default {
isDisable() {
return this.$store.state.training.started;
},
+ isCtc() {
+ return !!this.$route.query.ctc
+ },
project() {
return getSessionStorage('project');
},
@@ -399,7 +402,7 @@ export default {
// || this.project === 'bjd'
} else {
- if (this.project === 'bjd') {
+ if (this.project === 'bjd' || this.isCtc) {
window.close();
} else {
this.$store.dispatch('map/setShowCentralizedStationCode', '');
diff --git a/src/views/newMap/displayNew/menuSchema.vue b/src/views/newMap/displayNew/menuSchema.vue
index 08bea52ad..d3d38fe41 100644
--- a/src/views/newMap/displayNew/menuSchema.vue
+++ b/src/views/newMap/displayNew/menuSchema.vue
@@ -12,8 +12,8 @@
- 占线板
- CTC
+ 占线板
+ CTC
IBP盘
运行图编辑
From 297688974232609ad6d233b6f181691328c2b0a3 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 31 May 2022 18:12:47 +0800
Subject: [PATCH 05/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 135 +++++++++++++++++-
1 file changed, 133 insertions(+), 2 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index 61bb849fb..9e2a3bbde 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -33,7 +33,102 @@
- table
+
+
+
+
+
+
+ 下
行
+ 1
+
+
+
+
+ 上
行
+ 2
+
+
+
+
+
+ 接
车
口
+ 3
+
+
+
+
+ 接
车
股
道
+ 4
+
+
+
+
+
+ 同 邻
站
发
意 车
+ 5
+
+
+
+
+ 邻
站
出
发
+ 6
+
+
+
+
+
+ 规
定
+ 7
+
+
+
+
+ 实
际
+ 8
+
+
+
+
+
+
+
+
+ 重
车
+ 9
+
+
+
+
+ 空
车
+ 10
+
+
+
+
+
+ 非运用车
+ 11
+
+
+
+
+ 守
车
+ 12
+
+
+
+
+
@@ -48,7 +143,9 @@ export default {
name:'RunplanPane',
data() {
return {
- isShow:false
+ isShow:false,
+ tableData:[
+ ]
};
},
methods:{
@@ -147,6 +244,8 @@ export default {
border-right: 2px #4c4c4c solid;
padding: 6px 15px;
margin-top: 2px;
+ cursor:pointer;
+ margin-left: 3px;
}
.runplanBtnGroup{
display: flex;
@@ -169,5 +268,37 @@ export default {
padding: 6px 15px;
margin-top: 2px;
background: #f0f0f0;
+ cursor: text;
+}
+.runplanTableNo{
+ height: 30px;
+ width: 100%;
+ text-align: center;
+ line-height: 30px;
+ border-top: 1px #ebeef5 solid;
+ // position: absolute;
+ // bottom: 0px;
+}
+.runplanTableTname{
+ width: 100%;
+ // flex-grow: 1;
+ text-align: center;
+ line-height: 20px;
+ font-size: 15px;
}
+
From c1e7198fa8ed2ab10f59baa7ca54904abd28bc2d Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 1 Jun 2022 13:18:17 +0800
Subject: [PATCH 06/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 173 ++++++++++++++++--
1 file changed, 154 insertions(+), 19 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index 9e2a3bbde..d90cdc466 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -37,6 +37,7 @@
id="runplanContentTable"
:data="tableData"
border
+ height="695"
style="width: 100%;border:1px #ccc solid"
>
-
+
-
+
下
行
1
-
+
上
行
2
-
+
- 接
车
口
+ 接
车
口
3
- 接
车
股
道
+ 接
车
股
道
4
-
+
- 同 邻
站
发
意 车
+
5
- 邻
站
出
发
+ 邻
站
出
发
6
- 规
定
+ 规
定
7
- 实
际
+ 实
际
8
-
+
- 重
车
+ 重
车
9
- 空
车
+ 空
车
10
- 非运用车
+ 非
运
用
车
11
- 守
车
+ 守
车
12
+
+
+ 占用区间
凭证号码
+ 13
+
+
+
+
+
+ 承
认
闭
塞
+ 14
+
+
+
+
+
+ 15
+
+
+
+
+ 取
消
闭
塞
+ 16
+
+
+
+
+
+ 17
+
+
+
+
+
+ 18
+
+
+
+
+
+
+
+
+ 下
行
+ 19
+
+
+
+
+ 上
行
+ 20
+
+
+
+
+
+ 发
车
股
道
+ 21
+
+
+
+
+ 发
车
口
+ 22
+
+
+
+
+
+
+ 23
+
+
+
+
+ 邻
站
出
发
+ 24
+
+
+
+
+
+ 规
定
+ 25
+
+
+
+
+ 实
际
+ 26
+
+
+
+
@@ -145,6 +261,8 @@ export default {
return {
isShow:false,
tableData:[
+ {section:'11002', up:'11002', recieveTrain:'王孙上行', depatureTrain:'京哈上行'},
+ {section:'11102', up:'11102', recieveTrain:'王孙上行', depatureTrain:'京哈上行'}
]
};
},
@@ -275,7 +393,8 @@ export default {
width: 100%;
text-align: center;
line-height: 30px;
- border-top: 1px #ebeef5 solid;
+ border-top: 1px #777777 solid;
+ font-weight: normal;
// position: absolute;
// bottom: 0px;
}
@@ -283,15 +402,23 @@ export default {
width: 100%;
// flex-grow: 1;
text-align: center;
- line-height: 20px;
+ // line-height: 20px;
font-size: 15px;
+ font-weight: normal;
+ display: inline-block;
}
+.runplanFourLevel{line-height: 22px;}
+.runplanThreeLevel{line-height: 20px;}
+.runplanTwo2Level{line-height:35px}
+.runplanTwo1Level{line-height: 27px;}
+.runplanZhe{width: 16px;display: inline-block;vertical-align: top;}
From fcd3110e9f5292b2c664f2f82dbc61d5a2230b78 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 1 Jun 2022 15:34:53 +0800
Subject: [PATCH 07/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 94 +++++++++++++++++--
1 file changed, 87 insertions(+), 7 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index d90cdc466..ec02d7530 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -248,9 +248,36 @@
-
-
-
+
+
+
+
+
+
与调度台的信息
+
+
+
casco:下达新阶段计划 22:30
+
王岗:casco,我签收新下达的阶段计划 22:31
+
+
+
+
+
+
+
+
@@ -287,6 +314,20 @@ export default {
z-index: 38;
margin-top: 34px;
display: block;
+ overflow: scroll;
+ &::-webkit-scrollbar {
+ width: 4px;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ border-radius: 10px;
+ background: #c3c3c3;
+ }
+
+ &::-webkit-scrollbar-track {
+ border-radius: 0;
+ background: #f0f0f0;
+ }
}
.runplanMenuBar{
height: 35px;
@@ -321,10 +362,49 @@ export default {
overflow-x: auto;
overflow-y: auto;
}
-.runplanBottom{}
-.runplanBottomL{}
-.runplanBottomC{}
-.runplanBottomR{}
+.runplanBottom{height:261px;background: #efefef;display: inline-block;width: 100%;}
+.runplanBottomL,.runplanBottomC,.runplanBottomR{width:33%;padding: 5px;position: relative;}
+.runplanBottomTLine{
+ margin-top: 3px;
+ height: 7px;
+ border-top: 2px #e5e5e5 solid;
+ border-bottom: 2px #8b8b8b solid;
+ margin-left: 8px;
+ margin-right: 8px;
+ background: #f7f7f7;
+}
+.runplanBottomLTitle,.runplanBottomCTitle,.runplanBottomRTitle{
+ position: absolute;
+ left: 10px;
+ top: -3px;
+ font-size: 14px;
+ padding: 0px 5px;
+ background: #efefef;
+}
+.runplanBottomLInM,.runplanBottomRInM{
+ width: 100%;
+ height: 215px;
+ background: #fff;
+ border-top: 2px #393939 solid;
+ border-left: 2px #393939 solid;
+ padding: 5px;
+}
+.runplanMessage{font-size:12px;margin-bottom:3px;}
+.runplanBottomLIn,.runplanBottomCIn,.runplanBottomRIn{width:100%;height:100%;border:1px #7e7e7e solid;padding-top: 11px;}
+.runplanBottomB{display:inline-block;margin-top:7px;margin-left: 5px;width: calc(100% - 5px);}
+.runplanBottomLLine{
+ height: 241px;
+ width: 4px;
+ border: 1px #707070 solid;
+ background: #f7f7f7;
+ float: left;
+}
+.runplanBottomIn{
+ display:flex;
+ flex-direction:row;
+ margin-top: 5px;
+ margin-left: 10px;
+}
.runplanLine{
margin-top: 1px;
height: 31px;
From 0529b94a5bdd1154468b33e822e55222a4f4d1d6 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 1 Jun 2022 18:15:26 +0800
Subject: [PATCH 08/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 41 ++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index ec02d7530..c25725cea 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -264,7 +264,30 @@
键盘输入区
- 222
+
+ [HOME]复位 类型:0股道 1预告 2同意邻站发车 3到达 4出发 5出发机车号码 6取消同意邻站发车 7取消发车 8记事 9邻站同意发车 10邻站出发 11邻站到达 12接车线别 13发车线别 14通过
+
+
@@ -391,6 +414,22 @@ export default {
}
.runplanMessage{font-size:12px;margin-bottom:3px;}
.runplanBottomLIn,.runplanBottomCIn,.runplanBottomRIn{width:100%;height:100%;border:1px #7e7e7e solid;padding-top: 11px;}
+.runplanBottomCInT{
+ font-size: 13px;
+ padding: 5px;
+ line-height: 20px;
+}
+.runplanBottomCInB{
+ padding: 10px;
+ font-size: 12px;
+ position: absolute;
+ bottom: 7px;
+ left: 4px;
+}
+.runplanBottomCInB1{}
+.runplanBottomCInB2{display:flex;flex-direction: row; margin-top: 5px;}
+.runplanBottomCInB3{margin-top: 5px;width:100%;height:20px;border: 1px #7e7e7e solid;line-height:20px;}
+.runplanBottomCInB1in{display:inline-block;}
.runplanBottomB{display:inline-block;margin-top:7px;margin-left: 5px;width: calc(100% - 5px);}
.runplanBottomLLine{
height: 241px;
From eaafd6e0411e3b23cb36ccc0636ca9c46c6a91df Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 2 Jun 2022 11:02:42 +0800
Subject: [PATCH 09/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 77 +++++++++++++++++--
1 file changed, 70 insertions(+), 7 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index c25725cea..fc003c606 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -45,7 +45,7 @@
label=""
width="100"
/>
-
+
@@ -135,7 +135,13 @@
- 占用区间
凭证号码
+
13
@@ -183,7 +189,7 @@
-
+
@@ -224,11 +230,11 @@
- 邻
站
出
发
+ 邻
站
到
达
24
-
+
规
定
@@ -243,6 +249,60 @@
+
+
+
+
+ 重
车
+ 27
+
+
+
+
+ 空
车
+ 28
+
+
+
+
+
+ 非
运
用
车
+ 29
+
+
+
+
+ 守
车
+ 30
+
+
+
+
+
+
+
+
+
列规
+
车定
+
停时
+
站间
+
超原
+
过因
+
+ 31
+
+
+
+
+ 计
划
属
性
+ 32
+
+
+
+
+ 记
事
+ 33
+
@@ -283,7 +343,7 @@
@@ -425,6 +485,7 @@ export default {
position: absolute;
bottom: 7px;
left: 4px;
+ width: calc(100% - 20px);
}
.runplanBottomCInB1{}
.runplanBottomCInB2{display:flex;flex-direction: row; margin-top: 5px;}
@@ -526,10 +587,12 @@ export default {
font-weight: normal;
display: inline-block;
}
+.runplanOneLevel{line-height: 24px;}
.runplanFourLevel{line-height: 22px;}
.runplanThreeLevel{line-height: 20px;}
.runplanTwo2Level{line-height:35px}
-.runplanTwo1Level{line-height: 27px;}
+.runplanTwo1Level{line-height: 28px;}
+.runplanTwo3Level{line-height: 70px;}
.runplanZhe{width: 16px;display: inline-block;vertical-align: top;}
+
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index 2b3111ff1..c17b24229 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -8,7 +8,7 @@
调度命令
阶段计划(F8)
-
发送计划
+
发送计划
阶段记事
@@ -362,11 +362,16 @@
+
+
+
diff --git a/src/jmapNew/theme/datie_02/menus/menuSignal.vue b/src/jmapNew/theme/datie_02/menus/menuSignal.vue
index f64b95305..83654cc51 100644
--- a/src/jmapNew/theme/datie_02/menus/menuSignal.vue
+++ b/src/jmapNew/theme/datie_02/menus/menuSignal.vue
@@ -21,6 +21,7 @@ import RouteSelection from './dialog/routeSelection';
import RouteDetail from './dialog/routeDetail';
import RouteHandControl from './dialog/routeHandControl';
import RouteGuide from './dialog/routeGuide';
+import RouteCancel from './menuDialog/routeCancel';
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
import { mapGetters } from 'vuex';
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
@@ -29,6 +30,7 @@ import CMD from '@/scripts/cmdPlugin/CommandEnum';
import PasswordBox from '@/jmapNew/theme/components/menus/childDialog/passwordInputBox';
import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate';
import DrawSelect from './dialog/drawSelect';
+import { EventBus } from '@/scripts/event-bus';
export default {
name: 'SignalMenu',
@@ -42,7 +44,8 @@ export default {
NoticeInfo,
PasswordBox,
SetFault,
- DrawSelect
+ DrawSelect,
+ RouteCancel
},
props: {
selected: {
@@ -57,49 +60,57 @@ export default {
menu: [],
menuNormal: {
Local: [
- // {
- // label: '图纸调用',
- // handler: this.drawingCall
- // },
- // {
- // label: '基础设备培训',
- // handler: this.baDeTrCall
- // }
- // {
- // label: '办理进路',
- // handler: this.arrangementRoute,
- // cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE
- // },
- // {
- // label: '办理引导进路',
- // handler: this.guide,
- // cmdType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE
- // },
- // {
- // label: '取消进路',
- // handler: this.cancelTrainRoute,
- // cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE
- // },
- // {
- // label: '总人解', // 取消引导进路
- // handler: this.humanTrainRoute,
- // cmdType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE
- // },
- // {
- // label: '进路收人工控',
- // handler: this.humanControl,
- // cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING
- // },
- // {
- // label: '进路交自动控',
- // handler: this.atsAutoControl,
- // cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING
- // },
- // {
- // label: '进路信息',
- // handler: this.detail,
- // cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING
- // }
+ {
+ label: '办理 通过进路',
+ handler: this.arrangementRoute,
+ cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE
+ },
+ {
+ type: 'separator'
+ },
+ {
+ label: '列车 办理进路',
+ handler: this.arrangementRoute,
+ cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE
+ },
+ {
+ label: '取消进路',
+ handler: this.cancelTrainRoute,
+ cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE
+ },
+ {
+ label: '信号重开',
+ handler: this.reopenSignal,
+ cmdType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL
+ },
+ {
+ label: '封锁/解封',
+ handler: '',
+ cmdType: ''
+ },
+ {
+ label: '总人解',
+ handler: this.humanTrainRoute,
+ cmdType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE
+ },
+ {
+ type: 'separator'
+ },
+ {
+ label: '引导',
+ handler: this.guide,
+ cmdType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE
+ },
+ {
+ label: '点灯/灭灯',
+ handler: '',
+ cmdType: ''
+ },
+ {
+ label: '坡道解锁',
+ handler: '',
+ cmdType: ''
+ }
],
Center: [
// {
@@ -190,7 +201,8 @@ export default {
},
watch: {
'$store.state.menuOperation.menuCount': function (val) {
- if (this.$store.getters['menuOperation/checkDialogIsOpen'](DeviceMenu.Signal) && !this.buttonOperation) {
+ console.log(DeviceMenu.Signal, val, this.$store.getters['menuOperation/checkDialogIsOpen'](DeviceMenu.Signal), this.buttonOperation);
+ if (this.$store.getters['menuOperation/checkDialogIsOpen'](DeviceMenu.Signal) && (!this.buttonOperation || this.$route.query.ctc)) {
this.doShow(this.$store.state.menuOperation.menuPosition);
} else {
this.doClose();
@@ -262,7 +274,8 @@ export default {
arrangementRoute() {
commitOperate(menuOperate.Signal.arrangementRoute, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
if (valid) {
- this.$refs.routeSelection.doShow(operate, this.selected, this.getRouteList(this.selected));
+ // this.$refs.routeSelection.doShow(operate, this.selected, this.getRouteList(this.selected));
+ EventBus.$emit('arrangementRouteMenu', this.selected);
}
});
},
@@ -299,6 +312,21 @@ export default {
}
});
},
+ lockOrUnlock() {
+ if (this.selected.lock) {
+ commitOperate(menuOperate.Signal.lock, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
+ if (valid) {
+ this.$refs.routeControl.doShow(operate, this.selected);
+ }
+ })
+ } else {
+ commitOperate(menuOperate.Signal.unlock, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
+ if (valid) {
+ this.$refs.routeControl.doShow(operate, this.selected);
+ }
+ })
+ }
+ },
// 信号封锁
lock() {
commitOperate(menuOperate.Signal.lock, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
diff --git a/src/jmapNew/theme/datie_02/menus/menuSwitch.vue b/src/jmapNew/theme/datie_02/menus/menuSwitch.vue
index a4fee8475..d99e69f3c 100644
--- a/src/jmapNew/theme/datie_02/menus/menuSwitch.vue
+++ b/src/jmapNew/theme/datie_02/menus/menuSwitch.vue
@@ -59,6 +59,62 @@ export default {
// label: '基础设备培训',
// handler: this.baDeTrCall
// }
+ {
+ label: '定操',
+ handler: ''
+ },
+ {
+ label: '反操',
+ handler: ''
+ },
+ {
+ label: '单锁',
+ handler: ''
+ },
+ {
+ label: '单解',
+ handler: ''
+ },
+ {
+ label: '封锁/解封',
+ handle: ''
+ },
+ {
+ label: '区故解',
+ handle: ''
+ },
+ {
+ label: '岔前 分路不良',
+ handle: ''
+ },
+ {
+ label: '定位 分路不良',
+ handle: ''
+ },
+ {
+ label: '反位 分路不良',
+ handle: ''
+ },
+ {
+ label: '接触网定位无电',
+ handle: ''
+ },
+ {
+ label: '接触网反位无电',
+ handle: ''
+ },
+ {
+ label: '添加调机号',
+ handle: ''
+ },
+ {
+ label: '删除调机号',
+ handle: ''
+ },
+ {
+ label: '修改调机号',
+ handle: ''
+ }
],
Center: [
// {
diff --git a/src/views/newMap/mapsystemNew/common/index.vue b/src/views/newMap/mapsystemNew/common/index.vue
index 3eeebebc6..b57225020 100644
--- a/src/views/newMap/mapsystemNew/common/index.vue
+++ b/src/views/newMap/mapsystemNew/common/index.vue
@@ -130,7 +130,6 @@ export default {
var device = null;
const point = { x: em.clientX, y: em.clientY };
const lineCode = this.$store.getters['map/lineCode'];
-
if (em.subType === 'TrainWindow') {
if (lineCode != '06') {
device = { _type: deviceType.TrainWindow, code: em.deviceCode, _event: MouseEvent.Right };
@@ -182,7 +181,6 @@ export default {
} else if (em.deviceCode && !this.isScreen) {
device = this.getDeviceByEm(em);
}
-
if (device) {
device = this.getSelectedByLineCode(device);
this.selected = { ...device, _event: MouseEvent.Right};
@@ -197,10 +195,14 @@ export default {
menu = getDeviceMenuByDeviceType(device._type);
this.$store.dispatch('menuOperation/setPopMenu', { position: point, menu: menu });
}
- }
+ } else if (this.$route.query.ctc) {
+ this.$store.dispatch('menuOperation/setSelected', {device: this.selected, subType: em.subType});
+ menu = getDeviceMenuByDeviceType(device._type);
+ this.$store.dispatch('menuOperation/setPopMenu', { position: point, menu: menu });
+ }
} else {
menu = getDeviceMenuByDeviceType('Cancel');
- this.$store.dispatch('menuOperation/setPopMenu', { position: point, menu: menu });
+ this.$store.dispatch('menuOperation/setPopMenu', { position: point, menu: menu });
}
this.$store.dispatch('training/emitTipFresh');
},
From a0eaa636f95f164d0b5eb957665b3fce3e0eb9a9 Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Mon, 6 Jun 2022 16:43:11 +0800
Subject: [PATCH 14/84] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E5=8F=8C=E5=87=BB?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/teach/detail/index.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/views/teach/detail/index.vue b/src/views/teach/detail/index.vue
index 64c0a2d98..4c9593e54 100644
--- a/src/views/teach/detail/index.vue
+++ b/src/views/teach/detail/index.vue
@@ -9,6 +9,7 @@
{
const query = {
group: resp.data, trainingId: obj.id, lessonId: this.$route.query.lessonId, mapId: this.courseModel.mapId, lineCode: this.lineCode, noPreLogout: this.$route.query.noPreLogout
@@ -162,6 +165,7 @@ export default {
}).catch(error => {
this.$messageBox(`${this.$t('tip.createSimulationFaild')} : ${error.message}`);
this.disabled = false;
+ this.loading = false;
});
} else {
this.$confirm(this.$t('tip.accessCourseNo'), this.$t('tip.hint'), {
From 5fcd8d483039567c3b756d698594be5918a0d522 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 7 Jun 2022 15:18:13 +0800
Subject: [PATCH 15/84] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?=
=?UTF-8?q?=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97=20=20=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=82=A1=E9=81=93=20=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/runplanPane.vue | 122 +++++++++++++++++-
src/store/modules/socket.js | 8 +-
2 files changed, 123 insertions(+), 7 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index c17b24229..cbdb2758f 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -8,7 +8,7 @@
调度命令
阶段计划(F8)
-
发送计划
+
发送计划
阶段记事
@@ -71,6 +71,23 @@
接
车
股
道
4
+
+
+
+
+
@@ -209,6 +226,23 @@
发
车
股
道
21
+
+
+
+
+
@@ -367,6 +401,7 @@
diff --git a/src/jmapNew/theme/datie_02/menus/menuSignal.vue b/src/jmapNew/theme/datie_02/menus/menuSignal.vue
index 83654cc51..709b20f02 100644
--- a/src/jmapNew/theme/datie_02/menus/menuSignal.vue
+++ b/src/jmapNew/theme/datie_02/menus/menuSignal.vue
@@ -9,6 +9,7 @@
+
@@ -283,7 +284,8 @@ export default {
guide() {
commitOperate(menuOperate.Signal.guide, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
if (valid) {
- this.$refs.passwordBox.doShow({...operate, ...{selected: this.selected}, ...{routesList: this.getRouteList(this.selected)}});
+ // this.$refs.passwordBox.doShow({...operate, ...{selected: this.selected}, ...{routesList: this.getRouteList(this.selected)}});
+ this.$refs.routeCancel.doShow(operate, this.selected)
}
});
},
@@ -291,7 +293,7 @@ export default {
cancelTrainRoute() {
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
if (valid) {
- this.$refs.routeControl.doShow(operate, this.selected);
+ this.$refs.routeCancel.doShow(operate, this.selected);
}
});
},
@@ -308,7 +310,7 @@ export default {
reopenSignal() {
commitOperate(menuOperate.Signal.reopenSignal, {signalCode: this.selected.code}, 0).then(({valid, operate}) => {
if (valid) {
- this.$refs.routeControl.doShow(operate, this.selected);
+ this.$refs.routeCancel.doShow(operate, this.selected);
}
});
},
From 1da8364afa6a2127b78f2b5404f4fae26e946728 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 8 Jun 2022 09:55:31 +0800
Subject: [PATCH 21/84] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/theme/datie_02/menus/runplanPane.vue | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index 69862d043..8bdd3e967 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -429,7 +429,7 @@ export default {
},
watch:{
'$store.state.socket.railCtcRunplanInitMsg': function (val) {
- debugger;
+ // debugger;
const railCtcRunplanInitMsg = this.$store.state.socket.railCtcRunplanInitMsg;
this.tableData = Object.values(railCtcRunplanInitMsg).filter(data=>{ return data.stationCode == this.$store.state.training.roleDeviceCode; });
}
@@ -441,7 +441,15 @@ export default {
return section.standTrack && section.belongStation == this.$store.state.training.roleDeviceCode;
});
const railCtcRunplanInitMsg = this.$store.state.socket.railCtcRunplanInitMsg;
- this.tableData = Object.values(railCtcRunplanInitMsg).filter(data=>{ return data.stationCode == this.$store.state.training.roleDeviceCode; });
+ this.tableData = Object.values(railCtcRunplanInitMsg).filter(data=>{
+ if (data.departRunPlan) {
+ data.departRunPlan.planTime = data.departRunPlan.planTime.split(':').splice(0, 2).join(':');
+ }
+ if (data.arriveRunPlan) {
+ data.arriveRunPlan.planTime = data.arriveRunPlan.planTime.split(':').splice(0, 2).join(':');
+ }
+ return data.stationCode == this.$store.state.training.roleDeviceCode;
+ });
this.isShow = true;
// arriveRunPlan: Object
// code: "00110010"
From 5b78c43b069b40a5f5ab651501bd1007051fd5c3 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Wed, 8 Jun 2022 11:13:46 +0800
Subject: [PATCH 22/84] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?=
=?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/ctc_icon/rpb.png | Bin 0 -> 1044 bytes
src/assets/ctc_icon/rpd.png | Bin 0 -> 1855 bytes
src/assets/ctc_icon/rpdu.png | Bin 0 -> 2155 bytes
src/assets/ctc_icon/rpe.png | Bin 0 -> 2441 bytes
src/assets/ctc_icon/rph.png | Bin 0 -> 2003 bytes
src/assets/ctc_icon/rpsa.png | Bin 0 -> 1974 bytes
src/assets/ctc_icon/rpsw.png | Bin 0 -> 2351 bytes
src/assets/ctc_icon/rpu.png | Bin 0 -> 1890 bytes
src/assets/ctc_icon/rpvb.png | Bin 0 -> 2084 bytes
src/assets/ctc_icon/rpvs.png | Bin 0 -> 1996 bytes
src/assets/ctc_icon/rpw.png | Bin 0 -> 2324 bytes
src/assets/ctc_icon/rpwp.png | Bin 0 -> 2147 bytes
.../theme/datie_02/menus/runplanPane.vue | 71 +++++++++++++++++-
13 files changed, 67 insertions(+), 4 deletions(-)
create mode 100644 src/assets/ctc_icon/rpb.png
create mode 100644 src/assets/ctc_icon/rpd.png
create mode 100644 src/assets/ctc_icon/rpdu.png
create mode 100644 src/assets/ctc_icon/rpe.png
create mode 100644 src/assets/ctc_icon/rph.png
create mode 100644 src/assets/ctc_icon/rpsa.png
create mode 100644 src/assets/ctc_icon/rpsw.png
create mode 100644 src/assets/ctc_icon/rpu.png
create mode 100644 src/assets/ctc_icon/rpvb.png
create mode 100644 src/assets/ctc_icon/rpvs.png
create mode 100644 src/assets/ctc_icon/rpw.png
create mode 100644 src/assets/ctc_icon/rpwp.png
diff --git a/src/assets/ctc_icon/rpb.png b/src/assets/ctc_icon/rpb.png
new file mode 100644
index 0000000000000000000000000000000000000000..cf8124350c3acf28f8c075f6ed98e2b13a0b7d12
GIT binary patch
literal 1044
zcmV+v1nc{WP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D1F1mLx>^fn28ue5Jb#FV!RVB8&Z9rO4s#W
zEuHSBd+~nfoI2;!TW?jJd%t-+9`Sm;Uk0Dg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E^Yr3l8VA+p%ebLT*-nJhS*NY~K6|Tu(ZU--pE+QO}(zAtgQT#r0j6
zNF>pIDu~Vw11DIkhw@<(fli!v%68ec>^~mo0TsE+R;#cS`g|H
zuAiN!ZeU9Ou42rA!F+UeBoICwVHmqmUG;bD*b%^>K?*re>aU?k
zVnb@;VlYv6NK@iO{a*^ng~_hp8Bgd?b$#7|w)T^FGBXQ>>o({pNbYSpYgB4&%5aa(
z-n!sdn@DotiKm9au*G>~BIrtV@j%z0si|If4tZzuM)0JQT)@VKbWvcBq}qJR*)j}%
tlJx2z-%kGrm^w!?`p?e4!M~jx{0ExoRgl?iD2V_7002ovPDHLkV1h)1f!F{5
literal 0
HcmV?d00001
diff --git a/src/assets/ctc_icon/rpdu.png b/src/assets/ctc_icon/rpdu.png
new file mode 100644
index 0000000000000000000000000000000000000000..8507d1437d5cf24261d318271095db77c0a7f700
GIT binary patch
literal 2155
zcmV-x2$c7UP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2mnb$K~zXfMOJB$
zRMi!}Ad4hIP!Izm1)6AK0$E6vnlVyk`NJd#Btnc7h)Gm*0t^hpjE2Af7KB16CKAjr
zM#KeERzgB#NhJ_wD3+N*#;_Qih1p@Y?zeB*p9;?a}GQ=fFtvEKRVl+ajLooS3bJ}
zlj}{(f$R8OBZKd*4ac!yao9Ajx4&N#i3ogyfRdMx6AnQH&@fFN#7(xT0WHggkxZid
zdJE2+JdBBBhhoLDrReKVAYsrjn+6e7KukNyeFo3qli;Rp>9Y;P_@4(=mN9T$Z}4zh
zW)X-_&vD7h<(!A!o>mi&eX)zh$OopN9KI96HW)v;p{4l}
z&VPCobAPB%wp`&~2Ne37MgqaZC|jklWYKNdv3)J-&s`v3z&-SeNtQI!C3rGvBBba%
zGK?rTKkz7;wD>k;3_SW=Ktq^@iLQWlknQMV*KagXK)P0(WfLUOZkKE2`2@@`h8A5YsuOh@w5qqK8AlFP
z(T#Uw%}WYZI~1I*FY|If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eIA0fIJ54cTw}cC$OZ?Gor=_C>ONXUz+jB?@*maxi
zNxof4hOUp956twfiPDEYK)YRDh}Sv9>wF8ar?ZQ$?jF2do$}i&edOrdM>GkmtP3`q
zt?y~IcF4DKuw2$KTzz|yZ%6V?_P$+7_YGaKGzn*4A3FFiL-?3G0{K&q00000NkvXX
Hu0mjfVjHB~
literal 0
HcmV?d00001
diff --git a/src/assets/ctc_icon/rph.png b/src/assets/ctc_icon/rph.png
new file mode 100644
index 0000000000000000000000000000000000000000..5c84cc8a6f102f5ddb30f9db09de8aceefc4dec6
GIT binary patch
literal 2003
zcmV;^2Q2uBP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2WUw|K~zXfb(VW@
z)YTQoe+gg&5&{S+VB4W+ZLLh{!y;n#p}l9bu!@h5D0kj``rYCUIKnEUK#Uv+){fZ`r&_t`{jNmn#_HR
zOp)rg+asU>y1IHOD=+6t%@y(r%p5wL!ja5$(mqJ#=+SISOG~+YxrXxcD(v=NF(!c1
z>C`0umrRkU0f#6mOFKGRsj4dB%;{WqC%#Wol8KU13mu(S%(1cs#^9tD30
zg7P1dz7c7U$Y6V06aU(~hk}ALLfEf?!+2q$FUV9w23<}E^>x+c<(Cc~?@ZJ+2Px0CL{|a$XPu%vt55w5b%x`7!%#zQzQa=W!iW=|t
zz{ag$#H0{CWj6`SlL-z%AQ)ol(ih0h&0%zOG~%W5&hRKQhn-6o@+rtK&|o_f?HJK1
z7?Y2)YE7x`3kgG?5H#I@R-3d1Sd}gB2;rpTOrE)ur7KLjud1qyojbSF-`5w(P(^6?
zd>(qbZRDQJ#^r|2UiigxZ30liglQK^PIGAhRo>m%F5V^xXc{HORl2XG8=hP&ghn25
z_oPzzsgI#hi07YQLQ~Uqtz(xZQfp^~LIK*_+c=z-sRxqMWa1qc85iF`bbK|dH+m>I
z4}VF7?>^E*%(P6V&-yDTPLyf=@>-bxgv^P$fidm^3!mJBrM`pI!ynSna82uk*UylI
z#!}aSxuAj`Cp?>AXW~6=jGHDgj&n!?l#10SB&?T+np%Z%=V9hPxQ7}cQRQH|GOmG%
zvz2$1%zG#iYfC?8KRJihI=0Y}FpiD{#ezmEs%%)>;X6OF5IwC+$cBlU2IFSJ_`4zI
z-foOoGjrzcq~fy1&}%n;p;btVne(tBE0pmanDeW6YwO#Tm0i$!Jv}{RVH^y&X>aYI
zv2l>rPFVPql?ivr+Dsi0&jcWD6k|#sMtlV`=N+fGLeHn(Dr@y@y%1awBZe`=FvFg8Cm}rwN(oNKqMlmRx?=5(j
zp1zxs**m}wwf{dBk|~}CNg4M7&oPu`@f&Xs?|lj
zy}gwMkL3%nkj1x(UW-VrWUsW1H^};r5Dbj4eEAAV{RWNMC;M$|pLsnv9yqE1ew(|RBi&?w&Ro1Ux$Lp*AB=u{odt)VkcxefnH?8L2!F_VOpQ7L4#HZdM
zg5&e~zCxtQ)LMDOGj*?drS{3oO8xu9x}l*V*(*(Q`)0|jDwFi|3^Fo~NS!WEfFoM+
z^73_Le7*sCdwcb}LnVbvvivq=5?hxd5Ya^9x(cfds?F$?Y#kmBF*q0?BsXR#G^mXT
z4i3q^H7w!x(%YxNRp{JWT!N##`x=>Blx`==TD5*EWz}(`YKMf$>2OKymXNvV?Uz0=
l&MEr37Gm|Ux}>a002ovPDHLkV1lT(>30AC
literal 0
HcmV?d00001
diff --git a/src/assets/ctc_icon/rpsa.png b/src/assets/ctc_icon/rpsa.png
new file mode 100644
index 0000000000000000000000000000000000000000..66df38ac6becd37e7282db2a347978bd75e64fc0
GIT binary patch
literal 1974
zcmV;n2TAyeP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2TMsrK~zXfeU^Jr
zROcDS&!jWyOzrqjGacL5G}9^5Cb8`xi5H@=*s-Ke(#+&iV{M#btk4cd4MdFyikigM
zq(u{ZOHEBQh^ZRMWhx}b`-O`rLKGHQ78cm+x$nZV3wipy=Kx);)17(tJG=Ys_xs-W
zd*1gP#V}2n|3~t>Ww|m96EVw%ZQJ~8z_N9I){!uE40GO~ZNYNpbEGELFgTZ=WmHVQ
z$;GXtQ}PGh&|v5qY{NoJODj&**Wv7yCY)-l$JvHDG+k;y!-WfIYHEUR5@yGtX=4yw
zhfX=`aa3f-H-pAyjg6{lAj+t&ws+uPpPs<>Lr3t!JNvP2|GU_*?_F%(e*mvmy@$$=
zkKyvQHbf;V!X`GH4m5N(}u?H=e%uK;DO8-SJ_y8$GVbe@%E=onO^P?^g5-d?QUSBc*@w_&f9
z!~v=Xz-}{zvKX*p6v({nLx~MMUvmO?&CW*4)n<&2jzEn@C(h9U>O63ri%$UgrIQLx
zLyBkD=JDXQnom(ucNyCQIx5r{P7-#FIznwC@EHLHQ^@R6@pMZU7H%xZs}(!pkw{g|
zG13Ikpv%&MBAHoGz|R6KZIE(Fi!`b3JjsR)r&_rZoy6(Dls%f*V=C81Ss`14wF>cthYEf
zVbUn=J${rN{t$~Au4Aqzg6xhcmZX4Z33`^1&16(l{Yhk4z_dZ&z7V19QLJe4;NeX#
z<2NOxNG6jGP-PJR100XgrcopXoxUEF9{Pa5He`3{nC>6M97Z`aID)J&a4$i3B>=@w
z`BJ#UV_`;15Np~8u#mul(#;qi9=;K%bMf?)T8vD9Hb-AqCu{B~mYutT+-?I?T0{6I
z(B`=NyfFeqil=nMgB(%L9ZW!PpMy
diff --git a/src/jmapNew/theme/datie_02/menus/dialog/sendRunplan.vue b/src/jmapNew/theme/datie_02/menus/dialog/sendRunplan.vue
index b6d49d438..75c41c9bd 100644
--- a/src/jmapNew/theme/datie_02/menus/dialog/sendRunplan.vue
+++ b/src/jmapNew/theme/datie_02/menus/dialog/sendRunplan.vue
@@ -148,7 +148,7 @@ export default {
return this.dialogShow ? OperationEvent.Command.cancel.menu.domId : '';
},
domIdConfirm() {
- return this.dialogShow ? OperationEvent.Train.updateTrip.confirm.domId : '';
+ return this.dialogShow ? OperationEvent.CTCCommand.batchModifyTrackSection.menu.domId : '';
},
title() {
return '发送计划';
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index ca666627e..f43bc5843 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -396,9 +396,9 @@
-
-
-
+
+
+
@@ -462,7 +462,8 @@
-
+
+
diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js
index bd6d242ef..c395be8c9 100644
--- a/src/scripts/cmdPlugin/CommandEnum.js
+++ b/src/scripts/cmdPlugin/CommandEnum.js
@@ -390,6 +390,8 @@ export default {
CTC_ASSIST_PRESS_RESTORE:{value: 'ASSIST_PRESS_RESTORE', label: '复原'},
CTC_ASSIST_PRESS_ACCIDENT:{value: 'ASSIST_PRESS_ACCIDENT', 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_MODIFY_ADJACENT_STATION:{value: 'CTC_MODIFY_ADJACENT_STATION', label: '修改邻站信息'}
}
};
diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js
index 2cbcbd5e1..ab132a88d 100644
--- a/src/scripts/cmdPlugin/OperationHandler.js
+++ b/src/scripts/cmdPlugin/OperationHandler.js
@@ -3667,19 +3667,34 @@ export const OperationEvent = {
domId: '_Tips-CTC-AssistPressAccident-Menu{TOP}'
}
},
+ // 修改股道
modifyTrackSection:{
menu: {
operation: '1110',
domId: '_Tips-CTC-modifyTrackSection-Menu{TOP}'
}
},
+ // 批量修改股道
batchModifyTrackSection:{
menu: {
operation: '1111',
domId: '_Tips-CTC-batchModifyTrackSection-Menu{TOP}'
}
+ },
+ // 移除行车日志
+ deleteRunplan:{
+ menu: {
+ operation: '1112',
+ domId: '_Tips-CTC-deleteRunplan-Menu{TOP}'
+ }
+ },
+ // 修改行车计划的邻站信息
+ modifyAdjacentStation:{
+ menu: {
+ operation: '1113',
+ domId: '_Tips-CTC-modifyAdjacentStation-Menu{TOP}'
+ }
}
-
}
};
From 602732bb6d6850fdd6ca93001f0b1d095559e009 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 9 Jun 2022 15:36:05 +0800
Subject: [PATCH 29/84] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?=
=?UTF-8?q?=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97=20=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=A1=8C=E8=BD=A6=E8=AE=A1=E5=88=92=E9=82=BB=E7=AB=99=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E6=93=8D=E4=BD=9C=20=E4=BB=A3=E7=A0=81=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../menus/dialog/modifyAdjacentStation.vue | 151 ++++++++++++++++++
.../theme/datie_02/menus/runplanPane.vue | 2 +-
2 files changed, 152 insertions(+), 1 deletion(-)
create mode 100644 src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
diff --git a/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
new file mode 100644
index 000000000..d0aba1013
--- /dev/null
+++ b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
@@ -0,0 +1,151 @@
+
+
+
+
{{ tripNumber }}次列车
+
+
+
+
+ 站驶来
+
+
+ 驶向
+
+
+
+ 站
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
+
+
+
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index f43bc5843..bede115ae 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -462,7 +462,7 @@
-
+
From c83cf31bf3df7234c878bc78d3f360968a23df4f Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Thu, 9 Jun 2022 17:16:01 +0800
Subject: [PATCH 30/84] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20?=
=?UTF-8?q?=E8=A1=8C=E8=BD=A6=E6=97=A5=E5=BF=97=20=20=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=BD=A6=E6=AC=A1=E5=8F=B7=20=20=E4=BB=A3=E7=A0=81=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/theme/components/utils/menuOperate.js | 5 +++++
.../datie_02/menus/dialog/modifyAdjacentStation.vue | 10 +++++-----
src/jmapNew/theme/datie_02/menus/runplanPane.vue | 11 ++++++++---
src/scripts/cmdPlugin/CommandEnum.js | 3 ++-
src/scripts/cmdPlugin/OperationHandler.js | 7 +++++++
5 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/src/jmapNew/theme/components/utils/menuOperate.js b/src/jmapNew/theme/components/utils/menuOperate.js
index 279e5cab7..c03ff3e9f 100644
--- a/src/jmapNew/theme/components/utils/menuOperate.js
+++ b/src/jmapNew/theme/components/utils/menuOperate.js
@@ -553,6 +553,11 @@ export const menuOperate = {
modifyAdjacentStation:{
operation: OperationEvent.CTCCommand.modifyAdjacentStation.menu.operation,
cmdType: CMD.CTC.CTC_MODIFY_ADJACENT_STATION
+ },
+ // 修改车次号(大铁CTC)
+ modifyTripNumber:{
+ operation: OperationEvent.CTCCommand.modifyTripNumber.menu.operation,
+ cmdType: CMD.CTC.CTC_MODIFY_TRIP_NUMBER
}
}
diff --git a/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
index d0aba1013..38132058d 100644
--- a/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
+++ b/src/jmapNew/theme/datie_02/menus/dialog/modifyAdjacentStation.vue
@@ -26,10 +26,10 @@
:value="item.code"
/>
- 站驶来
+ 站驶来
@@ -101,8 +101,8 @@ export default {
doShow(row) {
this.model.stationCode = row.stationCode;
this.model.runPlanCode = row.code;
- this.model.arriveStationCode = row.arriveStationCode || '';
- this.model.departStationCode = row.departStationCode || '';
+ this.model.arriveStationCode = (row.arriveRunPlan && row.arriveRunPlan.stationCode) || '';
+ this.model.departStationCode = (row.departRunPlan && row.departRunPlan.stationCode) || '';
this.tripNumber = row.tripNumber;
this.dialogShow = true;
this.$nextTick(function () {
diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
index bede115ae..cf15031b5 100644
--- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue
+++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue
@@ -464,6 +464,7 @@
+
+
From d36ee77d001d55494143f4b29f39ec5eb8423351 Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Thu, 9 Jun 2022 18:06:47 +0800
Subject: [PATCH 32/84] =?UTF-8?q?ctc=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../theme/datie_02/menus/bottomTable.vue | 150 ++++++++++++++++++
src/jmapNew/theme/datie_02/menus/index.vue | 64 +++++---
src/jmapNew/theme/datie_02/menus/menuBar.vue | 6 +-
.../theme/datie_02/menus/menuButtonCtc.vue | 139 ++++++++--------
.../datie_02/menus/menuDialog/routeCancel.vue | 14 ++
.../theme/datie_02/menus/menuSwitch.vue | 33 ++--
src/views/newMap/displayNew/demonMenu.vue | 7 +-
src/views/newMap/displayNew/index.vue | 4 +
src/views/newMap/displayNew/menuDemon.vue | 5 +-
9 files changed, 305 insertions(+), 117 deletions(-)
create mode 100644 src/jmapNew/theme/datie_02/menus/bottomTable.vue
diff --git a/src/jmapNew/theme/datie_02/menus/bottomTable.vue b/src/jmapNew/theme/datie_02/menus/bottomTable.vue
new file mode 100644
index 000000000..434d3a8b6
--- /dev/null
+++ b/src/jmapNew/theme/datie_02/menus/bottomTable.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+
列车进路序列 可修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
车站
+
+
+
+
释放权限
+
字体
+
常规
+
+
+
+
+
调车进路 可修改
+
+
+
+
调车进路序列
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
勾序列
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
作业单
+
+
+
+
单头信息
+
删除
+
发送
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue
index da035373b..df56ebf77 100644
--- a/src/jmapNew/theme/datie_02/menus/index.vue
+++ b/src/jmapNew/theme/datie_02/menus/index.vue
@@ -1,25 +1,36 @@