fix(miniprogram): 精简菜单,移除推迟模块入口
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

- 个人中心:15→8 项菜单(移除积分商城/订单/用药/透析/知情同意/积分明细)
- 健康页:移除 BLE 设备同步入口
- 医生端:移除透析记录/透析处方快捷入口
This commit is contained in:
iven
2026-05-06 11:12:02 +08:00
parent 4a95a83d6b
commit 5fd8e88825
3 changed files with 2 additions and 33 deletions

View File

@@ -30,8 +30,6 @@ const QUICK_ACTIONS = [
{ label: '患者查询', initial: '查', route: '/pages/doctor/patients/index' },
{ label: '随访记录', initial: '随', route: '/pages/doctor/followup/index' },
{ label: '告警中心', initial: '警', route: '/pages/doctor/alerts/index' },
{ label: '透析记录', initial: '透', route: '/pages/doctor/dialysis/index' },
{ label: '透析处方', initial: '方', route: '/pages/doctor/prescription/index' },
];
export default function DoctorHome() {

View File

@@ -366,22 +366,7 @@ export default function Health() {
)}
</View>
{/* BLE 设备卡片 */}
<View className='device-section'>
<View
className='device-card'
onClick={() => Taro.navigateTo({ url: '/pages/device-sync/index' })}
>
<View className='device-icon'>
<Text className='device-icon-text'></Text>
</View>
<View className='device-info'>
<Text className='device-name'></Text>
<Text className='device-desc'></Text>
</View>
<Text className='device-arrow'></Text>
</View>
</View>
{/* BLE 设备同步功能暂缓开放 */}
{/* 健康资讯入口 */}
<View

View File

@@ -6,37 +6,23 @@ import { usePointsStore } from '../../stores/points';
import './index.scss';
const MENU_ITEMS = [
{ label: '积分商城', icon: '🎁', bg: '#FDEAEA' },
{ label: '我的订单', icon: '📦', bg: '#E8F0F8' },
{ label: '就诊人管理', icon: '👨‍👩‍👧', bg: '#F0DDD4' },
{ label: '我的报告', icon: '📄', bg: '#E8F0E8' },
{ label: '健康记录', icon: '📝', bg: '#E8F0F8' },
{ label: '诊断记录', icon: '📋', bg: '#E8F0E8' },
{ label: '我的随访', icon: '🏥', bg: '#F3E8F8' },
{ label: '用药提醒', icon: '💊', bg: '#FFF3E0' },
{ label: '透析记录', icon: '💉', bg: '#E8F0F8' },
{ label: '透析处方', icon: '💊', bg: '#E8F0E8' },
{ label: '知情同意', icon: '📋', bg: '#F3E8F8' },
{ label: '积分明细', icon: '📊', bg: '#F0DDD4' },
{ label: '我的预约', icon: '📅', bg: '#E8F0F8' },
{ label: '在线咨询', icon: '💬', bg: '#E8F0E8' },
{ label: '设置', icon: '⚙️', bg: '#f0f0f0' },
];
const MENU_PATHS: Record<string, string> = {
'积分商城': '/pages/mall/index',
'我的订单': '/pages/pkg-mall/orders/index',
'积分明细': '/pages/pkg-mall/detail/index',
'就诊人管理': '/pages/pkg-profile/family/index',
'我的报告': '/pages/pkg-profile/reports/index',
'健康记录': '/pages/pkg-profile/health-records/index',
'诊断记录': '/pages/pkg-profile/diagnoses/index',
'我的随访': '/pages/pkg-profile/followups/index',
'用药提醒': '/pages/pkg-profile/medication/index',
'透析记录': '/pages/pkg-profile/dialysis-records/index',
'透析处方': '/pages/pkg-profile/dialysis-prescriptions/index',
'知情同意': '/pages/pkg-profile/consents/index',
'我的预约': '/pages/pkg-appointment/index',
'我的预约': '/pages/appointment/index',
'在线咨询': '/pages/consultation/index',
'设置': '/pages/pkg-profile/settings/index',
};