diff --git a/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js b/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js index f4a30142c..04a2fc013 100644 --- a/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js +++ b/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js @@ -104,6 +104,10 @@ export function Jlmap3dSubscribeNew(jlmap3d,routegroup,jsonwebwork) { initall(event.data.body); return; } + if (event.data.type == 'Simulation_Over') { + window.close(); + return; + } }; this.updatamap = function(newsectionlist,newlinklist,newsignallist,newstationstandlist,newtrainlisttest,newrealsectionlist,newrails, materiallist, nowaction, scene) { diff --git a/src/jmapNew/theme/fuzhou_01/operationConfig.js b/src/jmapNew/theme/fuzhou_01/operationConfig.js index 7a6a09b19..d8d1c955a 100644 --- a/src/jmapNew/theme/fuzhou_01/operationConfig.js +++ b/src/jmapNew/theme/fuzhou_01/operationConfig.js @@ -1,6 +1,7 @@ // 操作规则定义 // {id: "1", trainingType: "ControlConvertMenu", name: "车站名称"} // {id: "2", trainingType: "ControlConvertMenu", name: "车站控制模式编号"} + // {id: "3", trainingType: "Signal", name: "进路名称"} // {id: "4", trainingType: "Signal", name: "进路编号"} // {id: "5", trainingType: "Signal", name: "信号机名称"} @@ -707,7 +708,7 @@ export default { minDuration: 8, operateType: 'Signal_Close_Signal', skinCode: '02', - trainingName: '信号关灯({3})', + trainingName: '信号关灯({5})', trainingRemark: '信号关灯', trainingType: 'Signal', productTypes: ['01', '02'], @@ -722,7 +723,7 @@ export default { minDuration: 8, operateType: 'Signal_Reopen_Signal', skinCode: '02', - trainingName: '信号重开({3})', + trainingName: '信号重开({5})', trainingRemark: '信号重开', trainingType: 'Signal', productTypes: ['01', '02'], diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue index 9973d407f..167338d9c 100644 --- a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue +++ b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue @@ -5,7 +5,7 @@