|
@@ -254,6 +254,7 @@ export default {
|
|
|
|
|
|
this.$api.updateConfessionSession(params).then(response=>{
|
|
|
if(response.code == 200){
|
|
|
+ this.reLoadSearch = true
|
|
|
this.queryConfessionSession()
|
|
|
this.getResult()
|
|
|
}
|
|
@@ -279,7 +280,6 @@ export default {
|
|
|
}else{
|
|
|
obj = this.confessionSessionList[0]
|
|
|
}
|
|
|
- console.log(this.currentConversation,obj)
|
|
|
if(obj){
|
|
|
this.changeConversation(obj,true)
|
|
|
}
|
|
@@ -386,7 +386,7 @@ export default {
|
|
|
changeConversation(obj,sign){
|
|
|
if(obj.id == this.currentConversation.id){
|
|
|
this.currentConversation = obj
|
|
|
- if(sign){
|
|
|
+ if(sign && !this.reLoadSearch){
|
|
|
//获取当前会话id
|
|
|
this.chat_id = obj.conversationId
|
|
|
this.$set(this,'current_guid',this.notice_file.guid)
|
|
@@ -394,6 +394,7 @@ export default {
|
|
|
this.confession = obj.systemFile || {}
|
|
|
this.$set(this,'notice_file',JSON.parse(JSON.stringify(this.confession)))
|
|
|
this.$set(this,'current_guid',this.notice_file.guid)
|
|
|
+ this.getOption()
|
|
|
}
|
|
|
return
|
|
|
}
|