diff --git a/src/api/clinic/clinicPatientUser/model/index.ts b/src/api/clinic/clinicPatientUser/model/index.ts index 3de55a2..ea0847b 100644 --- a/src/api/clinic/clinicPatientUser/model/index.ts +++ b/src/api/clinic/clinicPatientUser/model/index.ts @@ -1,4 +1,4 @@ -import type { PageParam } from '@/api/index'; +import type { PageParam } from '@/api'; /** * 患者 @@ -12,30 +12,20 @@ export interface ClinicPatientUser { userId?: number; // 姓名 realName?: string; - // 手机号 + // 年龄 + age?: string; + // 性别 + sex?: string; + // 手机 phone?: string; - // 支付密码 - payPassword?: string; - // 当前可提现佣金 - money?: string; - // 已冻结佣金 - freezeMoney?: string; - // 累积提现佣金 - totalMoney?: string; - // 收益基数 - rate?: string; - // 单价 - price?: string; - // 推荐人用户ID - refereeId?: number; - // 成员数量(一级) - firstNum?: number; - // 成员数量(二级) - secondNum?: number; - // 成员数量(三级) - thirdNum?: number; // 专属二维码 qrcode?: string; + // 身高 + height?: string; + // 体重 + weight?: string; + // 过敏史 + allergyHistory?: string; // 备注 comments?: string; // 排序号 diff --git a/src/doctor/customer/index.tsx b/src/doctor/customer/index.tsx index 1a0b77b..20c6be8 100644 --- a/src/doctor/customer/index.tsx +++ b/src/doctor/customer/index.tsx @@ -189,10 +189,14 @@ const PatientIndex = () => { - - - {patient.realName || '未命名'} - + + + + {patient.realName || '未命名'} + + {patient.age}岁 + {patient.sex == '1' ? '男' : ''}{patient.sex == '2' ? '女' : ''} + @@ -245,12 +249,19 @@ const PatientIndex = () => { {/* 操作按钮 */} +