From 49a62aec4688a2eb06150f341d9f0d6d0e354caf Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 24 二月 2025 17:14:30 +0800
Subject: [PATCH] gx

---
 src/types/pinia.d.ts |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/types/pinia.d.ts b/src/types/pinia.d.ts
index f7c32ad..6f2155a 100644
--- a/src/types/pinia.d.ts
+++ b/src/types/pinia.d.ts
@@ -1,6 +1,10 @@
 /**
  * pinia 类型定义
  */
+declare interface clientInfo {
+	code:string,
+	clientName:string,
+}
 
 // 用户信息
 declare interface UserInfos<T = any> {
@@ -9,12 +13,30 @@
 	roles: string[];
 	time: number;
 	userName: string;
+	clientCode:string,
+	clientName:string,
+	clientInfos:[]
 	[key: string]: T;
 }
 declare interface UserInfosState {
 	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