From 9472c3489eb7bb0316f34aece30d1c16f939c492 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 15:36:20 +0800
Subject: [PATCH] 34
---
src/stores/userInfo.ts | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/stores/userInfo.ts b/src/stores/userInfo.ts
index 467892d..9f23958 100644
--- a/src/stores/userInfo.ts
+++ b/src/stores/userInfo.ts
@@ -8,7 +8,20 @@
headimgurl:'',
nickname:'',
})
- const patient=ref({})
+ const patient=ref({
+ patientInfo:{
+ age:0,
+ code:'',
+ id:'',
+ patientCardNo:'',
+ patientIdentityNo:'',
+ patientName:'',
+ patientTelNo:'',
+ patientAvatarIcon:''
+ },
+ pressure:'',
+ weight:''
+ })
function setInfo(userInfo:{openid:string, headimgurl:string,nickname:string}) {
info.value.openid=userInfo.openid
info.value.headimgurl=userInfo.headimgurl
--
Gitblit v1.8.0