bug修复

This commit is contained in:
xiaoxiao
2025-08-05 16:59:58 +08:00
parent 76b7785d84
commit 68c33cf3a5
11 changed files with 145 additions and 103 deletions
@@ -276,7 +276,7 @@ export struct GroupMessageSendingComp {
.scrollBar(BarState.Off)
.layoutWeight(1)
EmptyViewComp({promptText:'暂无随访计划',isVisibility:true})
EmptyViewComp({promptText:'暂无群发消息',isVisibility:true})
.width('100%')
.height('100%')
.visibility(this.messageList.length>0?Visibility.None:Visibility.Visible)
@@ -1,5 +1,5 @@
import { ApplyViews } from '../views/ApplyViews'
import { authStore, HdNav } from '@itcast/basic';
import { authStore, EmptyViewComp, HdNav } from '@itcast/basic';
import { applyListCallBacl,applyListModel,applyHistoryCallBacl,historyModel } from '../models/ApplyModel'
import HashMap from '@ohos.util.HashMap';
import { HdLoadingDialog } from '@itcast/basic'
@@ -227,10 +227,14 @@ export struct PatientApplyPage {
})
}.width('100%').alignItems(HorizontalAlign.Start)
}
EmptyViewComp({promptText:'暂无新随访申请患者',isVisibility:true})
.visibility(this.historyArray.length>0||this.applyArray.length>0?Visibility.None:Visibility.Visible)
.width('100%')
.height('90%')
}.width('100%').height('100%').backgroundColor('#f4f4f4')
}
submintMessage(patient_user_uuid:string) {
submintMessage(patient_user_uuid:string) {//使用群发
const hashMap: HashMap<string, string> = new HashMap();
hashMap.set('msg_type','1')
hashMap.set('msg_content','你好,我已经是你的随访医生了')