列车调整
This commit is contained in:
parent
daa7486ecf
commit
412e6bd582
@ -186,7 +186,7 @@ export default class Train extends Group {
|
||||
setDirectionType(right, flag) {
|
||||
if (this.style.Train.trainStatusStyle.directionType.length > 0) {
|
||||
this.style.Train.trainStatusStyle.directionType.forEach((item) => {
|
||||
if (right && item.type === '02' || !right && item.type === '03') {
|
||||
if (right === item.type) {
|
||||
let lineLShow = item.lineLShow;
|
||||
let arrowLShow = item.arrowLShow;
|
||||
let lineRShow = item.lineRShow;
|
||||
@ -210,7 +210,7 @@ export default class Train extends Group {
|
||||
setDirectionStopType(right) {
|
||||
if (this.style.Train.trainStatusStyle.directionStopType.length > 0) {
|
||||
this.style.Train.trainStatusStyle.directionStopType.forEach((item) => {
|
||||
if (right && item.type === '02' || !right && item.type === '03') {
|
||||
if (right === item.type) {
|
||||
this.trainL && this.trainL.setLineShow(item.lineLShow);
|
||||
this.trainR && this.trainR.setLineShow(item.lineRShow);
|
||||
return true;
|
||||
|
@ -3,12 +3,12 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// 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.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||
// BASE_API = 'http://b29z135112.zicp.vip';
|
||||
BASE_API = 'http://b29z135112.zicp.vip';
|
||||
// BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康
|
||||
} else {
|
||||
BASE_API = process.env.VUE_APP_BASE_API;
|
||||
|
@ -67,7 +67,7 @@
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
import {getAutoReentryGroupList, getRouteNewList, putAutoReentry, getAutoReentryList} from '@/api/jmap/mapdraft';
|
||||
import { getRouteNewList, putAutoReentry, getAutoReentryList} from '@/api/jmap/mapdraft';
|
||||
export default {
|
||||
name: 'Priority',
|
||||
props: {
|
||||
@ -119,23 +119,6 @@ export default {
|
||||
temporaryData = [];
|
||||
}
|
||||
});
|
||||
// const resp = await getAutoReentryGroupList(this.mapInfo.id);
|
||||
|
||||
// const keyList = Object.keys(resp.data);
|
||||
// let data = [];
|
||||
// if (keyList) {
|
||||
// keyList.map(elem => {
|
||||
// for (var i = 0; i < resp.data[elem].length; i++) {
|
||||
// if (i === 0) {
|
||||
// this.spanArr.push(resp.data[elem].length);
|
||||
// } else {
|
||||
// this.spanArr.push(0);
|
||||
// }
|
||||
// }
|
||||
// data = [...data, ...resp.data[elem]];
|
||||
// });
|
||||
// }
|
||||
// this.tableData = data;
|
||||
},
|
||||
doShow() {
|
||||
this.show = true;
|
||||
|
Loading…
Reference in New Issue
Block a user