feat(clinic): 新增诊所相关模块API接口

- 新增挂号模块,包括分页查询、列表查询、添加、修改、删除及批量删除功能
- 新增医生入驻申请模块,包含完整的CRUD操作接口- 新增医疗记录模块,支持分页及列表查询、增删改查功能
- 新增分销商用户记录表模块,提供完整的数据管理接口- 新增病例模块,实现分页查询、列表查询及数据操作功能
- 新增药品库模块,支持药品信息的增删改查及分页查询- 新增出入库模块,提供完整的库存变动记录管理接口
- 新增药品库存模块,包含库存信息的查询、添加、修改及删除功能
- 新增处方订单模块,实现订单信息的全面管理接口
This commit is contained in:
2025-10-23 16:26:52 +08:00
parent eebd164be4
commit e1f401808a
78 changed files with 12954 additions and 90 deletions

View File

@@ -0,0 +1,49 @@
import type { PageParam } from '@/api';
/**
* 处方明细表
*/
export interface ClinicPrescriptionItem {
// 自增ID
id?: number;
// 关联处方
prescriptionId?: number;
// 订单编号
prescriptionNo?: string;
// 关联药品
medicineId?: number;
// 剂量如“10g”
dosage?: string;
// 用法频率(如“每日三次”)
usageFrequency?: string;
// 服用天数
days?: number;
// 购买数量
amount?: number;
// 单价
unitPrice?: string;
// 数量
quantity?: number;
// 排序号
sortNumber?: number;
// 备注
comments?: string;
// 用户id
userId?: number;
// 租户id
tenantId?: number;
// 更新时间
updateTime?: string;
// 创建时间
createTime?: string;
}
/**
* 处方明细表
搜索条件
*/
export interface ClinicPrescriptionItemParam extends PageParam {
id?: number;
keywords?: string;
}