仿真成员管理调整

This commit is contained in:
fan 2024-03-07 10:15:06 +08:00
parent f220213f38
commit b0ad026724
2 changed files with 5 additions and 11 deletions

View File

@ -46,12 +46,6 @@ import { addSimulationMember } from '@/api/jointSimulation';
import ConstConfig from '@/scripts/ConstConfig';
export default {
name: 'AddMember',
props: {
stationList: {
type: Array,
required: true
}
},
data() {
return {
dialogVisible: false,
@ -78,7 +72,9 @@ export default {
'STATION_SWITCH_MAN',
'STATION_FACILITATOR',
'STATION_WORKER',
'DEVICE_MANAGER'
'DEVICE_MANAGER',
'STATION_ATTENDANT',
'STATION_HEAD'
]
};
},
@ -111,7 +107,7 @@ export default {
methods: {
initData() {
this.filterStationList = [];
this.stationList.forEach(item => {
this.$store.state.map.map.stationList.forEach(item => {
if (!item.depot) {
this.filterStationList.push(item);
}

View File

@ -49,7 +49,7 @@
</div>
<div class="room__footer" />
</div>
<add-member ref="addMember" :station-list="stationList" />
<add-member ref="addMember" />
</el-drawer>
</template>
@ -88,8 +88,6 @@ export default {
label: 'labelName'
},
simulationUserList: [],
stationList: [],
availableStationList:[],
activeTrains: [],
standList: [],
doorList: [],