修改三維駕駛psl

This commit is contained in:
sunzhenyu 2021-09-26 15:01:07 +08:00
parent 589747ae92
commit db908d63a1
3 changed files with 12 additions and 9 deletions

View File

@ -2,10 +2,10 @@ export function getBaseUrl() {
let BASE_API; let BASE_API;
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
// BASE_API = 'https://joylink.club/jlcloud'; // BASE_API = 'https://joylink.club/jlcloud';
BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.8.152:9000'; // 袁琪 // BASE_API = 'http://192.168.8.152:9000'; // 袁琪
// BASE_API = 'http://192.168.8.177:9000'; // 旭强 // BASE_API = 'http://192.168.8.177:9000'; // 旭强
// BASE_API = 'http://192.168.8.109:9000'; // 张赛 BASE_API = 'http://192.168.8.109:9000'; // 张赛
// BASE_API = 'http://192.168.8.140:9000'; // 杜康 // BASE_API = 'http://192.168.8.140:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://b29z135112.zicp.vip';
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康

View File

@ -577,10 +577,10 @@ export default {
} }
}, },
jl3dUpdatePslCode(newPslCode){ jl3dUpdatePslCode(newPslCode){
if(newPslCode != undefined){ if(newPslCode == null){
this.pslShow = true;
}else{
this.pslShow = false; this.pslShow = false;
}else{
this.pslShow = true;
} }
this.pslCode = newPslCode; this.pslCode = newPslCode;
}, },

View File

@ -246,11 +246,15 @@ export default {
this.updateM7(newdata.doorMode); this.updateM7(newdata.doorMode);
} }
if(newdata.standCode != this.standCode){ if(typeof(newdata.standCode) != "undefined"){
this.standCode = newdata.standCode; if(newdata.standCode != this.standCode){
jl3dUpdatePslCode(this.standCode); this.standCode = newdata.standCode;
jl3dUpdatePslCode(this.standCode);
}
} }
if(newdata.nextStation){ if(newdata.nextStation){
this.updateMmiNextStation(newdata.nextStation); this.updateMmiNextStation(newdata.nextStation);
} }
@ -621,7 +625,6 @@ export default {
}, },
jl3dUpdateMmiMsg(msg,type){ jl3dUpdateMmiMsg(msg,type){
console.log(type);
this.mmimsgcolor = "#000"; this.mmimsgcolor = "#000";
if(type){ if(type){
this.mmimsgcolor = "#FFFF6F"; this.mmimsgcolor = "#FFFF6F";