打包调整
This commit is contained in:
parent
dff745b94a
commit
3c6047d4ad
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
bind(el) {
|
bind(el) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import deviceType from './constant/deviceType';
|
import deviceType from './constant/deviceType';
|
||||||
import Eventful from 'zrender/src/mixin/Eventful';
|
import Eventful from 'zrender/src/mixin/Eventful';
|
||||||
import * as eventTool from 'zrender/src/core/event';
|
import * as eventTool from 'zrender/src/core/event';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
// import * as Event from 'zrender/src/core/event';
|
// import * as Event from 'zrender/src/core/event';
|
||||||
|
|
||||||
class EventModel {
|
class EventModel {
|
||||||
|
@ -2,7 +2,7 @@ import * as zrUtil from 'zrender/src/core/util';
|
|||||||
import * as matrix from 'zrender/src/core/matrix';
|
import * as matrix from 'zrender/src/core/matrix';
|
||||||
import deviceType from '../constant/deviceType';
|
import deviceType from '../constant/deviceType';
|
||||||
import deviceRender from '../constant/deviceRender';
|
import deviceRender from '../constant/deviceRender';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
export function createTransform(opts) {
|
export function createTransform(opts) {
|
||||||
let transform = matrix.create();
|
let transform = matrix.create();
|
||||||
|
@ -7,7 +7,7 @@ import deviceType from './constant/deviceType';
|
|||||||
import KeyboardController from './keyboardController';
|
import KeyboardController from './keyboardController';
|
||||||
import {calculateDCenter, createBoundingRect, deviceFactory} from './utils/parser';
|
import {calculateDCenter, createBoundingRect, deviceFactory} from './utils/parser';
|
||||||
import { updateIscsData } from './utils/parser';
|
import { updateIscsData } from './utils/parser';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { selectLineCode } from './constant/deviceStyle';
|
import { selectLineCode } from './constant/deviceStyle';
|
||||||
|
|
||||||
const renderer = 'canvas';
|
const renderer = 'canvas';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import deviceType from './constant/deviceType';
|
import deviceType from './constant/deviceType';
|
||||||
import Eventful from 'zrender/src/mixin/Eventful';
|
import Eventful from 'zrender/src/mixin/Eventful';
|
||||||
import * as eventTool from 'zrender/src/core/event';
|
import * as eventTool from 'zrender/src/core/event';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
class EventModel {
|
class EventModel {
|
||||||
constructor(e) {
|
constructor(e) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import deviceType from './constant/deviceType';
|
import deviceType from './constant/deviceType';
|
||||||
import Eventful from 'zrender/src/mixin/Eventful';
|
import Eventful from 'zrender/src/mixin/Eventful';
|
||||||
import * as eventTool from 'zrender/src/core/event';
|
import * as eventTool from 'zrender/src/core/event';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
class EventModel {
|
class EventModel {
|
||||||
constructor(e) {
|
constructor(e) {
|
||||||
|
@ -2,7 +2,6 @@ import * as zrUtil from 'zrender/src/core/util';
|
|||||||
import * as matrix from 'zrender/src/core/matrix';
|
import * as matrix from 'zrender/src/core/matrix';
|
||||||
import deviceType from '../constant/deviceType';
|
import deviceType from '../constant/deviceType';
|
||||||
import deviceRender from '../constant/deviceRender';
|
import deviceRender from '../constant/deviceRender';
|
||||||
// import store from '@/store/index_APP_TARGET';
|
|
||||||
// import { deepClone } from '@/utils/index';
|
// import { deepClone } from '@/utils/index';
|
||||||
|
|
||||||
export function createTransform(opts) {
|
export function createTransform(opts) {
|
||||||
|
@ -15,7 +15,7 @@ import { getPublishMapDetail,getPublish3dMapDetail} from '@/api/jlmap3d/load3dda
|
|||||||
|
|
||||||
|
|
||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
var clock = new THREE.Clock();
|
var clock = new THREE.Clock();
|
||||||
export function Jl3ddeviceNew(dom,group,token,skinCode) {
|
export function Jl3ddeviceNew(dom,group,token,skinCode) {
|
||||||
|
@ -6,7 +6,7 @@ import {SignalListN} from '@/jlmap3d/main/newmodel/SignalListN';
|
|||||||
import {StationStandListN} from '@/jlmap3d/main/newmodel/StationStandListN';
|
import {StationStandListN} from '@/jlmap3d/main/newmodel/StationStandListN';
|
||||||
import {SwitchListN} from '@/jlmap3d/main/newmodel/SwitchListN';
|
import {SwitchListN} from '@/jlmap3d/main/newmodel/SwitchListN';
|
||||||
import {RailListN} from '@/jlmap3d/main/newmodel/RailListN.js';
|
import {RailListN} from '@/jlmap3d/main/newmodel/RailListN.js';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
|
|
||||||
import {Materialload} from '@/jlmap3d/main/loaders/Materialload.js';
|
import {Materialload} from '@/jlmap3d/main/loaders/Materialload.js';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import { getBaseUrl } from '@/utils/baseUrl'
|
import { getBaseUrl } from '@/utils/baseUrl'
|
||||||
import { getToken } from '@/utils/auth';
|
import { getToken } from '@/utils/auth';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
// 定于仿真socket接口
|
// 定于仿真socket接口
|
||||||
export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passerStation,passerAi) {
|
export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passerStation,passerAi) {
|
||||||
|
@ -29,7 +29,7 @@ import { PathFinder } from '@/jlmap3d/jl3dpassflow/passerai/pathfinder.js';
|
|||||||
import { PassflowConnect } from '@/jlmap3d/jl3dpassflow/connect/passflowconnect.js';
|
import { PassflowConnect } from '@/jlmap3d/jl3dpassflow/connect/passflowconnect.js';
|
||||||
|
|
||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
// import { Loading } from 'element-ui';
|
// import { Loading } from 'element-ui';
|
||||||
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import { getBaseUrl } from '@/utils/baseUrl'
|
import { getBaseUrl } from '@/utils/baseUrl'
|
||||||
import { getToken } from '@/utils/auth';
|
import { getToken } from '@/utils/auth';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
// 定于仿真socket接口
|
// 定于仿真socket接口
|
||||||
export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passerStation,passerAi,jl3d) {
|
export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passerStation,passerAi,jl3d) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import { getBaseUrl } from '@/utils/baseUrl'
|
import { getBaseUrl } from '@/utils/baseUrl'
|
||||||
import { getToken } from '@/utils/auth';
|
import { getToken } from '@/utils/auth';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
// 定于仿真socket接口
|
// 定于仿真socket接口
|
||||||
export function TrainConnect(trafficTrain,deviceaction,toptrain,routegroup,passerAi) {
|
export function TrainConnect(trafficTrain,deviceaction,toptrain,routegroup,passerAi) {
|
||||||
|
@ -30,7 +30,7 @@ import { PathFinder } from '@/jlmap3d/jl3dtrafficplan/passerai/pathfinder.js';
|
|||||||
import { PassflowConnect } from '@/jlmap3d/jl3dtrafficplan/connect/stationconnect.js';
|
import { PassflowConnect } from '@/jlmap3d/jl3dtrafficplan/connect/stationconnect.js';
|
||||||
|
|
||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
// import { Loading } from 'element-ui';
|
// import { Loading } from 'element-ui';
|
||||||
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ import { PathFinder } from '@/jlmap3d/jl3dpassflow/passerai/pathfinder.js';
|
|||||||
import { TrainConnect } from '@/jlmap3d/jl3dtrafficplan/connect/trainconnect.js';
|
import { TrainConnect } from '@/jlmap3d/jl3dtrafficplan/connect/trainconnect.js';
|
||||||
|
|
||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
// import { Loading } from 'element-ui';
|
// import { Loading } from 'element-ui';
|
||||||
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { BASE_ASSET_API } from '@/api/jlmap3d/assets3d.js';
|
import { BASE_ASSET_API } from '@/api/jlmap3d/assets3d.js';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
//模型管理器
|
//模型管理器
|
||||||
let mode = "0";
|
let mode = "0";
|
||||||
export function ModelManager(){
|
export function ModelManager(){
|
||||||
|
@ -10,7 +10,7 @@ import {TdtList} from '@/jlmap3d/main/newmodel/TdtList.js';
|
|||||||
|
|
||||||
|
|
||||||
import {Materialload} from '@/jlmap3d/main/loaders/Materialload.js';
|
import {Materialload} from '@/jlmap3d/main/loaders/Materialload.js';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
// import { Loading } from 'element-ui';
|
// import { Loading } from 'element-ui';
|
||||||
// import {SwitchModel} from '@/jlmap3d/model/SwitchModel.js';
|
// import {SwitchModel} from '@/jlmap3d/model/SwitchModel.js';
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import deviceType from './constant/deviceType';
|
|||||||
import { selectLineCode } from './config/deviceStyle';
|
import { selectLineCode } from './config/deviceStyle';
|
||||||
import { deviceFactory, createBoundingRect, calculateDCenter } from './utils/parser';
|
import { deviceFactory, createBoundingRect, calculateDCenter } from './utils/parser';
|
||||||
import { deepAssign } from '@/utils/index';
|
import { deepAssign } from '@/utils/index';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
const renderer = 'canvas';
|
const renderer = 'canvas';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import deviceType from './constant/deviceType';
|
import deviceType from './constant/deviceType';
|
||||||
import Eventful from 'zrender/src/mixin/Eventful';
|
import Eventful from 'zrender/src/mixin/Eventful';
|
||||||
import * as eventTool from 'zrender/src/core/event';
|
import * as eventTool from 'zrender/src/core/event';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
class EventModel {
|
class EventModel {
|
||||||
constructor(e) {
|
constructor(e) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Group from 'zrender/src/container/Group';
|
import Group from 'zrender/src/container/Group';
|
||||||
import Line from 'zrender/src/graphic/shape/Line';
|
import Line from 'zrender/src/graphic/shape/Line';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
class EVertical2Door extends Group {
|
class EVertical2Door extends Group {
|
||||||
constructor(model) {
|
constructor(model) {
|
||||||
|
@ -2,7 +2,7 @@ import Group from 'zrender/src/container/Group';
|
|||||||
import Text from 'zrender/src/graphic/Text';
|
import Text from 'zrender/src/graphic/Text';
|
||||||
import Rect from 'zrender/src/graphic/shape/Rect';
|
import Rect from 'zrender/src/graphic/shape/Rect';
|
||||||
import Polygon from 'zrender/src/graphic/shape/Polygon';
|
import Polygon from 'zrender/src/graphic/shape/Polygon';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import JTriangle from '../../utils/JTriangle';
|
import JTriangle from '../../utils/JTriangle';
|
||||||
class EMouse extends Group {
|
class EMouse extends Group {
|
||||||
constructor(device, code) {
|
constructor(device, code) {
|
||||||
|
@ -12,7 +12,7 @@ import ELimitName from './ELimitName'; // 成都三号线 限速名称
|
|||||||
// import JTriangle from '../../utils/JTriangle';
|
// import JTriangle from '../../utils/JTriangle';
|
||||||
import { drawSectionStyle } from '../../config/defaultStyle';
|
import { drawSectionStyle } from '../../config/defaultStyle';
|
||||||
import EStopRouteImg from './EStopRouteImg';
|
import EStopRouteImg from './EStopRouteImg';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
/** 区段*/
|
/** 区段*/
|
||||||
|
@ -10,7 +10,7 @@ import EArrow from './EArrow';
|
|||||||
import { arrow } from '../utils/ShapePoints';
|
import { arrow } from '../utils/ShapePoints';
|
||||||
import Rect from 'zrender/src/graphic/shape/Rect';
|
import Rect from 'zrender/src/graphic/shape/Rect';
|
||||||
import Text from 'zrender/src/graphic/Text';
|
import Text from 'zrender/src/graphic/Text';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
import EStationText from './EStationText';
|
import EStationText from './EStationText';
|
||||||
import { traverseLineElements } from '../utils/ShapeStatusCovert';
|
import { traverseLineElements } from '../utils/ShapeStatusCovert';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Group from 'zrender/src/container/Group';
|
import Group from 'zrender/src/container/Group';
|
||||||
import Rect from 'zrender/src/graphic/shape/Rect';
|
import Rect from 'zrender/src/graphic/shape/Rect';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
class EMouse extends Group {
|
class EMouse extends Group {
|
||||||
constructor(device) {
|
constructor(device) {
|
||||||
super();
|
super();
|
||||||
|
@ -10,7 +10,7 @@ import ELockArc from './ELockArc';
|
|||||||
import EMouse from './EMouse';
|
import EMouse from './EMouse';
|
||||||
import EHighlight from '../element/EHighlight';
|
import EHighlight from '../element/EHighlight';
|
||||||
import ETriangle from './ETriangle';
|
import ETriangle from './ETriangle';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
export default class Switch extends Group {
|
export default class Switch extends Group {
|
||||||
|
@ -2,7 +2,7 @@ import Group from 'zrender/src/container/Group';
|
|||||||
import Text from 'zrender/src/graphic/Text';
|
import Text from 'zrender/src/graphic/Text';
|
||||||
import LangStorage from '@/utils/lang';
|
import LangStorage from '@/utils/lang';
|
||||||
import Rect from 'zrender/src/graphic/shape/Rect';
|
import Rect from 'zrender/src/graphic/shape/Rect';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
|
||||||
class EMouse extends Group {
|
class EMouse extends Group {
|
||||||
|
@ -3,7 +3,7 @@ import TrainBodyBox from './TrainBodyBox';
|
|||||||
// import '../StationStand/EDetain';
|
// import '../StationStand/EDetain';
|
||||||
import ETextName from '../element/ETextName'; // 名称文字 (共有)
|
import ETextName from '../element/ETextName'; // 名称文字 (共有)
|
||||||
import EMouse from './EMouse';
|
import EMouse from './EMouse';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Circle from 'zrender/src/graphic/shape/Circle';
|
import Circle from 'zrender/src/graphic/shape/Circle';
|
||||||
import BoundingRect from 'zrender/src/core/BoundingRect';
|
import BoundingRect from 'zrender/src/core/BoundingRect';
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
@ -3,7 +3,7 @@ import TrainHead from './TrainHead';
|
|||||||
import TrainBody from './TrainBody';
|
import TrainBody from './TrainBody';
|
||||||
import BoundingRect from 'zrender/src/core/BoundingRect';
|
import BoundingRect from 'zrender/src/core/BoundingRect';
|
||||||
import ETriangle from '../Train/ETriangle';
|
import ETriangle from '../Train/ETriangle';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import EDirection from './EDirection';
|
import EDirection from './EDirection';
|
||||||
|
|
||||||
/** 列车 */
|
/** 列车 */
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import Polygon from 'zrender/src/graphic/shape/Polygon';
|
import Polygon from 'zrender/src/graphic/shape/Polygon';
|
||||||
import Group from 'zrender/src/container/Group';
|
import Group from 'zrender/src/container/Group';
|
||||||
import EMouse from './EMouse';
|
import EMouse from './EMouse';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
class TrainWindow extends Group {
|
class TrainWindow extends Group {
|
||||||
constructor(model, style) {
|
constructor(model, style) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { timeFormat } from '@/utils/date';
|
import { timeFormat } from '@/utils/date';
|
||||||
|
|
||||||
/** 创建一个车次数据点*/
|
/** 创建一个车次数据点*/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPointReverse, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPointReverse, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
||||||
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
|
||||||
import { sendCommandTrain } from '@/api/jmap/training';
|
import { sendCommandTrain } from '@/api/jmap/training';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPointReverse, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
import { createMartPointReverse, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, prefixTime, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, prefixTime, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 180,
|
EdgeHeight: 180,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, prefixTime, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, prefixTime, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 3,
|
EdgeHeight: 3,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600 / 3,
|
EdgeHeight: 600 / 3,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList, prefixTime } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export default {
|
export default {
|
||||||
/** 边缘高度*/
|
/** 边缘高度*/
|
||||||
EdgeHeight: 600,
|
EdgeHeight: 600,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
import { createMartPoint, createSeriesModel, createMarkLineModels, hexColor, convertSheetToList } from '@/utils/runPlan';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
const StationMap = {
|
const StationMap = {
|
||||||
YARD1: '潏河停车场',
|
YARD1: '潏河停车场',
|
||||||
YARD2: '潏河停车场',
|
YARD2: '潏河停车场',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
const { body } = document;
|
const { body } = document;
|
||||||
const WIDTH = 1024;
|
const WIDTH = 1024;
|
||||||
|
@ -10,7 +10,7 @@ import LangStorage from '@/utils/lang';
|
|||||||
import App from './App';
|
import App from './App';
|
||||||
import VueI18n from 'vue-i18n';
|
import VueI18n from 'vue-i18n';
|
||||||
|
|
||||||
import store from './store/index_APP_TARGET';
|
import store from './store/index';
|
||||||
import router from './router/index_APP_TARGET';
|
import router from './router/index_APP_TARGET';
|
||||||
import CancelMouseState from '@/mixin/CancelMouseState.js';
|
import CancelMouseState from '@/mixin/CancelMouseState.js';
|
||||||
Vue.mixin(CancelMouseState);
|
Vue.mixin(CancelMouseState);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import router from './router/index_APP_TARGET';
|
import router from './router/index_APP_TARGET';
|
||||||
import {loginInfo} from '@/scripts/ProjectConfig';
|
import {loginInfo} from '@/scripts/ProjectConfig';
|
||||||
import NProgress from 'nprogress';
|
import NProgress from 'nprogress';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import router from '@/router/index_APP_TARGET';
|
import router from '@/router/index_APP_TARGET';
|
||||||
import CommandHandler from './CommandHandler.js';
|
import CommandHandler from './CommandHandler.js';
|
||||||
import ValidateHandler from './ValidateHandler.js';
|
import ValidateHandler from './ValidateHandler.js';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import CommandHandler from './CommandHandler';
|
import CommandHandler from './CommandHandler';
|
||||||
import { State2SimulationMap, State2ControlMap } from './Config';
|
import { State2SimulationMap, State2ControlMap } from './Config';
|
||||||
import { OperateMode } from '@/scripts/ConstDic';
|
import { OperateMode } from '@/scripts/ConstDic';
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
import Vuex from 'vuex';
|
|
||||||
import Vue from 'vue';
|
|
||||||
import app from './modules/app';
|
|
||||||
import settings from './modules/settings';
|
|
||||||
import user from './modules/user';
|
|
||||||
import config from './modules/config';
|
|
||||||
import permission from './modules/permission';
|
|
||||||
import map from './modules/map';
|
|
||||||
import menuOperation from './modules/menuoperation';
|
|
||||||
import training from './modules/training';
|
|
||||||
import trainingList from './modules/trainingList';
|
|
||||||
import exam from './modules/exam';
|
|
||||||
import runPlan from './modules/runplan';
|
|
||||||
import socket from './modules/socket';
|
|
||||||
import scriptRecord from './modules/scriptRecord';
|
|
||||||
import ibp from './modules/ibp';
|
|
||||||
import order from './modules/order';
|
|
||||||
import iscs from './modules/iscs';
|
|
||||||
import race from './modules/race';
|
|
||||||
|
|
||||||
import getters from './getters';
|
|
||||||
|
|
||||||
Vue.use(Vuex);
|
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
|
||||||
modules: {
|
|
||||||
app,
|
|
||||||
settings,
|
|
||||||
user,
|
|
||||||
permission,
|
|
||||||
config,
|
|
||||||
map,
|
|
||||||
menuOperation,
|
|
||||||
training,
|
|
||||||
trainingList,
|
|
||||||
exam,
|
|
||||||
runPlan,
|
|
||||||
socket,
|
|
||||||
scriptRecord,
|
|
||||||
ibp,
|
|
||||||
order,
|
|
||||||
iscs,
|
|
||||||
race
|
|
||||||
},
|
|
||||||
getters
|
|
||||||
});
|
|
||||||
|
|
||||||
export default store;
|
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
const exam = {
|
const exam = {
|
||||||
namespaced: true,
|
namespaced: true,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { Notification } from 'element-ui';
|
import { Notification } from 'element-ui';
|
||||||
|
|
||||||
function handle(state, data) {
|
function handle(state, data) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { getPublishMapVersionById, getPublishMapDetailById} from '@/api/jmap/map';
|
import { getPublishMapVersionById, getPublishMapDetailById} from '@/api/jmap/map';
|
||||||
// getNewMapDataByMapId
|
// getNewMapDataByMapId
|
||||||
// import { getNewMapDataByGroup } from '@/api/simulation';
|
// import { getNewMapDataByGroup } from '@/api/simulation';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import qs from 'qs';
|
import qs from 'qs';
|
||||||
import { i18n } from '@/main.js';
|
import { i18n } from '@/main.js';
|
||||||
import { MessageBox } from 'element-ui';
|
import { MessageBox } from 'element-ui';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { timeFormat } from '@/utils/date';
|
import { timeFormat } from '@/utils/date';
|
||||||
|
|
||||||
/** 创建一个车次数据点*/
|
/** 创建一个车次数据点*/
|
||||||
|
@ -2,7 +2,7 @@ import { getToken } from '@/utils/auth';
|
|||||||
import { checkLoginLine } from '@/api/login';
|
import { checkLoginLine } from '@/api/login';
|
||||||
import { getBaseUrl } from '@/utils/baseUrl';
|
import { getBaseUrl } from '@/utils/baseUrl';
|
||||||
import { MessageBox } from 'element-ui';
|
import { MessageBox } from 'element-ui';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import Stomp from 'stompjs';
|
import Stomp from 'stompjs';
|
||||||
|
|
||||||
const isDev = process.env.NODE_ENV === 'development';
|
const isDev = process.env.NODE_ENV === 'development';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import StompClient from '@/utils/sock';
|
import StompClient from '@/utils/sock';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
export const displayTopic = '/user/queue/simulation'; // 其他仿真topic
|
export const displayTopic = '/user/queue/simulation'; // 其他仿真topic
|
||||||
export const perpetualTopic = '/user/topic/message'; // 公用topic
|
export const perpetualTopic = '/user/topic/message'; // 公用topic
|
||||||
|
@ -200,7 +200,6 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
// import store from '@/store/index_APP_TARGET';
|
|
||||||
import ConstConfig from '@/scripts/ConstConfig';
|
import ConstConfig from '@/scripts/ConstConfig';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
import {getScriptByIdNew} from '@/api/script';
|
import {getScriptByIdNew} from '@/api/script';
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import localStore from 'storejs';
|
import localStore from 'storejs';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
|
|
||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
import { deviceFaultType, deviceType} from '@/scripts/cmdPlugin/Config';
|
import { deviceFaultType, deviceType} from '@/scripts/cmdPlugin/Config';
|
||||||
// 操作
|
// 操作
|
||||||
export const operateEnum = {
|
export const operateEnum = {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import ConstConfig from '@/scripts/ConstConfig';
|
import ConstConfig from '@/scripts/ConstConfig';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
import store from '@/store/index_APP_TARGET';
|
import store from '@/store/index';
|
||||||
export function covertMemberData (activeTrainList, resp) {
|
export function covertMemberData (activeTrainList, resp) {
|
||||||
let lastData = JSON.stringify(resp);
|
let lastData = JSON.stringify(resp);
|
||||||
const roleTypeList = ConstConfig.ConstSelect.roleTypeNew;
|
const roleTypeList = ConstConfig.ConstSelect.roleTypeNew;
|
||||||
|
Loading…
Reference in New Issue
Block a user