| | |
| | | /** |
| | | * pinia 类型定义 |
| | | */ |
| | | declare interface clientInfo { |
| | | code:string, |
| | | clientName:string, |
| | | } |
| | | |
| | | // 用户信息 |
| | | declare interface UserInfos<T = any> { |
| | |
| | | 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[]; |