出诊计划相关
This commit is contained in:
@@ -94,11 +94,11 @@ export function setupMoreOperationData() {
|
||||
shopOperationData.imageSource = "app.media.ytx_chattingfooter_shopping";
|
||||
operationMoreDataList.push(shopOperationData);
|
||||
//互联网医院
|
||||
const hospatilOperationData = new NEChatMoreOperationData();
|
||||
hospatilOperationData.operationTitle = $r("app.string.hospital");
|
||||
hospatilOperationData.type = NEChatMoreOperationType.Hospital;
|
||||
hospatilOperationData.imageSource = "app.media.ytx_chatting_hospital";
|
||||
operationMoreDataList.push(hospatilOperationData);
|
||||
// const hospatilOperationData = new NEChatMoreOperationData();
|
||||
// hospatilOperationData.operationTitle = $r("app.string.hospital");
|
||||
// hospatilOperationData.type = NEChatMoreOperationType.Hospital;
|
||||
// hospatilOperationData.imageSource = "app.media.ytx_chatting_hospital";
|
||||
// operationMoreDataList.push(hospatilOperationData);
|
||||
// // 位置功能
|
||||
// const locationOperationData = new NEChatMoreOperationData();
|
||||
// locationOperationData.operationTitle = $r("app.string.chat_send_location");
|
||||
|
||||
@@ -643,7 +643,7 @@ export struct ChatP2PPage {
|
||||
this.closeConsult()
|
||||
}
|
||||
else {
|
||||
this.goToSettingPage(this.pathStack)
|
||||
this.goToSettingPage()
|
||||
}
|
||||
|
||||
},
|
||||
@@ -663,16 +663,17 @@ export struct ChatP2PPage {
|
||||
showSelect: this.showMultiSelect,
|
||||
onMessageClick: {
|
||||
onAvatarClick: ((msg: NIMMessageInfo | undefined) => {
|
||||
if (this.showMultiSelect) {
|
||||
return
|
||||
}
|
||||
// if (this.showMultiSelect) {
|
||||
// return
|
||||
// }
|
||||
if (msg != null) {
|
||||
if (msg?.message.senderId == ChatKitClient.getLoginUserId()) {
|
||||
this.pathStack.pushPath({
|
||||
name: 'MineInfoPage'
|
||||
})
|
||||
// this.pathStack.pushPath({
|
||||
// name: 'MineInfoPage'
|
||||
// })
|
||||
} else {
|
||||
this.pathStack.pushPath({ name: 'PersonInfoPage', param: msg?.message.senderId })
|
||||
HMRouterMgr.push({pageUrl:'PatientDetailsComp',param:{"patient_uuid":this.patientUuid}})
|
||||
// this.pathStack.pushPath({ name: 'PersonInfoPage', param: msg?.message.senderId })
|
||||
}
|
||||
}
|
||||
}),
|
||||
@@ -1510,17 +1511,21 @@ export struct ChatP2PPage {
|
||||
)
|
||||
}
|
||||
|
||||
goToSettingPage(pathStack: NavPathStack) {
|
||||
if (this.showMultiSelect) {
|
||||
this.chatViewModel.clearSelectMessage()
|
||||
this.showMultiSelect = false
|
||||
} else {
|
||||
pathStack.pushPath({
|
||||
name: 'UserSettingPage',
|
||||
param: this.chatViewModel.conversationId
|
||||
})
|
||||
}
|
||||
this.controller.stopEditing()
|
||||
// goToSettingPage(pathStack: NavPathStack) {
|
||||
// if (this.showMultiSelect) {
|
||||
// this.chatViewModel.clearSelectMessage()
|
||||
// this.showMultiSelect = false
|
||||
// } else {
|
||||
// pathStack.pushPath({
|
||||
// name: 'UserSettingPage',
|
||||
// param: this.chatViewModel.conversationId
|
||||
// })
|
||||
// }
|
||||
// this.controller.stopEditing()
|
||||
// }
|
||||
goToSettingPage()
|
||||
{
|
||||
HMRouterMgr.push({pageUrl: 'PatientCommonSettingComp',param:{"title":"","patient_uuid":this.patientUuid}})
|
||||
}
|
||||
|
||||
onPageHide(): void {
|
||||
|
||||
Reference in New Issue
Block a user