- 添加 .dockerignore 和 .env.example 配置文件 - 添加 .gitignore 忽略规则配置 - 创建服务端代理API路由(_file、_modules、_server) - 集成 Ant Design Vue 组件库并配置SSR样式提取 - 定义API响应类型封装 - 创建基础布局组件(blank、console) - 实现应用中心页面和组件(AppsCenter) - 添加文章列表测试页面 - 配置控制台导航菜单结构 - 实现控制台头部组件 - 创建联系页面表单
44 lines
827 B
TypeScript
44 lines
827 B
TypeScript
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 药品库
|
|
*/
|
|
export interface ClinicMedicine {
|
|
// 主键ID
|
|
id?: number;
|
|
// 药名
|
|
name?: string;
|
|
// 拼音
|
|
pinyin?: string;
|
|
// 分类(如“清热解毒”、“补气养血”)
|
|
category?: string;
|
|
// 规格(如“饮片”、“颗粒”)
|
|
specification?: string;
|
|
// 单位(如“克”、“袋”)
|
|
unit?: string;
|
|
// 描述
|
|
content?: string;
|
|
// 单价
|
|
pricePerUnit?: string;
|
|
// 是否活跃
|
|
isActive?: number;
|
|
// 买家用户ID
|
|
userId?: number;
|
|
// 备注
|
|
comments?: string;
|
|
// 商城ID
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 修改时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 药品库搜索条件
|
|
*/
|
|
export interface ClinicMedicineParam extends PageParam {
|
|
id?: number;
|
|
keywords?: string;
|
|
}
|