chenyc
2025-08-26 6ed90d1eae16fc66f51741c778f0246c202added
调试初始化
2个文件已修改
17 ■■■■■ 已修改文件
src/views/HomeLoading/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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')
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,
        ()=>{