出诊计划相关

This commit is contained in:
XiuYun CHEN
2025-07-30 16:22:38 +08:00
parent 0d7ddb5854
commit 1e99ff4dfa
23 changed files with 1028 additions and 190 deletions
+5 -5
View File
@@ -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");
+24 -19
View File
@@ -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 {