From 7b5531fccfc16406e303c337526424e40d960f1a Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 20 八月 2024 20:39:33 +0800
Subject: [PATCH] 更新首页
---
src/types/pinia.d.ts | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/types/pinia.d.ts b/src/types/pinia.d.ts
index 806a210..5a056bc 100644
--- a/src/types/pinia.d.ts
+++ b/src/types/pinia.d.ts
@@ -17,6 +17,21 @@
userInfos: UserInfos;
}
+// 患者信息
+declare interface patientsInfo<T=any>{
+ id:string,
+ code:string,
+ age:number,
+ patientName:string,
+ patientGenderText:string,
+ //头像
+ patientAvatarIcon:string,
+ [key: string]: T;
+}
+declare interface patientsInfoState {
+ patientsInfo: patientsInfo;
+}
+
// 路由缓存列表
declare interface KeepAliveNamesState {
keepAliveNames: string[];
--
Gitblit v1.8.0