From 6ed90d1eae16fc66f51741c778f0246c202added Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 26 八月 2025 14:16:30 +0800
Subject: [PATCH] 调试初始化
---
src/views/home/index.vue | 12 ++++++------
src/views/HomeLoading/index.vue | 5 +++++
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/views/HomeLoading/index.vue b/src/views/HomeLoading/index.vue
index 522e853..980219c 100644
--- a/src/views/HomeLoading/index.vue
+++ b/src/views/HomeLoading/index.vue
@@ -28,6 +28,11 @@
const route = useRoute()
const router=useRouter()
const isLoading = ref(true)
+ const config={
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ }
+ }
const getUserinfo=()=>{
ajaxPost('/patient/info/getPatientInfo','').then((re)=>{
console.log(re,'得到患者的信息getUserinfo')
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index acfddc2..ccc3ecc 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -3,12 +3,12 @@
<div class="box_1">
<div class="userinfo">
<div class="name" v-if="patientInfo.patientInfo.patientName !== undefined">{{patientInfo.patientInfo.patientName}}</div>
- <div class="userCode">卡号:{{patientInfo.patientInfo.patientCardNo}} </div>
+ <div class="userCode">透析号:{{patientInfo.patientInfo.patientHemoCode}} </div>
<div class="userQRcode">
<img
style=" width: 60px;height: 60px;margin-left: 8%; margin-top: 20px;"
referrerpolicy="no-referrer"
- :src="patientInfo.patientInfo.patientAvatarIcon"
+ :src="patientInfo.patientInfo.patientQrcodeUrl"
/>
</div>
</div>
@@ -17,7 +17,7 @@
round
width="78px"
height="78px"
- :src="Info.headimgurl"
+ :src="patientInfo.patientInfo.patientAvatarIcon"
/>
</div>
<div class="meuns">
@@ -163,9 +163,9 @@
const 最近体重血压=computed(() => {
return userInfo.最近体重血压
})
- const Info=computed(() => {
- return userInfo.info
- })
+ // const Info=computed(() => {
+ // return userInfo.info
+ // })
watch(
()=>patientInfo,
()=>{
--
Gitblit v1.8.0