diff --git a/src/views/newMap/display/terminals/index.vue b/src/views/newMap/display/terminals/index.vue
index e839f2319..6a5cb45d0 100644
--- a/src/views/newMap/display/terminals/index.vue
+++ b/src/views/newMap/display/terminals/index.vue
@@ -6,6 +6,7 @@
+
@@ -87,6 +88,7 @@ import TroDetailWork from './troDetailWork';
import TestRunplan from './testRunplan';
import DriverAtsWork from './driverAtsWork';
import NccWork from './nccWork';
+import LineMonitor from './lineMonitor';
export default {
name: 'Index',
@@ -124,7 +126,8 @@ export default {
Jl3dMaintainerSelect,
TestRunplan,
DriverAtsWork,
- NccWork
+ NccWork,
+ LineMonitor
},
data() {
return {
diff --git a/src/views/newMap/display/terminals/lineMonitor.vue b/src/views/newMap/display/terminals/lineMonitor.vue
new file mode 100644
index 000000000..1cf33fbb5
--- /dev/null
+++ b/src/views/newMap/display/terminals/lineMonitor.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/newMap/display/terminals/terminalMenu.vue b/src/views/newMap/display/terminals/terminalMenu.vue
index 155084a58..b8f1a471b 100644
--- a/src/views/newMap/display/terminals/terminalMenu.vue
+++ b/src/views/newMap/display/terminals/terminalMenu.vue
@@ -41,9 +41,16 @@ export default {
click: this.changePictureShow
},
{
- name: 'Ncc',
+ name: '线网监控',
code: 'nccWork',
- roleList: ['DISPATCHER'],
+ roleList: ['NCC_DISPATCHER'],
+ isShow: () => this.$route.query.simType === 'METRO',
+ click: this.changePictureShow
+ },
+ {
+ name: '线路监控',
+ code: 'lineMonitor',
+ roleList: ['NCC_DISPATCHER'],
isShow: () => this.$route.query.simType === 'METRO',
click: this.changePictureShow
},
@@ -113,7 +120,7 @@ export default {
{
name: '运行图预览',
code: 'diagramPreview',
- roleList: ['DISPATCHER', 'STATION_SUPERVISOR', 'DRIVER'],
+ roleList: ['DISPATCHER', 'STATION_SUPERVISOR', 'DRIVER', 'NCC_DISPATCHER'],
isShow: () => this.$route.query.simType === 'METRO',
click: this.changePictureShow
},
@@ -313,6 +320,8 @@ export default {
// 司机模拟
const trainingDesign = this.$store.state.training.domConfig ? this.$store.state.training.domConfig.trainingDesign : false;
this.changePictureShow(trainingDesign ? 'driverAtsWork' : 'drivingPlan');
+ } else if (this.roles === 'NCC_DISPATCHER') {
+ this.changePictureShow('nccWork');
}
},
changePictureShow(code) {
diff --git a/src/views/publish/publishMap/editSubsystem.vue b/src/views/publish/publishMap/editSubsystem.vue
index 0fcf626cf..7b3834af8 100644
--- a/src/views/publish/publishMap/editSubsystem.vue
+++ b/src/views/publish/publishMap/editSubsystem.vue
@@ -361,6 +361,9 @@ export default {
case 'STATION_ELECTRIC_WORKER':
data.label = '电力工务 ' + (member.name ? `-${member.name}` : '');
break;
+ case 'NCC_DISPATCHER':
+ data.label = 'NCC调度' + (member.name ? `-${member.name}` : '');
+ break;
}
return data;
},