From e87a45a4dfb21632d2e228724f545e585a427a51 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 11 三月 2025 16:12:34 +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