From 2c770a5bcce8fb164db129252bcf6337b986598c Mon Sep 17 00:00:00 2001 From: fan Date: Thu, 21 Jul 2022 18:12:28 +0800 Subject: [PATCH 01/37] =?UTF-8?q?=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/map.js | 13 ++++++++++--- src/jmapNew/theme/beijing_01/model.js | 18 ++++++++++++++---- src/jmapNew/theme/chengdu_01/model.js | 18 ++++++++++++++---- src/jmapNew/theme/chengdu_03/model.js | 18 ++++++++++++++---- src/jmapNew/theme/datie_01/model.js | 20 +++++++++++++++----- src/jmapNew/theme/datie_02/model.js | 19 +++++++++++++++---- src/jmapNew/theme/datie_jd1a/model.js | 19 +++++++++++++++---- src/jmapNew/theme/datie_tky/model.js | 19 +++++++++++++++---- src/jmapNew/theme/foshan_01/model.js | 19 +++++++++++++++---- src/jmapNew/theme/fuzhou_01/model.js | 19 +++++++++++++++---- src/jmapNew/theme/haerbin_01/model.js | 19 +++++++++++++++---- src/jmapNew/theme/nanjing_02/model.js | 19 +++++++++++++++---- src/jmapNew/theme/ningbo_01/model.js | 19 +++++++++++++++---- src/jmapNew/theme/ningbo_03/model.js | 19 +++++++++++++++---- src/jmapNew/theme/race_01/model.js | 18 ++++++++++++++---- src/jmapNew/theme/xian_01/model.js | 18 ++++++++++++++---- src/jmapNew/theme/xian_02/model.js | 21 +++++++++++++++------ 17 files changed, 245 insertions(+), 70 deletions(-) diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index 1391c9e8d..732319c8f 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -85,15 +85,22 @@ class Jlmap { } reloadStyle(lineCode) { if (this.lineCode !== lineCode) { - this.handleModelData(this.lineCode, lineCode); + this.reloadModelData(this.lineCode, lineCode); } this.lineCode = lineCode; this.style = selectLineCode(lineCode); this.$zr.dom.style.backgroundColor = this.style.backgroundColor || '#000'; + console.log(this.mapDevice, 'mapDevice'); } // 处理私有属性 - handleModelData(oldLineCode, lineCode) { - + reloadModelData(oldLineCode, lineCode) { + // console.log(oldLineCode, lineCode, '-------------12'); + const propConvert = lineCode ? Vue.prototype.$theme.loadPropConvert(lineCode) : null; + const oldPropConvert = oldLineCode ? Vue.prototype.$theme.loadPropConvert(oldLineCode) : null; + for (const device in this.mapDevice) { + oldPropConvert.deletePrivateProps(device); + propConvert.initPrivateProps(device); + } } loadDefaultState() { // 加载默认状态 const defaultStateDict = {}; diff --git a/src/jmapNew/theme/beijing_01/model.js b/src/jmapNew/theme/beijing_01/model.js index c7d80a99e..2560bd938 100644 --- a/src/jmapNew/theme/beijing_01/model.js +++ b/src/jmapNew/theme/beijing_01/model.js @@ -43,9 +43,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -56,9 +56,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +66,16 @@ class Model { return model; } + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/chengdu_01/model.js b/src/jmapNew/theme/chengdu_01/model.js index b7c5f905f..25920db5e 100644 --- a/src/jmapNew/theme/chengdu_01/model.js +++ b/src/jmapNew/theme/chengdu_01/model.js @@ -46,9 +46,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -59,9 +59,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -69,6 +69,16 @@ class Model { return model; } + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/chengdu_03/model.js b/src/jmapNew/theme/chengdu_03/model.js index c7d80a99e..2560bd938 100644 --- a/src/jmapNew/theme/chengdu_03/model.js +++ b/src/jmapNew/theme/chengdu_03/model.js @@ -43,9 +43,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -56,9 +56,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +66,16 @@ class Model { return model; } + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/datie_01/model.js b/src/jmapNew/theme/datie_01/model.js index c7d80a99e..52be6ae09 100644 --- a/src/jmapNew/theme/datie_01/model.js +++ b/src/jmapNew/theme/datie_01/model.js @@ -43,22 +43,21 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } } - return model; } initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +65,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/datie_02/model.js b/src/jmapNew/theme/datie_02/model.js index c7d80a99e..9c09fd633 100644 --- a/src/jmapNew/theme/datie_02/model.js +++ b/src/jmapNew/theme/datie_02/model.js @@ -43,9 +43,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -56,9 +56,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +66,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/datie_jd1a/model.js b/src/jmapNew/theme/datie_jd1a/model.js index c7d80a99e..9c09fd633 100644 --- a/src/jmapNew/theme/datie_jd1a/model.js +++ b/src/jmapNew/theme/datie_jd1a/model.js @@ -43,9 +43,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -56,9 +56,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +66,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/datie_tky/model.js b/src/jmapNew/theme/datie_tky/model.js index c7d80a99e..9c09fd633 100644 --- a/src/jmapNew/theme/datie_tky/model.js +++ b/src/jmapNew/theme/datie_tky/model.js @@ -43,9 +43,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -56,9 +56,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -66,6 +66,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/foshan_01/model.js b/src/jmapNew/theme/foshan_01/model.js index bd6829d9f..ecca1edf7 100644 --- a/src/jmapNew/theme/foshan_01/model.js +++ b/src/jmapNew/theme/foshan_01/model.js @@ -45,9 +45,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -58,9 +58,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -68,6 +68,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/fuzhou_01/model.js b/src/jmapNew/theme/fuzhou_01/model.js index 218474f7c..f9dff7a35 100644 --- a/src/jmapNew/theme/fuzhou_01/model.js +++ b/src/jmapNew/theme/fuzhou_01/model.js @@ -45,9 +45,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -58,9 +58,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -68,6 +68,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/haerbin_01/model.js b/src/jmapNew/theme/haerbin_01/model.js index 53a250e7f..e256d37de 100644 --- a/src/jmapNew/theme/haerbin_01/model.js +++ b/src/jmapNew/theme/haerbin_01/model.js @@ -44,9 +44,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -57,9 +57,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -67,6 +67,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/nanjing_02/model.js b/src/jmapNew/theme/nanjing_02/model.js index 53a250e7f..e256d37de 100644 --- a/src/jmapNew/theme/nanjing_02/model.js +++ b/src/jmapNew/theme/nanjing_02/model.js @@ -44,9 +44,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -57,9 +57,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -67,6 +67,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/ningbo_01/model.js b/src/jmapNew/theme/ningbo_01/model.js index c00fd4260..6a478f5d4 100644 --- a/src/jmapNew/theme/ningbo_01/model.js +++ b/src/jmapNew/theme/ningbo_01/model.js @@ -54,9 +54,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -67,9 +67,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -77,6 +77,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/ningbo_03/model.js b/src/jmapNew/theme/ningbo_03/model.js index c00fd4260..6a478f5d4 100644 --- a/src/jmapNew/theme/ningbo_03/model.js +++ b/src/jmapNew/theme/ningbo_03/model.js @@ -54,9 +54,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -67,9 +67,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -77,6 +77,17 @@ class Model { return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/race_01/model.js b/src/jmapNew/theme/race_01/model.js index c00fd4260..311a4d893 100644 --- a/src/jmapNew/theme/race_01/model.js +++ b/src/jmapNew/theme/race_01/model.js @@ -54,9 +54,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -67,9 +67,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -77,6 +77,16 @@ class Model { return model; } + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/xian_01/model.js b/src/jmapNew/theme/xian_01/model.js index bf09f1e11..ee8f58301 100644 --- a/src/jmapNew/theme/xian_01/model.js +++ b/src/jmapNew/theme/xian_01/model.js @@ -45,9 +45,9 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -58,9 +58,9 @@ class Model { initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } @@ -68,6 +68,16 @@ class Model { return model; } + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); diff --git a/src/jmapNew/theme/xian_02/model.js b/src/jmapNew/theme/xian_02/model.js index 849144e90..9d51fe665 100644 --- a/src/jmapNew/theme/xian_02/model.js +++ b/src/jmapNew/theme/xian_02/model.js @@ -48,29 +48,38 @@ class Model { initPublicProps(model) { if (model) { - var modelInitial = this.public[model._type]; + const modelInitial = this.public[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } } - return model; } initPrivateProps(model) { if (model) { - var modelInitial = this.private[model._type]; + const modelInitial = this.private[model._type]; if (modelInitial) { - for (var prop in modelInitial) { + for (const prop in modelInitial) { model[prop] = modelInitial[prop]; } } } - return model; } + + deletePrivateProps(model) { + if (model) { + const modelInitial = this.private[model._type]; + if (modelInitial) { + for (const prop in modelInitial) { + delete model[prop]; + } + } + } + } } export default new Model(); From a2ccd822088d913c05ff6f26594a32206654fcce Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 22 Jul 2022 10:16:30 +0800 Subject: [PATCH 02/37] =?UTF-8?q?=E7=94=BB=E9=9D=A2=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=A4=84=E7=90=86=E4=B8=8D=E5=90=8C=E7=BA=BF=E8=B7=AF=E7=A7=81?= =?UTF-8?q?=E6=9C=89=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/map.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/jmapNew/map.js b/src/jmapNew/map.js index 732319c8f..654ac2284 100644 --- a/src/jmapNew/map.js +++ b/src/jmapNew/map.js @@ -90,16 +90,14 @@ class Jlmap { this.lineCode = lineCode; this.style = selectLineCode(lineCode); this.$zr.dom.style.backgroundColor = this.style.backgroundColor || '#000'; - console.log(this.mapDevice, 'mapDevice'); } // 处理私有属性 reloadModelData(oldLineCode, lineCode) { - // console.log(oldLineCode, lineCode, '-------------12'); const propConvert = lineCode ? Vue.prototype.$theme.loadPropConvert(lineCode) : null; const oldPropConvert = oldLineCode ? Vue.prototype.$theme.loadPropConvert(oldLineCode) : null; - for (const device in this.mapDevice) { - oldPropConvert.deletePrivateProps(device); - propConvert.initPrivateProps(device); + for (const deviceCode in this.mapDevice) { + oldPropConvert.deletePrivateProps(this.mapDevice[deviceCode]); + propConvert.initPrivateProps(this.mapDevice[deviceCode]); } } loadDefaultState() { // 加载默认状态 From 3f7696e157681225ff8d06351be6498449ab6825 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 22 Jul 2022 11:20:24 +0800 Subject: [PATCH 03/37] =?UTF-8?q?=E5=A4=A7=E9=93=81=E4=BA=8C=E5=8F=B7?= =?UTF-8?q?=E7=BA=BF=E7=82=B9=E7=81=AF=E7=81=AD=E7=81=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/graph/Signal/index.js | 2 +- src/jmapNew/theme/datie_02/menus/index.vue | 2 +- .../theme/datie_02/menus/menuButton.vue | 57 ++++++++++++++----- src/scripts/cmdPlugin/CommandEnum.js | 6 +- src/scripts/cmdPlugin/OperationHandler.js | 8 +-- 5 files changed, 54 insertions(+), 21 deletions(-) diff --git a/src/jmapNew/shape/graph/Signal/index.js b/src/jmapNew/shape/graph/Signal/index.js index 4f72e5530..e57f088fa 100644 --- a/src/jmapNew/shape/graph/Signal/index.js +++ b/src/jmapNew/shape/graph/Signal/index.js @@ -1163,7 +1163,7 @@ class Signal extends Group { // 灯颜色状态显示 exec(SignalAspectMap[model.signalAspect], this.lamps, this.style); // 灯是否点灯显示 - this.lamps.forEach(lamp => { lamp.setStop(model.signalLight); }); + // this.lamps.forEach(lamp => { lamp.setStop(model.signalLight); }); } if (model.hasSelected) { this.sigName && this.sigName.setAnimationStart(this.style.Signal.text.defaultColor); diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue index c07abe8ef..ba90cf9f0 100644 --- a/src/jmapNew/theme/datie_02/menus/index.vue +++ b/src/jmapNew/theme/datie_02/menus/index.vue @@ -33,7 +33,7 @@
与中心通信正常
-
+
提示信息窗
{{ '操控A:主机' + ' ' + dateString + ' ' + time }}
diff --git a/src/jmapNew/theme/datie_02/menus/menuButton.vue b/src/jmapNew/theme/datie_02/menus/menuButton.vue index 7e52408dc..a75e36178 100644 --- a/src/jmapNew/theme/datie_02/menus/menuButton.vue +++ b/src/jmapNew/theme/datie_02/menus/menuButton.vue @@ -71,16 +71,16 @@
道岔解封
- - - - - - - - - - + + -