From 45fbdf0dd72e3025f8527ae010c346acf27f59f7 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Tue, 10 Sep 2024 12:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=9F=9C=20atp=E5=88=87?= =?UTF-8?q?=E9=99=A4=E7=8A=B6=E6=80=81=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jlmap3d/drive/equipbox/equipbox.vue | 7 +++++-- src/views/jlmap3d/drive/jl3ddrive.vue | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/jlmap3d/drive/equipbox/equipbox.vue b/src/views/jlmap3d/drive/equipbox/equipbox.vue index c463e8a70..642b64d59 100644 --- a/src/views/jlmap3d/drive/equipbox/equipbox.vue +++ b/src/views/jlmap3d/drive/equipbox/equipbox.vue @@ -103,7 +103,7 @@
- +
正常
切除
@@ -171,6 +171,10 @@ groupNum: { type: String, default: null + }, + atpOn: { + type: Boolean, + default: false } }, data() { @@ -224,7 +228,6 @@ } } }, - atpclick: function (type){ let data = { groupNumber:this.groupNum, diff --git a/src/views/jlmap3d/drive/jl3ddrive.vue b/src/views/jlmap3d/drive/jl3ddrive.vue index b094001f7..42f84333d 100644 --- a/src/views/jlmap3d/drive/jl3ddrive.vue +++ b/src/views/jlmap3d/drive/jl3ddrive.vue @@ -51,7 +51,7 @@ - +
@@ -140,7 +140,8 @@ export default { value: '', topid:null, nowdrive:null, - takeOver: false + takeOver: false, + atpOn: false }; }, computed: { @@ -418,6 +419,9 @@ export default { if (this.$refs.mmiui) { this.$refs.mmiui.updatetrainstatus(newdata); } + if(newdata.hasOwnProperty('atpOn')){ + this.atpOn = newdata.atpOn; + } updatabuttonlight(newdata); },