@@ -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);
},