feat(miniprogram): 添加健康记录和诊断记录查看页面
- 新建 service: health-record.ts(listHealthRecords + listDiagnoses) - 新建页面: health-records/index(体检记录列表,分页+下拉刷新) - 新建页面: diagnoses/index(诊断记录列表,类型/状态标签) - 路由注册到 pkg-profile 分包 - "我的"页菜单添加健康记录、诊断记录入口
This commit is contained in:
@@ -3,6 +3,7 @@ export default defineAppConfig({
|
||||
'pages/index/index',
|
||||
'pages/login/index',
|
||||
'pages/health/index',
|
||||
'pages/messages/index',
|
||||
'pages/consultation/index',
|
||||
'pages/consultation/detail/index',
|
||||
'pages/mall/index',
|
||||
@@ -41,7 +42,7 @@ export default defineAppConfig({
|
||||
'followups/index', 'medication/index', 'settings/index',
|
||||
'dialysis-records/index', 'dialysis-records/detail/index',
|
||||
'dialysis-prescriptions/index', 'dialysis-prescriptions/detail/index',
|
||||
'consents/index',
|
||||
'consents/index', 'health-records/index', 'diagnoses/index',
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -76,9 +77,8 @@ export default defineAppConfig({
|
||||
borderStyle: 'white',
|
||||
list: [
|
||||
{ pagePath: 'pages/index/index', text: '首页', iconPath: 'assets/tabbar/home.png', selectedIconPath: 'assets/tabbar/home-active.png' },
|
||||
{ pagePath: 'pages/health/index', text: '上报', iconPath: 'assets/tabbar/health.png', selectedIconPath: 'assets/tabbar/health-active.png' },
|
||||
{ pagePath: 'pages/consultation/index', text: '咨询', iconPath: 'assets/tabbar/appointment.png', selectedIconPath: 'assets/tabbar/appointment-active.png' },
|
||||
{ pagePath: 'pages/mall/index', text: '商城', iconPath: 'assets/tabbar/article.png', selectedIconPath: 'assets/tabbar/article-active.png' },
|
||||
{ pagePath: 'pages/health/index', text: '健康', iconPath: 'assets/tabbar/health.png', selectedIconPath: 'assets/tabbar/health-active.png' },
|
||||
{ pagePath: 'pages/messages/index', text: '消息', iconPath: 'assets/tabbar/message.png', selectedIconPath: 'assets/tabbar/message-active.png' },
|
||||
{ pagePath: 'pages/profile/index', text: '我的', iconPath: 'assets/tabbar/profile.png', selectedIconPath: 'assets/tabbar/profile-active.png' },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user