diff --git a/src/views/newMap/display/voiceChatBox/index.vue b/src/views/newMap/display/voiceChatBox/index.vue index 20ebd49ff..7c00cad97 100644 --- a/src/views/newMap/display/voiceChatBox/index.vue +++ b/src/views/newMap/display/voiceChatBox/index.vue @@ -50,8 +50,7 @@ import ChatContent from './chatContent'; import RecordRTC from 'recordrtc'; import {sendChatAudioBase64, overSimulationConversition, getAllConversition, acceptConversitionInvite} from '@/api/chat'; import { getSessionStorage } from '@/utils/auth'; -import { getSimulationMemberList} from '@/api/simulation'; -import { getUserListCommon } from '@/api/rtSimulation'; +import { getSimulationMemberList, getAllSimulationUser } from '@/api/simulation'; import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler'; import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate'; import {UserOperationType} from '../../../../scripts/ConstDic'; @@ -184,7 +183,7 @@ export default { }).catch(() => { this.$messageBox('获取仿真成员列表失败!'); }); - getUserListCommon(this.$route.query.group).then(res => { + getAllSimulationUser(this.$route.query.group).then(res => { this.$store.dispatch('training/setSimulationUserList', res.data); }).catch(() => { this.$messageBox('获取所有仿真用户失败!');