-
-
+
+
+
调机-J101
-
进路预览
-
+ 进路预览
+
- 办理进路
- 发送机车
+ 办理进路
+ 发送机车
@@ -135,7 +138,7 @@
-
+
@@ -153,14 +156,25 @@
andDown: 'all',
unknow: '',
unknow1: '',
- tableData: [],
+ tableData: [{},{}],
unknowList1: [{label: '全部机车', value: 'all'}],
unknowList: [{label: 'J101-执行中', value: 'J101'}],
andDownList: [{ label: '全部', value: 'all' }, { label: '上行', value: 'up' }, { label: '下行', value: 'down' }],
sectionStatusList: [
{label: '办理发车进路', value: ''}
],
- infoList : [{ id: 1 }]
+ infoList : [
+ { id: 1 },
+ { id: 2 },
+ { id: 3 },
+ { id: 4 },
+ { id: 5 },
+ { id: 6 },
+ { id: 7 },
+ { id: 8 },
+ { id: 9 },
+ { id: 10 }
+ ]
}
},
computed: {
@@ -180,5 +194,11 @@
diff --git a/src/views/system/configLine/config.vue b/src/views/system/configLine/config.vue
index c6a2e40ec..8626f4597 100644
--- a/src/views/system/configLine/config.vue
+++ b/src/views/system/configLine/config.vue
@@ -115,7 +115,8 @@ export default {
'routeDefaultCheckConflict',
'tripNumberIsUnique',
'standTbStrategyIsInvalid',
- 'updateTripPlanByServiceNumber'
+ 'updateTripPlanByServiceNumber',
+ 'hasCTC'
],
selectList: ['runMode', 'singleApproachLockCancelRoute'],
generalConfig: [
@@ -164,7 +165,8 @@ export default {
'routeDefaultCheckConflict',
'tripNumberIsUnique',
'standTbStrategyIsInvalid',
- 'updateTripPlanByServiceNumber'
+ 'updateTripPlanByServiceNumber',
+ 'hasCTC'
],
rangeList: ['noParkingSM', 'parkingSM'],
speedList: ['rmAtpSpeed', 'urmAtpSpeed'],
@@ -219,7 +221,8 @@ export default {
routeDefaultCheckConflict: '进路默认开启冲突检测',
tripNumberIsUnique: '运行图中车次号是否唯一',
standTbStrategyIsInvalid: '站台折返策略不生效',
- updateTripPlanByServiceNumber: '根据服务号更新车次计划'
+ updateTripPlanByServiceNumber: '根据服务号更新车次计划',
+ hasCTC: '有CTC系统(大铁)'
}
};
},
From a7f24b860b4ebc88fe10823b17917c9800395f0c Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 19 Apr 2022 19:18:31 +0800
Subject: [PATCH 20/98] =?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/views/organization/examManage/gradeStatistics.vue | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/views/organization/examManage/gradeStatistics.vue b/src/views/organization/examManage/gradeStatistics.vue
index fb8f580dd..ea3dd6ce6 100644
--- a/src/views/organization/examManage/gradeStatistics.vue
+++ b/src/views/organization/examManage/gradeStatistics.vue
@@ -129,6 +129,10 @@ export default {
data: this.gradeInterval
},
yAxis:this.yAxis,
+ tooltip:{
+ show:true,
+ trigger:'axis'
+ },
series: [
{
data:[],
From a045d2c776a2e7c46ab54cb32db191eaaad49ddc Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Thu, 21 Apr 2022 10:02:13 +0800
Subject: [PATCH 21/98] =?UTF-8?q?=E5=A4=A7=E9=93=81=E7=BA=BF=E8=B7=AF?=
=?UTF-8?q?=E8=B0=83=E6=95=B45?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/assist.js | 32 +++
src/assets/datie/arrow.png | Bin 0 -> 512 bytes
src/assets/datie/camera.png | Bin 0 -> 1271 bytes
src/assets/datie/controlPanel.png | Bin 0 -> 735 bytes
src/assets/datie/controlPanel2.png | Bin 0 -> 468 bytes
src/assets/datie/link.png | Bin 0 -> 574 bytes
src/assets/datie/picT3.png | Bin 0 -> 464 bytes
src/assets/datie/train.png | Bin 0 -> 916 bytes
src/jmapNew/theme/datie_02/menus/index.vue | 2 +-
.../theme/datie_02/menus/menuButton.vue | 2 +-
src/views/newMap/displayCity/lineBoard.vue | 89 ++++--
.../newMap/newMapdraft/dataRelation/index.vue | 9 +-
.../indicatorAssociatedInfo/detail.vue | 267 ++++++++++++++++++
.../indicatorAssociatedInfo/index.vue | 97 +++++++
.../indicatorAssociatedInfo/route.vue | 267 ++++++++++++++++++
.../newMapdraft/mapoperate/controlLamp.vue | 7 +-
.../newMap/newMapdraft/mapoperate/models.js | 1 +
.../newMapdraft/mapoperate/signalButton.vue | 14 +-
18 files changed, 754 insertions(+), 33 deletions(-)
create mode 100644 src/api/assist.js
create mode 100644 src/assets/datie/arrow.png
create mode 100644 src/assets/datie/camera.png
create mode 100644 src/assets/datie/controlPanel.png
create mode 100644 src/assets/datie/controlPanel2.png
create mode 100644 src/assets/datie/link.png
create mode 100644 src/assets/datie/picT3.png
create mode 100644 src/assets/datie/train.png
create mode 100644 src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue
create mode 100644 src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/index.vue
create mode 100644 src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/route.vue
diff --git a/src/api/assist.js b/src/api/assist.js
new file mode 100644
index 000000000..77d66e22b
--- /dev/null
+++ b/src/api/assist.js
@@ -0,0 +1,32 @@
+import request from '@/utils/request';
+
+// 查询指示灯关联信息列表
+export function queryAssistListPaged(params, mapId) {
+ return request({
+ url: `/api/assist/indicator/section/list/${mapId}`,
+ method: 'get',
+ params
+ });
+}
+// 根据id查询单个指示灯关联信息
+export function queryAssistById(id){
+ return request({
+ url: `/api/assist/indicator/section/${id}`,
+ method: 'get'
+ })
+}
+// 保存指示灯关联信息
+export function saveAssist(data, mapId) {
+ return request({
+ url: `/api/assist/indicator/section/save${mapId}`,
+ method: 'post',
+ data
+ })
+}
+// 删除指示灯关联关系
+export function deleteAssist(id) {
+ return request({
+ url: `/api/assist/indicator/section/delete/${id}`,
+ method: 'delete'
+ })
+}
diff --git a/src/assets/datie/arrow.png b/src/assets/datie/arrow.png
new file mode 100644
index 0000000000000000000000000000000000000000..2d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GuY2LeK~lf)Nx5452e!kO<61!UP(JX0u2%VkES7
zl57Y@utSjzJ%J`cbN9$KyJlqVxc0WSVrSZ1-h20Z|977V88^&$e8>ktrQJUPfXg|n
zaqGE-CYD>h8X{f;KxfVX4iVL{((aS`@k={34N!g^tow(XU!y=#eKx>4@iBmM>thd*
zxsDf4u#lI4#fE<($590E?s#C
zTi;U$kOcQ!ipDeoo5m1~R~f>2pn$2wc`Cc`AY6BUq*
zIXc*%L#ova53D4EXS->P)Px$_(?=TR9HvtmCtJvK@`Wo-_4{cDA-F8?WOdphk_nznm`mvH$kCiK`2EL{{f-5
zT#KiA5-h}n(7T835(+J5+ENiuDk_Mew4f*3i#5C1S3;VaUz<+#upV}9yEE_2XTI~k
zZ-|HoBi!6wMD6}2%RjZd49ZE)pv
zuS7io(p7ubB1=aB-vK;=Q0sw}Z4+73)xtO-IS@qx=jt(o${Skc>RxAj7eM2#`4+$#
z0Pl3txoom&*qV%IZvae#C~4))od}Te@(TbSf;eCTS1NSg{|i7?rY}g%`UJsQ1ae!a
z+~wAMT?%CU{0j(fk$6&3&V$y)oz)%&)^ta6e$p?LC^AdRQboD-HtYSii?FO4fMiee7zt2jAX_@+
z7W*|a*0b&JW1tM4A5W9ByA#4%2od5s;
M07*qoM6N<$g7#1Upa1{>
literal 0
HcmV?d00001
diff --git a/src/assets/datie/picT3.png b/src/assets/datie/picT3.png
new file mode 100644
index 0000000000000000000000000000000000000000..377ee83e000379b208932b8adc287b2c71d1cd01
GIT binary patch
literal 464
zcmV;>0WbcEP)Px$ib+I4R9Hvt*Re|-K@bM;pMQXrRkRTa5fmhajhzw*5!6a8?3JLUSevv-nxqIM
zjg26v*jS5-pjFC9s*wL6MIeMU2^03gx!`+n-n}#8z%{$KGv9tQ-|TLWhOMXJ_--YD
zUd&*)Vs=gt-xbRlc#Lg~Rvf(LE&xmwedhqy@diuSsTjlyY+@06E#EnSV@y&@ZG_+O
z{}KV_pWOraFBn)s|1|~qITchNW|Mp`@DV?&TruPx&PDw;TR9HvtmP=?8Q51&%GpVgJ6&H#NMX(?WqM009CfQlf}Jc@!{*oAHsM8w=wo4H3OkD4Z#F=Lgwa8|?I
zd(QpNf6lpc2owC!1fLIAfUer;T4D+-P?j^e-U}>&q7w2s6L*D^_4k}?9RVV>@q@%T
z?d4FXy-YY1O6q6It(OJ3Gr512Pw_n*W59Ui35Kw$aK9z3)y>1f5+5Z1z0(G#j-A(PE{JG}CCusSa4PsLe@KCHkW4GX
zDgWqNMy%pUZed_bjV50ckevgVuS1~+MpE~5Aw|?^3!tJkEJe)I3
zGY}=l7zs-vA}nNJM(+D(1z59Q=r5fDaaKUyf<)vWJitpRhshCUfWw};b`$2kRR>;{Nd*fT+Xk}VvuT_k {
this.$store.dispatch('config/updateMenuBar');
diff --git a/src/jmapNew/theme/datie_02/menus/menuButton.vue b/src/jmapNew/theme/datie_02/menus/menuButton.vue
index 8137af30a..08b016802 100644
--- a/src/jmapNew/theme/datie_02/menus/menuButton.vue
+++ b/src/jmapNew/theme/datie_02/menus/menuButton.vue
@@ -456,7 +456,7 @@ export default {
operate.over = true;
operate.cmdType = CMD.Signal.CMD_SIGNAL_SET_ROUTE;
operate.code = deviceList[deviceList.length - 1].code;
- operate.param = {routeId: route.code};
+ operate.param = {routeCode: route.code};
this.$store.dispatch('training/nextNew', operate).then(({ valid, response }) => {
this.deviceTimeNode = 0;
}).catch(() => {
diff --git a/src/views/newMap/displayCity/lineBoard.vue b/src/views/newMap/displayCity/lineBoard.vue
index eea45e0fa..b9919eb85 100644
--- a/src/views/newMap/displayCity/lineBoard.vue
+++ b/src/views/newMap/displayCity/lineBoard.vue
@@ -2,12 +2,12 @@
-
-
+
+
{{item.trainCode}}
-
客
+
客
列车未接近
@@ -44,16 +44,25 @@
{{ item.sectionName }}
-
+
+
{{ '进路序列模式:<可修改>' }}
-
修改申请
-
只读申请
-
查找列车
-
-
上下行
-
+ 修改申请
+ 只读申请
+ 查找列车
+
+ 上下行
+
- 接车口
-
+ 接车口
+
- 发车口
-
+ 发车口
+
-
+
+
+ {{ scope.$index }}
+
+
@@ -128,6 +142,7 @@
style="width: 100%;margin-top: 10px;"
highlight-current-row
border
+ height="180"
>
@@ -147,16 +162,30 @@
diff --git a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/index.vue b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/index.vue
new file mode 100644
index 000000000..dcf1e2921
--- /dev/null
+++ b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/index.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
diff --git a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/route.vue b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/route.vue
new file mode 100644
index 000000000..e48dc4493
--- /dev/null
+++ b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/route.vue
@@ -0,0 +1,267 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('map.activate') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('map.activate') }}
+
+
+
+
+
+ {{ $t('map.activate') }}
+
+
+
+
+
+
+
+
+
+
+
+ 更新
+ 保存
+
+
+
+
+
+
diff --git a/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue b/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue
index 26670103d..7a55a9660 100644
--- a/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/controlLamp.vue
@@ -166,7 +166,7 @@ export default {
{ prop: 'mfNum', label: '报警指示故障数量:', type: 'number', min: 0, isHidden: this.editModel.type !== 'FaultStatusGroup' },
{ prop: 'pfNum', label: '电源故障数量:', type: 'number', min: 0, isHidden: this.editModel.type !== 'FaultStatusGroup'},
{ prop: 'right', label: '朝右:', type: 'checkbox', isHidden: this.editModel.type !== 'PickOrDepartArrow' },
- { prop: 'direction', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.hasDirectionList.includes(this.editModel.type) },
+ { prop: 'labelEnum', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.hasDirectionList.includes(this.editModel.type) },
{ prop: 'switchCode', label: '所属道岔:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', options: this.switchList, isHidden: this.editModel.type !== 'SwitchFault', hover: this.hover, buttonType: 'switchSelectCode', buttonShowType: this.isButtonType },
{ prop:'stationCode', label: '所属车站:', type: 'select', optionLabel: 'name&&code', optionValue: 'code', options: this.stationList}
]
@@ -191,7 +191,7 @@ export default {
] },
{ prop: 'mfNum', label: '报警指示故障数量:', type: 'number', min: 0, isHidden: this.addModel.type !== 'FaultStatusGroup' },
{ prop: 'pfNum', label: '电源故障数量:', type: 'number', min: 0, isHidden: this.addModel.type !== 'FaultStatusGroup'},
- { prop: 'direction', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.hasDirectionList.includes(this.addModel.type) },
+ { prop: 'labelEnum', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.hasDirectionList.includes(this.addModel.type) },
{ prop: 'switchCode', label: '所属道岔:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', options: this.switchList, isHidden: this.addModel.type !== 'SwitchFault', hover: this.hover, buttonType: 'switchSelectCode', buttonShowType: this.isButtonType }
]
}
@@ -222,7 +222,7 @@ export default {
switchCode: [
{ required: true, message: '请选择所属道岔!', trigger: 'change'}
],
- direction: [
+ labelEnum: [
{ required: true, message: '请选择方向!', trigger: 'change'}
]
};
@@ -478,6 +478,7 @@ export default {
this.deviceSelect(this.$store.getters['map/getDeviceByCode'](code));
},
deviceSelect(selected) {
+ console.log(selected, '======');
if (this.field.toUpperCase() === 'switchSelectCode'.toUpperCase() && selected._type.toUpperCase() === 'Switch'.toUpperCase()) {
if (this.activeName === 'first') {
this.editModel.switchCode = selected.code;
diff --git a/src/views/newMap/newMapdraft/mapoperate/models.js b/src/views/newMap/newMapdraft/mapoperate/models.js
index 484846ab5..66afe411e 100644
--- a/src/views/newMap/newMapdraft/mapoperate/models.js
+++ b/src/views/newMap/newMapdraft/mapoperate/models.js
@@ -201,6 +201,7 @@ class Model {
this.mfNum = 0;
this.pfNum = 0;
this.switchCode = '';
+ this.labelEnum = '';
this.right = false;
}
}
diff --git a/src/views/newMap/newMapdraft/mapoperate/signalButton.vue b/src/views/newMap/newMapdraft/mapoperate/signalButton.vue
index 04743c41d..83c565fb4 100644
--- a/src/views/newMap/newMapdraft/mapoperate/signalButton.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/signalButton.vue
@@ -56,7 +56,7 @@ export default {
signalCode: '',
sectionCode: '',
switchCode: '',
- direction: '',
+ labelEnum: '',
position: {
x: 0,
y: 0
@@ -120,7 +120,7 @@ export default {
'position.y': [
{ required: true, message: this.$t('rules.pleaseEnterYCoordinate'), trigger: 'blur' }
],
- direction: [
+ labelEnum: [
{ required: true, message: '请选择方向', trigger: 'change' }
]
}
@@ -156,7 +156,7 @@ export default {
{ prop: 'signalCode', label: '关联信号机:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', clearable: true, options: this.signalList, hover: this.hover, buttonType: 'linkSignal', buttonShowType: this.isLinkSignalShow, isHidden: !this.isLinkSignal },
{ prop: 'sectionCode', label: '关联区段:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', clearable: true, options: this.sectionList, hover: this.hover, buttonType: 'linkSection', buttonShowType: this.isLinkSectionShow, isHidden: !this.isLinkSection },
{ prop: 'switchCode', label: '关联道岔:', type: 'selectHover', optionLabel: 'name&&code', optionValue: 'code', clearable: true, options: this.switchList, hover: this.hover, buttonType: 'linkSwitch', buttonShowType: this.isLinkSwitchShow, isHidden: !this.isLinkSwitch },
- { prop: 'direction', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.isLinkDirection },
+ { prop: 'labelEnum', label: '方向:', type: 'select', optionLabel: 'label', optionValue: 'value', options: this.directionList, isHidden: !this.isLinkDirection },
{ prop: 'position', label: this.$t('map.textPoints'), type: 'coordinate', width: '120px', children: [
{ prop: 'position.x', firstLevel: 'position', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px', disabled: false },
{ prop: 'position.y', firstLevel: 'position', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px', disabled: false }
@@ -242,7 +242,7 @@ export default {
this.editModel.signalCode = '';
this.editModel.switchCode = '';
this.editModel.sectionCode = '';
- this.editModel.direction = '';
+ this.editModel.labelEnum = '';
this.activeName = 'first';
this.editModel = deepAssign(this.editModel, selected);
} else if (this.field === 'linkSignal' && selected && selected._type.toUpperCase() === 'Signal'.toUpperCase()) {
@@ -288,11 +288,11 @@ export default {
},
updateMapModel(data) {
if (this.isLinkSignal) {
- data.sectionCode = ''; data.switchCode = ''; data.direction = '';
+ data.sectionCode = ''; data.switchCode = ''; data.labelEnum = '';
} else if (this.isLinkSection) {
- data.signalCode = ''; data.switchCode = ''; data.direction = '';
+ data.signalCode = ''; data.switchCode = ''; data.labelEnum = '';
} else if (this.isLinkSwitch) {
- data.signalCode = ''; data.sectionCode = ''; data.direction = '';
+ data.signalCode = ''; data.sectionCode = ''; data.labelEnum = '';
} else if (this.isLinkDirection) {
data.sectionCode = ''; data.signalCode = ''; data.switchCode = '';
}
From c5d60323e26315dbcaac6cda261173b566e7e58b Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Thu, 21 Apr 2022 15:10:43 +0800
Subject: [PATCH 22/98] =?UTF-8?q?=E5=A4=A7=E9=93=81=E7=BA=BF=E8=B7=AF?=
=?UTF-8?q?=E8=B0=83=E6=95=B46=20=E8=81=94=E9=94=81=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/assist.js | 2 +-
src/utils/baseUrl.js | 1 +
.../indicatorAssociatedInfo/detail.vue | 240 ++++++------------
.../indicatorAssociatedInfo/route.vue | 19 +-
.../newMap/newMapdraft/mapoperate/index.vue | 5 +-
5 files changed, 91 insertions(+), 176 deletions(-)
diff --git a/src/api/assist.js b/src/api/assist.js
index 77d66e22b..de8a71d94 100644
--- a/src/api/assist.js
+++ b/src/api/assist.js
@@ -18,7 +18,7 @@ export function queryAssistById(id){
// 保存指示灯关联信息
export function saveAssist(data, mapId) {
return request({
- url: `/api/assist/indicator/section/save${mapId}`,
+ url: `/api/assist/indicator/section/save/${mapId}`,
method: 'post',
data
})
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index 6827def93..bcfe519ad 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -30,6 +30,7 @@ export function handlerUrl(data) {
// BASE_API = 'http://192.168.8.172:9200'; // 旭强
// BASE_API = 'http://192.168.8.109:9000'; // 张赛
// BASE_API = 'http://192.168.8.140:9000'; // 杜康
+ BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
diff --git a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue
index 46e6d1544..461747234 100644
--- a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue
@@ -11,7 +11,8 @@
+
diff --git a/src/jmapNew/theme/datie_02/menus/menuTrain.vue b/src/jmapNew/theme/datie_02/menus/menuTrain.vue
index 0aa2adfb2..178c95fd8 100644
--- a/src/jmapNew/theme/datie_02/menus/menuTrain.vue
+++ b/src/jmapNew/theme/datie_02/menus/menuTrain.vue
@@ -9,6 +9,7 @@
+
@@ -24,6 +25,7 @@ import TrainMoveNumber from './dialog/trainMoveNumber';
import TrainCreateNumber from './dialog/trainCreateNumber';
import TrainDeleteNumber from './dialog/trainDeleteNumber';
import TrainDetailInfo from './dialog/trainDetailInfo';
+import TrainSetPlan from './dialog/trainSetPlan';
import CancelMouseState from '@/mixin/CancelMouseState';
import CMD from '@/scripts/cmdPlugin/CommandEnum';
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
@@ -41,7 +43,8 @@ export default {
TrainCreateNumber,
TrainDeleteNumber,
TrainDetailInfo,
- SetFault
+ SetFault,
+ TrainSetPlan
},
mixins: [
CancelMouseState
@@ -59,53 +62,58 @@ export default {
menu: [],
menuNormal: {
Local: [
- {
- label: '新建计划列车',
- handler: this.createPlanTrain,
- cmdType: CMD.TrainWindow.CMD_Train_Init_Plan
- }
+ {
+ label: '设置计划车',
+ handler: this.setPlanTrain,
+ cmdType: CMD.TrainWindow.CMD_TRAIN_SET_PLAN
+ },
],
Center: [
- {
- label: '新建车组号',
- handler: this.createTrainNo
- },
- {
- label: '移动车组号',
- handler: this.moveTrainNo
- },
- {
- label: '删除车组号',
- handler: this.deleteTrainNo
- },
- {
- label: '修改车组号',
- handler: this.editTrainNo
- },
- {
- label: '设计划车',
- handler: this.setPlanTrainId
- },
- {
- label: '设目的地',
- handler: this.destinationTrainId
- },
- {
- label: '设人工车',
- handler: this.artificialTrainId
- },
- {
- label: '设特殊人工车',
- handler: this.undeveloped
- },
- {
- label: '详细列车信息',
- handler: this.detailTrainInfo
- },
- {
- label: '属性',
- handler: this.undeveloped
- }
+ {
+ label: '设置计划车',
+ handler: this.setPlanTrain,
+ cmdType: CMD.TrainWindow.CMD_TRAIN_SET_PLAN
+ }
+ // {
+ // label: '新建车组号',
+ // handler: this.createTrainNo
+ // },
+ // {
+ // label: '移动车组号',
+ // handler: this.moveTrainNo
+ // },
+ // {
+ // label: '删除车组号',
+ // handler: this.deleteTrainNo
+ // },
+ // {
+ // label: '修改车组号',
+ // handler: this.editTrainNo
+ // },
+ // {
+ // label: '设计划车',
+ // handler: this.setPlanTrainId
+ // },
+ // {
+ // label: '设目的地',
+ // handler: this.destinationTrainId
+ // },
+ // {
+ // label: '设人工车',
+ // handler: this.artificialTrainId
+ // },
+ // {
+ // label: '设特殊人工车',
+ // handler: this.undeveloped
+ // },
+ // {
+ // label: '详细列车信息',
+ // handler: this.detailTrainInfo
+ // },
+ // {
+ // label: '属性',
+ // handler: this.undeveloped
+ // }
]
},
menuForce: [
@@ -171,6 +179,7 @@ export default {
initMenu() {
// 编辑模式菜单列表
this.menu = MenuContextHandler.covert(this.menuNormal);
+ console.log(this.menu, '================');
// 故障模式菜单列表
if (this.operatemode === OperateMode.FAULT) {
if (!this.$store.state.scriptRecord.bgSet) {
@@ -287,6 +296,21 @@ export default {
this.$refs.noticeInfo.doShow();
});
},
+ // 设置计划车
+ setPlanTrain() {
+ const operate = {
+ start: true,
+ code: this.selected.code,
+ operation: OperationEvent.Train.editTrainId.menu.operation,
+ param: {}
+ };
+ this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
+ if (valid) {
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$refs.trainSetPlan.doShow(operate, this.selected);
+ }
+ });
+ },
// 设计划车
setPlanTrainId() {
const operate = {
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index bcfe519ad..934094017 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -28,9 +28,9 @@ export function handlerUrl(data) {
// BASE_API = 'http://114.116.51.125/jlcloud';
// BASE_API = 'http://192.168.8.152:9000'; // 袁琪
// BASE_API = 'http://192.168.8.172:9200'; // 旭强
- // BASE_API = 'http://192.168.8.109:9000'; // 张赛
+ BASE_API = 'http://192.168.3.15:9000'; // 张赛
// BASE_API = 'http://192.168.8.140:9000'; // 杜康
- BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
+ // BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
// BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
diff --git a/src/views/newMap/displayCity/demonMenu.vue b/src/views/newMap/displayCity/demonMenu.vue
index d14c473a8..a4066fd7f 100644
--- a/src/views/newMap/displayCity/demonMenu.vue
+++ b/src/views/newMap/displayCity/demonMenu.vue
@@ -8,7 +8,7 @@
经典案例分析
规范学习
-
占线板
+
占线板
派班计划预览
实操练习
理论考试
+ 占线板
留言板
联系方式
@@ -39,6 +40,7 @@
+
+
diff --git a/src/jmapNew/theme/datie_02/menus/dialog/routeSelection1.vue b/src/jmapNew/theme/datie_02/menus/dialog/routeSelection1.vue
new file mode 100644
index 000000000..237cce621
--- /dev/null
+++ b/src/jmapNew/theme/datie_02/menus/dialog/routeSelection1.vue
@@ -0,0 +1,302 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 进路列表
+
+ {{ expandTitle }}
+
+
+
+
+
+
+
+ 确定
+
+
+ 取 消
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue
index da07c8f68..1bb2c6ba3 100644
--- a/src/jmapNew/theme/datie_02/menus/index.vue
+++ b/src/jmapNew/theme/datie_02/menus/index.vue
@@ -1,25 +1,25 @@