1.6提交
This commit is contained in:
@@ -158,12 +158,17 @@ const countConsult=()=>{
|
||||
}
|
||||
const answerConsult=async()=>{
|
||||
if(hasAnswer.value){
|
||||
let userId=uni.getStorageSync('userInfo').uuid.toLowerCase();
|
||||
let conversationId=userId+'|1|'+patientUuid.value.toLowerCase();
|
||||
await uni.$UIKitStore.uiStore.selectConversation(conversationId)
|
||||
navTo({
|
||||
url:'/pages_chat/chat/index?from=consult&patientUuid='+patientUuid.value
|
||||
})
|
||||
uni.sendNativeEvent('goConsultPage', {
|
||||
msg: 'chat'
|
||||
},ret => {
|
||||
console.log(ret);
|
||||
})
|
||||
// let userId=uni.getStorageSync('userInfo').uuid.toLowerCase();
|
||||
// let conversationId=userId+'|1|'+patientUuid.value.toLowerCase();
|
||||
// await uni.$UIKitStore.uiStore.selectConversation(conversationId)
|
||||
// navTo({
|
||||
// url:'/pages_chat/chat/index?from=consult&patientUuid='+patientUuid.value
|
||||
// })
|
||||
}else{
|
||||
countConsult()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user