diff --git a/src/jlmap3d/jl3dmaintainer/maintainerconnect.js b/src/jlmap3d/jl3dmaintainer/maintainerconnect.js
index a84a8a59d..98cc9f403 100644
--- a/src/jlmap3d/jl3dmaintainer/maintainerconnect.js
+++ b/src/jlmap3d/jl3dmaintainer/maintainerconnect.js
@@ -282,7 +282,7 @@ export function Maintainerconnect(jlmap3d,routegroup,jsonwebwork,lablecodemap) {
return;
}
};
-
+
this.updatamap = function(newsectionlist,newlinklist,newsignallist,newstationstandlist,newtrainlisttest,newrealsectionlist,newrails, materiallist, nowaction, scene) {
trainlisttest = newtrainlisttest;
sectionlist = newsectionlist;
diff --git a/src/jmapNew/shape/graph/Switch/ESwLocal.js b/src/jmapNew/shape/graph/Switch/ESwLocal.js
index 399fabe3e..1adc9622a 100644
--- a/src/jmapNew/shape/graph/Switch/ESwLocal.js
+++ b/src/jmapNew/shape/graph/Switch/ESwLocal.js
@@ -40,7 +40,7 @@ class ESwLocal extends Group {
}
show() {
- this.locShelter.show();
+ this.locShelter.show();
}
stopAnimation(flag) {
@@ -56,13 +56,13 @@ class ESwLocal extends Group {
this.locShelter.setStyle(data);
}
- addHover(style) {
- this.__zr && this.__zr.addHover(this.locShelter, style)
- }
+ addHover(style) {
+ this.__zr && this.__zr.addHover(this.locShelter, style);
+ }
- removeHover() {
- this.__zr && this.__zr.removeHover(this.locShelter);
- }
+ removeHover() {
+ this.__zr && this.__zr.removeHover(this.locShelter);
+ }
animateStyle(cb) {
this.eachChild((child) => {
diff --git a/src/jmapNew/theme/components/menus/driverAtsWorMenu.vue b/src/jmapNew/theme/components/menus/driverAtsWorMenu.vue
new file mode 100644
index 000000000..c846b9863
--- /dev/null
+++ b/src/jmapNew/theme/components/menus/driverAtsWorMenu.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
diff --git a/src/jmapNew/theme/components/menus/menuTrain.vue b/src/jmapNew/theme/components/menus/menuTrain.vue
new file mode 100644
index 000000000..ac559ac93
--- /dev/null
+++ b/src/jmapNew/theme/components/menus/menuTrain.vue
@@ -0,0 +1,103 @@
+
+
+
+
diff --git a/src/jmapNew/theme/factory.js b/src/jmapNew/theme/factory.js
index 36904a306..3f0e64d42 100644
--- a/src/jmapNew/theme/factory.js
+++ b/src/jmapNew/theme/factory.js
@@ -114,6 +114,10 @@ class Theme {
loadLocalWorkMenuComponent(code) {
return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/localWorkMenu`).default);
}
+ // 加载司机ats工作站菜单组件
+ loadDriverAtsWorkMenuComponent(code) {
+ return Object.assign({}, require(`./components/menus/driverAtsWorMenu`).default);
+ }
loadCtcWorkMenuComponent(code) {
if (code == '16') {
return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/ctcWorkMenu`).default);
diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js
index ec2a2fc2e..8a02b9f38 100644
--- a/src/scripts/ConstConfig.js
+++ b/src/scripts/ConstConfig.js
@@ -62,6 +62,7 @@ export default {
{ label: '通号', value: 'MAINTAINER', enLabel: 'Repairman ' },
{ label: '车辆段/停车场调度', value: 'DEPOT_DISPATCHER', enLabel: 'Depot dispatcher ' },
{ label: '电力调度', value: 'ELECTRIC_DISPATCHER', enLabel: 'Electric dispatcher' },
+ { label: '电力工务', value: 'STATION_ELECTRIC_WORKER', enLabel: 'Station Electric dispatcher' },
{ label: '行调', value: 'DISPATCHER', enLabel: 'Dispatcher ' },
{ label: '上级部门', value: 'PARENT_DEPARTMENT', enLabel: 'Parent department' },
{ label: '车辆段/停车场信号楼', value: 'SIGNAL_BUILDING', enLabel: 'Signal Building' },
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index f84210e59..d0b5c5a8d 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -37,7 +37,7 @@ export function handlerUrl() {
// BASE_API = 'http://2i38984j47.qicp.vip'; // 张赛
BASE_SITE = 'https://test.joylink.club/cbtc';
OSS_URL = 'https://192.168.3.233/oss-rtss';
- } else if (process.env.NODE_ENV === 'test' && process.env.VUE_APP_PRO === 'local-test') {
+ } else if (process.env.NODE_ENV === 'test' && process.env.VUE_APP_PRO === 'local-test') {
// 本地打包测试分支
BASE_API = 'https://192.168.3.233/rtss-server'; // api地址
BASE_SITE = 'https://192.168.3.233/cbtc'; // 前端项目地址
diff --git a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue
index fa7f87569..115fbdc8e 100644
--- a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue
+++ b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue
@@ -276,6 +276,7 @@ export default {
if (valid) {
sendCommandNew(this.group, 'KEY_LINK_CONTROL_INFO_SAVE', obj).then((res) => {
console.log(res, '---res');
+ this.$message.success('提交成功!');
this.initFormData();
}).catch(error => {
this.$messageBox('提交失败:' + error.message);
diff --git a/src/views/newMap/display/terminals/abnormalTrain/index.vue b/src/views/newMap/display/terminals/abnormalTrain/index.vue
index f1601c289..f2bc7929c 100644
--- a/src/views/newMap/display/terminals/abnormalTrain/index.vue
+++ b/src/views/newMap/display/terminals/abnormalTrain/index.vue
@@ -45,7 +45,7 @@ export default {
},
boxHeight() {
const allH = this.$store.state.app.height;
- let h = allH - 103 - 39 - 30 - 41 - 15;
+ let h = allH - 63 - 39 - 30 - 41 - 15 - 20;
h = h > 0 ? h : 0;
return h;
}
diff --git a/src/views/newMap/display/terminals/driverAtsWork.vue b/src/views/newMap/display/terminals/driverAtsWork.vue
new file mode 100644
index 000000000..253779290
--- /dev/null
+++ b/src/views/newMap/display/terminals/driverAtsWork.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
diff --git a/src/views/newMap/display/terminals/equipmentConstructionTable.vue b/src/views/newMap/display/terminals/equipmentConstructionTable.vue
index 9ae103688..87b0a4669 100644
--- a/src/views/newMap/display/terminals/equipmentConstructionTable.vue
+++ b/src/views/newMap/display/terminals/equipmentConstructionTable.vue
@@ -6,6 +6,7 @@
@@ -87,7 +88,7 @@