宁波实训跳转集中站
This commit is contained in:
parent
a9294357b5
commit
e49f32d6b2
@ -2,7 +2,7 @@ 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.3.5:9000'; // 袁琪
|
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||||
|
@ -263,7 +263,7 @@ export default {
|
|||||||
this.showSelectStation && this.setStationList(val);
|
this.showSelectStation && this.setStationList(val);
|
||||||
},
|
},
|
||||||
'$store.state.training.offsetStationCode': function(code) {
|
'$store.state.training.offsetStationCode': function(code) {
|
||||||
if (code) {
|
if (code && this.showSelectStation) {
|
||||||
const deviceModel = this.$store.getters['map/getDeviceByCode'](code);
|
const deviceModel = this.$store.getters['map/getDeviceByCode'](code);
|
||||||
if (deviceModel._type == 'Section' || deviceModel._type == 'Switch' || deviceModel._type == 'Signal' || deviceModel._type == 'Switch') {
|
if (deviceModel._type == 'Section' || deviceModel._type == 'Switch' || deviceModel._type == 'Signal' || deviceModel._type == 'Switch') {
|
||||||
const stationModel = this.$store.getters['map/getDeviceByCode'](deviceModel.stationCode);
|
const stationModel = this.$store.getters['map/getDeviceByCode'](deviceModel.stationCode);
|
||||||
|
Loading…
Reference in New Issue
Block a user