diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 503d1d6d2..2e289234d 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -78,6 +78,7 @@ export default { ], roleTypeList: [ {label: '行调', value: 'DISPATCHER'}, + {label: 'NCC行调', value: 'NCC_DISPATCHER'}, {label: '行值', value: 'STATION_SUPERVISOR'}, {label: '司机', value: 'DRIVER'}, {label: '通号', value: 'MAINTAINER'}, diff --git a/src/views/newMap/display/memberManage/addMember.vue b/src/views/newMap/display/memberManage/addMember.vue index 988c48c35..fa87e0f91 100644 --- a/src/views/newMap/display/memberManage/addMember.vue +++ b/src/views/newMap/display/memberManage/addMember.vue @@ -81,6 +81,7 @@ export default { ], typeList: [ {label: '行调', value: 'DISPATCHER'}, + {label: 'NCC行调', value: 'NCC_DISPATCHER'}, {label: '通号', value: 'MAINTAINER'}, {label: '车站值班员', value: 'STATION_SUPERVISOR'}, {label: '车站助理', value: 'STATION_ASSISTANT'}, diff --git a/src/views/newMap/display/memberManage/membersManage.vue b/src/views/newMap/display/memberManage/membersManage.vue index 4d20055ca..09f0e9086 100644 --- a/src/views/newMap/display/memberManage/membersManage.vue +++ b/src/views/newMap/display/memberManage/membersManage.vue @@ -96,6 +96,9 @@ export default { treeData: [{ labelName: '行调', children: [] + }, { + labelName: 'NCC行调', + children: [] }, { labelName: '车站值班员', children: [] @@ -174,6 +177,7 @@ export default { if (val && val.length) { this.memberData = this.$store.state.training.memberData; const dispatcherList = []; + const nccDispatcherList = []; const electricDispatcherList = []; const depotDispatcherList = []; const stationSupervisorList = []; @@ -197,6 +201,10 @@ export default { this.memberData[item.id].labelName = '行调' + (item.name || ''); dispatcherList.push(this.memberData[item.id]); break; + case 'NCC_DISPATCHER': + this.memberData[item.id].labelName = 'NCC行调' + (item.name || ''); + nccDispatcherList.push(this.memberData[item.id]); + break; case 'ELECTRIC_DISPATCHER': this.memberData[item.id].labelName = '电力调度' + (item.name || ''); electricDispatcherList.push(this.memberData[item.id]); @@ -272,6 +280,10 @@ export default { labelName: '行调', id: 'dispatcher', children: dispatcherList + }, { + labelName: 'NCC行调', + id: 'nccDispatcher', + children: nccDispatcherList }, { labelName: '车站值班员', id: 'stationSupervisor', diff --git a/src/views/newMap/display/newChat/chatDialog.vue b/src/views/newMap/display/newChat/chatDialog.vue index 0c385f64b..d82ba53bf 100644 --- a/src/views/newMap/display/newChat/chatDialog.vue +++ b/src/views/newMap/display/newChat/chatDialog.vue @@ -66,7 +66,7 @@