diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js
index 5f6529e7e..345f3a2dd 100644
--- a/src/api/jmap/mapdraft.js
+++ b/src/api/jmap/mapdraft.js
@@ -133,6 +133,25 @@ export function listRoutingData(mapId, params) {
});
}
+/** 分页查询公共的交路数据(新版)*/
+export function listPublicRoutingData(mapId, params) {
+ return request({
+ // url: `/api/mapBuild/${mapId}/routingData`,
+ url: `/api/runPlan/userData/${mapId}/default/routing/page`,
+ method: 'get',
+ params: params
+ });
+}
+
+/** 用户拉取公共的交路数据(新版)*/
+export function pullPublicRoutingData(mapId, data) {
+ return request({
+ url: `/api/runPlan/userData/${mapId}/default/routing/pull`,
+ method: 'put',
+ data: data
+ });
+}
+
/** 创建交路(新版)*/
export function addRoutingData(data) {
return request({
diff --git a/src/components/QueryListPage/QueryListPage.vue b/src/components/QueryListPage/QueryListPage.vue
index e25f33dae..b3938ca95 100644
--- a/src/components/QueryListPage/QueryListPage.vue
+++ b/src/components/QueryListPage/QueryListPage.vue
@@ -165,14 +165,6 @@
-
- {{ $t('global.selectAdd') }}
-
+
+ {{ queryList.selectCheckText?queryList.selectCheckText:$t('global.selectAdd') }}
+
@@ -517,12 +518,12 @@ export default {
},
onRowClick(row) {
this.choose = row;
- },
- onReset() {
- if (this.$refs.queryForm) {
- this.$refs.queryForm.doClean();
- }
- },
+ },
+ onReset() {
+ if (this.$refs.queryForm) {
+ this.$refs.queryForm.doClean();
+ }
+ },
currentChoose() {
return this.choose;
},
@@ -568,7 +569,7 @@ export default {
delete self.queryData[self.sortBy];
self.refresh(true);
}
- }
+ }
}
};
@@ -594,4 +595,8 @@ export default {
z-index: 100;
}
}
+.defaultCheckClass{
+ margin-top: 8px;
+ margin-left: 8px;
+}
diff --git a/src/jmapNew/shape/Section/index.js b/src/jmapNew/shape/Section/index.js
index d4ee866d6..b9b079ad7 100644
--- a/src/jmapNew/shape/Section/index.js
+++ b/src/jmapNew/shape/Section/index.js
@@ -153,7 +153,8 @@ export default class Section extends Group {
});
if (this.model.parentCode && this.model.type == '01') {
- this.line.setCrossRouteLock();
+ const section = this.mapDevice[this.model.parentCode];
+ section && section.instance && section.instance.line.setCrossRouteLock();
}
}
@@ -178,7 +179,8 @@ export default class Section extends Group {
}
if (this.model.parentCode && this.model.type == '01') {
- this.line.setCrossRouteLock();
+ const section = this.mapDevice[this.model.parentCode];
+ section && section.instance && section.instance.line.setCrossRouteLock();
}
}
/** ARB故障 */
diff --git a/src/jmapNew/theme/chengdu_03/menus/menuBar.vue b/src/jmapNew/theme/chengdu_03/menus/menuBar.vue
index 5e847958c..fbaa28edc 100644
--- a/src/jmapNew/theme/chengdu_03/menus/menuBar.vue
+++ b/src/jmapNew/theme/chengdu_03/menus/menuBar.vue
@@ -615,7 +615,7 @@ export default {
mapLocation(code) {
if (code) {
this.$store.dispatch('training/updateOffsetStationCode', { offsetStationCode: code });
- this.$refs.menuBar.closeMenu(true);
+
}
},
// 关于
@@ -625,8 +625,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.helpAbout.doShow(operate);
}
});
@@ -646,8 +645,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.setLimitSpeed.doShow(operate, true);
}
});
@@ -658,8 +656,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.setLimitSpeed.doShow(operate, false);
}
});
diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue b/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
index 76a5a4171..999b1fe88 100644
--- a/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
+++ b/src/jmapNew/theme/fuzhou_01/menus/menuBar.vue
@@ -324,8 +324,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationControlConvert.doShow(operate);
}
});
@@ -337,8 +336,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.passwordBox.doShow(operate);
}
});
@@ -350,8 +348,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationControlConvert.doShow(operate);
}
});
@@ -363,8 +360,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.viewTrainId.doShow(operate);
}
});
@@ -376,8 +372,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.viewName.doShow(operate);
}
});
@@ -389,8 +384,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.viewDevice.doShow(operate);
}
});
@@ -402,8 +396,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainAdd.doShow(operate);
}
});
@@ -415,8 +408,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainTranstalet.doShow(operate);
}
});
@@ -428,8 +420,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainDelete.doShow(operate);
}
});
@@ -441,8 +432,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.manageUser.doShow(operate);
}
});
@@ -454,15 +444,14 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.helpAbout.doShow(operate);
}
});
},
// 刷新
refresh() {
- this.$refs.menuBar.closeMenu(true);
+
EventBus.$emit('refresh');
},
getLoginResult(operate) {
diff --git a/src/jmapNew/theme/ningbo_01/menus/menuBar.vue b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue
index 1b613d50b..f853d8bf8 100644
--- a/src/jmapNew/theme/ningbo_01/menus/menuBar.vue
+++ b/src/jmapNew/theme/ningbo_01/menus/menuBar.vue
@@ -555,7 +555,7 @@ export default {
mapLocation(code) {
if (code) {
this.$store.dispatch('training/updateOffsetStationCode', { offsetStationCode: code });
- this.$refs.menuBar.closeMenu(true);
+
}
},
// 站遥控
@@ -567,8 +567,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationControl.doShow(operate);
}
});
@@ -581,8 +580,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.areaSelection.doShow(operate);
}
@@ -596,8 +594,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.detainTrainContorl.doShow(operate);
}
});
@@ -611,8 +608,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.detainTrainContorl.doShow(operate);
}
});
@@ -626,8 +622,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.detainTrainContorlUpDown.doShow(operate);
}
});
@@ -641,8 +636,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.detainTrainContorlUpDown.doShow(operate);
}
});
@@ -655,8 +649,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainAdd.doShow(operate);
}
});
@@ -669,8 +662,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainTranstalet.doShow(operate);
}
});
@@ -683,8 +675,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainDelete.doShow(operate);
}
});
@@ -697,8 +688,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.manageUser.doShow(operate);
}
});
@@ -711,8 +701,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.helpAbout.doShow(operate);
}
});
@@ -724,8 +713,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
const station = this.$store.getters['map/getDeviceByCode'](this.$store.state.map.showCentralizedStationCode);
const nextOperate = {
operation: OperationEvent.Station.stationSetCIAuto.confirm.operation,
@@ -743,8 +731,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
const station = this.$store.getters['map/getDeviceByCode'](this.$store.state.map.showCentralizedStationCode);
const nextOperate = {
operation: OperationEvent.Station.atsAutoControlALL.confirm.operation,
@@ -762,8 +749,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
const station = this.$store.getters['map/getDeviceByCode'](this.$store.state.map.showCentralizedStationCode);
const nextOperate = {
operation: OperationEvent.Station.stationCancelCIAuto.confirm.operation,
diff --git a/src/jmapNew/theme/ningbo_03/menus/menuBar.vue b/src/jmapNew/theme/ningbo_03/menus/menuBar.vue
index a806a15ad..b13e9cd07 100644
--- a/src/jmapNew/theme/ningbo_03/menus/menuBar.vue
+++ b/src/jmapNew/theme/ningbo_03/menus/menuBar.vue
@@ -651,11 +651,13 @@ export default {
children: [
{
title: '初始化',
- operate: OperationEvent.Command.commandNingBo3.line_section_clearSpeed
+ operate: OperationEvent.Command.commandNingBo3.line_section_clearSpeed_init,
+ click: e => this.setLimitSpeed(e, false)
},
{
title: '确定/取消',
- operate: OperationEvent.Command.commandNingBo3.line_section_clearSpeed
+ operate: OperationEvent.Command.commandNingBo3.line_section_clearSpeed_sure,
+ click: e => this.setLimitSpeed(e, true)
}
]
}
@@ -1853,7 +1855,6 @@ export default {
const oldStation = this.$store.getters['map/getDeviceByCode'](oldMember.deviceCode);
const newStation = this.$store.getters['map/getDeviceByCode'](newMember.deviceCode);
if (oldStation.controller || newStation.controller) {
- // console.log(9999999999, oldStation.controller, newStation.controller);
if (newStation.controller) {
let centerStation;
if (newStation.centralized) {
@@ -1903,8 +1904,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.arrangeRoute.doShow();
}
});
@@ -1916,8 +1916,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainDistribution.doShow(operate, 'first');
}
});
@@ -1929,8 +1928,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainDistribution.doShow(operate, 'second');
}
});
@@ -1942,8 +1940,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.trainDistribution.doShow(operate, 'third');
}
});
@@ -1956,8 +1953,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.standControl.doShow();
}
});
@@ -1970,8 +1966,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.standDetain.doShow({active:'first'});
}
});
@@ -1983,8 +1978,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.intervalStopNumber.doShow();
}
});
@@ -1997,8 +1991,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.allocateTime.doShow();
}
});
@@ -2011,8 +2004,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationTransfer.doShow();
}
});
@@ -2025,8 +2017,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationRequest.doShow();
}
});
@@ -2039,8 +2030,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationDevolution.doShow();
}
});
@@ -2053,8 +2043,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.stationReclaim.doShow();
}
});
@@ -2066,8 +2055,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
+ this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
this.$refs.standDetail.doShow();
}
});
@@ -2079,8 +2067,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.switchCommand.doShow();
}
});
@@ -2093,8 +2080,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'switchBlockSure' : 'switchBlockInit'].doShow(operate, sure);
}
});
@@ -2108,8 +2094,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'switchBlockSure' : 'switchBlockInit'].doShow(operate, sure);
}
});
@@ -2122,8 +2107,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) =>{
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.switchActive.doShow();
}
});
@@ -2136,8 +2120,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.switchDetail.doShow();
}
});
@@ -2150,8 +2133,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.routeCommand.doShow();
}
});
@@ -2164,8 +2146,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'signalGuideSure' : 'signalGuideInit'].doShow(operate, sure);
}
});
@@ -2177,8 +2158,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs['cancleSignalGuide'].doShow(operate);
// this.$refs[sure ? 'signalGuideSure' : 'signalGuideInit'].doShow(operate, sure);
}
@@ -2192,8 +2172,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'signalCanBlockSure' : 'signalCanBlockInit'].doShow(operate, sure);
}
});
@@ -2205,8 +2184,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'sectionOpenSure' : 'sectionOpenInit'].doShow(operate, sure);
}
});
@@ -2218,8 +2196,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'cancelTransferLockSure' : 'cancelTransferLockInit'].doShow(operate, sure);
}
});
@@ -2231,8 +2208,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'cancelSwitchLockSure' : 'cancelSwitchLockInit'].doShow(operate, sure);
}
});
@@ -2244,8 +2220,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'remoteResetFuncSure' : 'remoteResetFuncInit'].doShow(operate, sure);
}
});
@@ -2257,8 +2232,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'sectionOpenSure' : 'sectionOpenInit'].doShow(operate, sure);
}
});
@@ -2270,21 +2244,19 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'sectionLimitSpeedSure' : 'sectionLimitSpeedInit'].doShow(operate, sure);
}
});
},
- handleSectionShow(item) {
+ handleSectionShow(item) {
const operate = {
type: 'bar',
operation: item.operation
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionShow.doShow();
}
});
@@ -2296,8 +2268,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionLock.doShow();
}
});
@@ -2309,8 +2280,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionLock.doShow();
}
});
@@ -2322,8 +2292,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionLock.doShow();
}
});
@@ -2335,8 +2304,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionLock.doShow();
}
});
@@ -2348,8 +2316,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.signalModel.doShow();
}
});
@@ -2361,8 +2328,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.sectionLock.doShow();
}
});
@@ -2374,8 +2340,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'signalBlockSure' : 'signalBlockInit'].doShow(operate, sure);
}
});
@@ -2387,8 +2352,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'signalBlockSure' : 'signalBlockInit'].doShow(operate, sure);
}
});
@@ -2400,8 +2364,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.signalDetail.doShow(operate);
}
});
@@ -2413,8 +2376,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.initSignalMode.doShow(operate);
}
});
@@ -2426,8 +2388,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs[sure ? 'signalModeSure' : 'signalModeInit'].doShow(operate, sure);
}
});
@@ -2439,8 +2400,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
// this.$refs.systemDetain.doShow(operate);
this.$refs.standDetain.doShow({active:'second'});
}
@@ -2453,8 +2413,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.runningInterval.doShow(operate);
}
});
@@ -2466,8 +2425,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.adjustStrategy.doShow(operate);
}
});
@@ -2479,8 +2437,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainDepart.doShow(operate);
}
});
@@ -2492,8 +2449,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainDepart.doShow(operate);
}
});
@@ -2505,8 +2461,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainDepart.doShow(operate);
}
});
@@ -2518,8 +2473,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainJumpStop.doShow(operate);
}
});
@@ -2531,8 +2485,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainCancelDeviation.doShow(operate);
}
});
@@ -2544,8 +2497,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainUpdateDeviation.doShow(operate);
}
});
@@ -2557,8 +2509,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.cancelRoute.doShow(operate);
}
});
@@ -2570,8 +2521,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainIdAssociated.doShow(operate);
}
});
@@ -2583,8 +2533,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.occupancyTrainCorrelation.doShow(operate);
}
});
@@ -2596,8 +2545,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.modifyTrainNumber.doShow(operate);
}
});
@@ -2609,8 +2557,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.trainRunType.doShow(operate);
}
});
@@ -2622,8 +2569,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break:true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break:true});
this.$refs.trainDetail.doShow(operate);
}
});
@@ -2635,8 +2581,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break: true});
this.$refs.allTrainDetail.doShow(operate);
}
});
@@ -2648,8 +2593,7 @@ export default {
};
this.$store.dispatch('training/nextNew', operate).then(({valid}) => {
if (valid) {
- this.$refs.menuBar.closeMenu(true);
- this.$store.dispatch('menuOperation/handleBreakFlag', {break:true});
+ this.$store.dispatch('menuOperation/handleBreakFlag', {break:true});
this.$refs.routeDetail.doShow(operate);
}
});
diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelSwitchLock.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelSwitchLock.vue
index a80bd6458..443dc98bf 100644
--- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelSwitchLock.vue
+++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelSwitchLock.vue
@@ -102,7 +102,8 @@ export default {
command: true,
sure: false,
currentSelect: null,
- noInit: true
+ noInit: true,
+ changeIgnore: false,
};
},
computed: {
@@ -125,16 +126,16 @@ export default {
return this.sectionList.filter(el => ['01', '04'].includes(el.type) )
},
domIdChoose() {
- return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
},
domIdConfirm() {
- return this.dialogShow ? OperationEvent.Command.common.confirm1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
},
domIdApply() {
- return this.dialogShow ? OperationEvent.Command.common.apply1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.apply.domId : '';
},
domIdClose() {
- return this.dialogShow ? OperationEvent.Command.common.close1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.close.domId : '';
}
},
watch: {
@@ -156,10 +157,12 @@ export default {
doShow(operate, sure) {
this.operate = operate;
this.sure = sure;
+ if (!sure) this.command = true;
this.title = `${sure? '确认/取消过岔锁闭取消': '初始化过岔锁闭取消'}`;
this.currentSelect = this.$store.getters['map/getDeviceByCode'](this.initSelect.code);
this.dialogShow = true;
this.$nextTick(function () {
+ this.changeIgnore = sure
this.$refs.table.setCurrentRow(sure? this.tempList.find(el => el.code == this.initSelect.code): null);
this.$store.dispatch('training/emitTipFresh');
});
@@ -181,7 +184,7 @@ export default {
const isOK = this.command&&(!this.sure || this.sure&&cacheMap[this.currentSelect.code])
const operate = {
cmdType: this.sure&&isOK? this.cmdType: null,
- operation: isClose ? OperationEvent.Command.common.confirm1.operation : OperationEvent.Command.common.apply1.operation,
+ operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
over: this.sure,
param: {sectionCode: this.currentSelect.code}
};
@@ -207,14 +210,18 @@ export default {
}
},
handleChangeLine(val) {
- if (!val) { return; }
+ if (!val) { return; }
+ this.currentSelect = this.$store.getters['map/getDeviceByCode'](val.code);
+ this.$emit('updateDone')
+ if (this.changeIgnore) { return; }
+
const step = {
code: val.code,
- operation: OperationEvent.Command.common.choose1.operation,
+ operation: OperationEvent.Command.common.choose.operation,
val: val.code
};
- this.currentSelect = this.$store.getters['map/getDeviceByCode'](val.code);
+ this.changeIgnore = false;
this.$emit('updateDone')
this.$store.dispatch('training/nextNew', step).then(({ valid }) => {
if (valid) {
@@ -251,7 +258,7 @@ export default {
},
cancel() {
const operate = {
- operation: OperationEvent.Command.common.close1.operation
+ operation: OperationEvent.Command.common.close.operation
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelTransferLock.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelTransferLock.vue
index ede5fb567..67b17304f 100644
--- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelTransferLock.vue
+++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancelTransferLock.vue
@@ -97,7 +97,8 @@ export default {
command: true,
sure: false,
currentSelect: null,
- noInit: true
+ noInit: true,
+ changeIgnore: false
};
},
computed: {
@@ -120,16 +121,16 @@ export default {
return this.sectionList.filter(el => ['01', '04'].includes(el.type) )
},
domIdChoose() {
- return this.dialogShow ? OperationEvent.Command.common.choose1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.choose.domId : '';
},
domIdConfirm() {
- return this.dialogShow ? OperationEvent.Command.common.confirm1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.confirm.domId : '';
},
domIdApply() {
- return this.dialogShow ? OperationEvent.Command.common.apply1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.apply.domId : '';
},
domIdClose() {
- return this.dialogShow ? OperationEvent.Command.common.close1.domId : '';
+ return this.dialogShow ? OperationEvent.Command.common.close.domId : '';
}
},
watch: {
@@ -151,10 +152,12 @@ export default {
doShow(operate, sure) {
this.operate = operate;
this.sure = sure;
+ if (!sure) this.command = true;
this.title = `${sure? '确认/取消转换锁闭取消': '初始化转换锁闭取消'}`;
this.currentSelect = this.$store.getters['map/getDeviceByCode'](this.initSelect.code);
this.dialogShow = true;
this.$nextTick(function () {
+ this.changeIgnore = sure;
this.$refs.table.setCurrentRow(sure? this.tempList.find(el => el.code == this.initSelect.code): null);
this.$store.dispatch('training/emitTipFresh');
});
@@ -176,7 +179,7 @@ export default {
const isOK = this.command&&(!this.sure || this.sure&&cacheMap[this.currentSelect.code])
const operate = {
cmdType: this.sure&&isOK? this.cmdType: null,
- operation: isClose ? OperationEvent.Command.common.confirm1.operation : OperationEvent.Command.common.apply1.operation,
+ operation: isClose ? OperationEvent.Command.common.confirm.operation : OperationEvent.Command.common.apply.operation,
over: this.sure,
param: {sectionCode: this.currentSelect.code}
};
@@ -202,14 +205,18 @@ export default {
}
},
handleChangeLine(val) {
- if (!val) { return; }
+ if (!val) { return; }
+ this.currentSelect = this.$store.getters['map/getDeviceByCode'](val.code);
+ this.$emit('updateDone')
+ if (this.changeIgnore) { return; }
+
const step = {
code: val.code,
- operation: OperationEvent.Command.common.choose1.operation,
+ operation: OperationEvent.Command.common.choose.operation,
val: val.code
};
- this.currentSelect = this.$store.getters['map/getDeviceByCode'](val.code);
+ this.changeIgnore = false;
this.$emit('updateDone')
this.$store.dispatch('training/nextNew', step).then(({ valid }) => {
if (valid) {
@@ -244,7 +251,7 @@ export default {
},
cancel() {
const operate = {
- operation: OperationEvent.Command.common.close1.operation
+ operation: OperationEvent.Command.common.close.operation
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
diff --git a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancleSignalGuide.vue b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancleSignalGuide.vue
index cf2eacc23..dfb07f158 100644
--- a/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancleSignalGuide.vue
+++ b/src/jmapNew/theme/ningbo_03/menus/menuDialog/cancleSignalGuide.vue
@@ -21,11 +21,6 @@
{{ getCanGuide(scope.row.code) }}
-
@@ -45,22 +40,18 @@
-
+
diff --git a/src/views/planMonitor/components/routingoperate/routeConfig.vue b/src/views/planMonitor/components/routingoperate/routeConfig.vue
index e2ba4b18c..5fa9ae3ca 100644
--- a/src/views/planMonitor/components/routingoperate/routeConfig.vue
+++ b/src/views/planMonitor/components/routingoperate/routeConfig.vue
@@ -1,169 +1,173 @@
-
-
- {{ $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') }}
-
-
-
-
-
+
+
+ {{ $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/planMonitor/editToolTJ/component/menuNav/menuList.vue b/src/views/planMonitor/editToolTJ/component/menuNav/menuList.vue
index 21023c888..de8ab39c8 100644
--- a/src/views/planMonitor/editToolTJ/component/menuNav/menuList.vue
+++ b/src/views/planMonitor/editToolTJ/component/menuNav/menuList.vue
@@ -2,11 +2,13 @@