From 77a938594b066349db89ce9c06007bfc02a58150 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 06 八月 2024 18:23:46 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/profile/index.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue
index 6f02c8d..4300f6e 100644
--- a/src/views/patient/patient/profile/index.vue
+++ b/src/views/patient/patient/profile/index.vue
@@ -50,12 +50,12 @@
           >
           <el-tab-pane name="inhospital"
             ><span class="mulsz" slot="label"
-              >浣忛櫌({{ zynumber }})
+              >鍦ㄩ櫌({{ zynumber }})
             </span></el-tab-pane
           >
           <el-tab-pane name="checkout"
             ><span class="mulsz" slot="label"
-              >浣撴({{ jynumber }})
+              >鍑洪櫌({{ jynumber }})
             </span></el-tab-pane
           >
         </el-tabs>
@@ -296,7 +296,7 @@
       <!-- 鑱旂郴鐢佃瘽 -->
       <div class="bottom-message">
         <div class="headline">
-          鍙风爜缁存姢<span style="margin-right: 60px">&nbsp;&nbsp;</span>
+          浜插睘鍙风爜缁存姢<span style="margin-right: 60px">&nbsp;&nbsp;</span>
           <el-button type="primary" @click="addcompiletb">+鏂板</el-button>
         </div>
         <div class="Table-screen">
@@ -636,6 +636,7 @@
   delcontactinformation,
   listcontactinformation,
   alterpatient,
+  Patientclinic,
 } from "@/api/patient/homepage";
 
 export default {
@@ -788,9 +789,13 @@
   },
 
   methods: {
-    // 鏌ヨ妗f鍒楄〃淇℃伅
+    // 鏌ヨ鍖荤枟妗f鍒楄〃淇℃伅
     getList() {
       this.loading = true;
+      // 闂ㄨ瘖璁板綍
+      Patientclinic(this.id).then((response) => {
+        console.log(response);
+      });
     },
     getcontactlist() {
       listcontactinformation({ patid: this.id }).then((response) => {
@@ -943,7 +948,9 @@
     },
     // tab鍒囨崲
     handleClick(tab, event) {
-      console.log(tab, event);
+      if (tab.index == 1) {
+        this.getList();
+      }
     },
     // 鑱旂郴鏂瑰紡鏂板
     Addanumber() {},

--
Gitblit v1.9.3