From 2510046e4e09c929cdb0d5adcecde62fd3a20cf4 Mon Sep 17 00:00:00 2001
From: chenyincheng <501753378@qq.com>
Date: 星期六, 07 一月 2023 11:45:19 +0800
Subject: [PATCH] 更新外网订阅
---
src/stores/patient.ts | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/stores/patient.ts b/src/stores/patient.ts
index e9750fa..85ff186 100644
--- a/src/stores/patient.ts
+++ b/src/stores/patient.ts
@@ -3,10 +3,25 @@
import { Session } from '@/utils/storage'
export const patientInfoStore =defineStore('patientInfo',()=>{
- const patientInfo=ref({id:0,code:'',patientCode:'',schemeName:'',scheduleDate:'',patientPreHemoWeight:0,pureWeight:0,confirmUserInfo:{userName:''},patientInfo:{patientName:'',patientGender:0,age:'',patientHemoCode:''},deviceInfo:{deviceNo:''}})// 初始值
+ const patientInfo=ref({
+ id:0,
+ code:'',
+ name:'',
+ patientAvatarIcon:'',
+ deviceCode:'',
+ hemoCode:'',
+ pureWeight:'',
+ datetime:'',
+ isScheduled:0,
+
+ })// 初始值
+ const viewNumber=ref(150)
function setpatientInfo(patient:any){
patientInfo.value=patient
Session.set('patientInfo', patient)
}
- return {patientInfo,setpatientInfo}
+ function setViewNumber(num:any){
+ viewNumber.value=num
+ }
+ return {patientInfo,setpatientInfo,viewNumber,setViewNumber}
})
\ No newline at end of file
--
Gitblit v1.8.0