综合演练仿真聊天 请求会话成员代码调整 退出会话代码调整
This commit is contained in:
parent
49c61f8c8d
commit
156a746a07
@ -151,7 +151,7 @@ export default {
|
||||
},
|
||||
quitCoversition() {
|
||||
quitCoversition(this.group, this.currentCoversition.id).then(res=>{
|
||||
this.currentCoversition = null;
|
||||
this.currentCoversition = {all:undefined, id:null};
|
||||
this.$refs.chatCoversitionList.initPage(true);
|
||||
this.isHasCoversition = false;
|
||||
}).catch(error=>{
|
||||
|
@ -94,7 +94,7 @@ export default {
|
||||
},
|
||||
methods:{
|
||||
inintData() {
|
||||
if (this.coversition) {
|
||||
if (this.coversition.id) {
|
||||
getSimulationContextListNew(this.$route.query.group, this.coversition.id).then(res=>{
|
||||
const userId = this.$store.state.user.id;
|
||||
const coversitionList = res.data.map(coversition=>{
|
||||
|
@ -59,7 +59,7 @@ export default {
|
||||
methods:{
|
||||
getSimulationMembers() {
|
||||
this.memberList = [];
|
||||
if (this.currentCoversition && this.currentCoversition.id) {
|
||||
if (this.currentCoversition.id) {
|
||||
getSimulationChatMemberNew(this.$route.query.group, this.currentCoversition.id).then(resp => {
|
||||
let lastData = JSON.stringify(resp.data);
|
||||
const roleTypeList = ConstConfig.ConstSelect.roleTypeNew;
|
||||
|
Loading…
Reference in New Issue
Block a user