随访二维码

This commit is contained in:
xiaoxiao 2025-07-10 14:09:00 +08:00
parent 4d6af76e47
commit 971cd1c332
2 changed files with 8 additions and 13 deletions

View File

@ -24,10 +24,10 @@ export struct OneSection {
toTop:boolean;
@State oneSectionList: Array<MyPageSectionClass> = [
new MyPageSectionClass('oneItem', $r('app.media.my_page_patientAudit'), '患者审核', '/pages/MyHomePage',false),
new MyPageSectionClass('twoItem', $r('app.media.my_page_patientList'), '患者分组', '/pages/MyHomePage',false),
new MyPageSectionClass('oneItem', $r('app.media.my_page_patientAudit'), '患者审核', 'pages/PatientsPage/PatientPages',false),
new MyPageSectionClass('twoItem', $r('app.media.my_page_patientList'), '患者分组', 'pages/PatientsPage/PatientsGroupPage',false),
new MyPageSectionClass('threeItem', $r('app.media.my_page_message'), '群发消息', '/pages/MyHomePage',false),
new MyPageSectionClass('fourItem', $r('app.media.my_page_QrCode'), '随访二维码', '/pages/MyHomePage',false),
new MyPageSectionClass('fourItem', $r('app.media.my_page_QrCode'), '随访二维码', 'pages/WebView/WebPage',false),
new MyPageSectionClass('fiveItem', $r('app.media.my_page_visitPlan'), '出诊计划', '/pages/MyHomePage',false)
];
@ -87,15 +87,10 @@ export struct OneSection {
GridItem() {
MyPageSectionItem({ sectionItem: item })
.onClick(()=>{
if (item.title === '患者审核') {
router.pushUrl({
url:'pages/PatientsPage/PatientPages'
})
} else if (item.title === '患者分组') {
router.pushUrl({
url:'pages/PatientsPage/PatientsGroupPage'
})
}
router.pushUrl({
url:item.path,
params:{"title":item.title,"url":BasicConstant.wxUrl+'expert/expertcodeimg?expert_uuid='+authStore.getUser().uuid}
})
})
}
}, (item: MyPageSectionClass) => item.id)

View File

@ -63,7 +63,7 @@ struct WebPage {
.width('100%')
.layoutWeight(1)// 占据剩余空间
.height('100%')
if (this.title == '我的二维码') {
if (this.title == '随访二维码') {
Row(){
SaveButton({text:SaveDescription.SAVE_IMAGE,buttonType:ButtonType.Normal})
.fontSize(16)