diff --git a/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue b/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue index 448d592b3..088e38f0f 100644 --- a/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue +++ b/src/views/newMap/newMapdraft/mapoperate/simulationMember/index.vue @@ -1007,21 +1007,21 @@ export default { deviceCode: '' }; memberMap[this.generationForm.systemType].push(memberDispatcher); + const memberNccDispatcher = { + id: this.getMemberId(this.generationForm.systemType), + name: '', + type: 'NCC_DISPATCHER', + deviceCode: '' + }; + memberMap[this.generationForm.systemType].push(memberNccDispatcher); + const memberOccDispatcher = { + id: this.getMemberId(this.generationForm.systemType), + name: '', + type: 'OCC_DISPATCHER', + deviceCode: '' + }; + memberMap[this.generationForm.systemType].push(memberOccDispatcher); } - const memberNccDispatcher = { - id: this.getMemberId(this.generationForm.systemType), - name: '', - type: 'NCC_DISPATCHER', - deviceCode: '' - }; - memberMap[this.generationForm.systemType].push(memberNccDispatcher); - const memberOccDispatcher = { - id: this.getMemberId(this.generationForm.systemType), - name: '', - type: 'OCC_DISPATCHER', - deviceCode: '' - }; - memberMap[this.generationForm.systemType].push(memberOccDispatcher); this.stationList.forEach(station => { if (!station.depot) { const member = {