From 1b7eb0871a246af9c6dc64f2fa25348831fe0073 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 09 八月 2024 18:35:25 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/profile/index.vue |   42 ++++++++++++++++++++++++++++--------------
 1 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue
index 0b947b4..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">
@@ -433,15 +433,19 @@
           </div>
           <el-divider></el-divider>
           <div style="margin-top: 10px">
-            闅忚鐘舵�侊細宸茬粓姝�<span style="color: #2775b6"
+            {{ item.name }}鐘舵�侊細宸茬粓姝�<span style="color: #2775b6"
               >锛堢粓姝㈠師鍥狅細鎮h�呯棅鎰堝洖璁跨粨鏉燂紝缁堟鏃堕棿锛�2023-12-18 12:00锛�</span
             >
           </div>
           <div style="margin-top: 10px">
-            闅忚鍙戦�佹椂闂达細<span style="color: #2775b6">2023-11-23 12:00</span>
+            {{ item.name }}鍙戦�佹椂闂达細<span style="color: #2775b6"
+              >2023-11-23 12:00</span
+            >
           </div>
           <div style="margin-top: 10px">
-            闅忚瀹屾垚鏃堕棿锛�<span style="color: #2775b6">2023-12-18 12:00</span>
+            {{ item.name }}瀹屾垚鏃堕棿锛�<span style="color: #2775b6"
+              >2023-12-18 12:00</span
+            >
           </div>
           <div style="margin-top: 10px">
             鐤肩棝绋嬪害锛�<span style="color: #2775b6">涓害</span>
@@ -454,16 +458,17 @@
               border-left: 4px solid rgb(65, 161, 190);
             "
           >
-            浜哄伐闅忚璁板綍
+            浜哄伐{{ item.name }}璁板綍
           </div>
           <div style="margin-top: 10px">
             <el-row :gutter="20">
               <el-col :span="6"
-                >闅忚鏃ユ湡锛�
+                >{{ item.name }}鏃ユ湡锛�
                 <span style="color: #2775b6">2023-11-22 11:22</span></el-col
               >
               <el-col :span="6"
-                >闅忚浜猴細 <span style="color: #2775b6">鍚村皬榫�</span></el-col
+                >{{ item.name }}浜猴細
+                <span style="color: #2775b6">鍚村皬榫�</span></el-col
               >
               <el-col :span="6"
                 >鎮h�呴厤鍚堝害锛� <span style="color: #2775b6">楂�</span></el-col
@@ -471,10 +476,12 @@
             </el-row>
           </div>
           <div style="margin-top: 10px">
-            闅忚缁撴灉锛� <span style="color: #2775b6">鎮h�呯棅鎰堬紝韬綋鍊嶆</span>
+            {{ item.name }}缁撴灉锛�
+            <span style="color: #2775b6">鎮h�呯棅鎰堬紝韬綋鍊嶆</span>
           </div>
           <div style="margin-top: 10px">
-            闅忚澶囨敞锛� <span style="color: #2775b6">鎻愰啋娉ㄦ剰楗鍋ュ悍</span>
+            {{ item.name }}澶囨敞锛�
+            <span style="color: #2775b6">鎻愰啋娉ㄦ剰楗鍋ュ悍</span>
           </div>
         </el-card>
       </div>
@@ -629,6 +636,7 @@
   delcontactinformation,
   listcontactinformation,
   alterpatient,
+  Patientclinic,
 } from "@/api/patient/homepage";
 
 export default {
@@ -781,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) => {
@@ -936,7 +948,9 @@
     },
     // tab鍒囨崲
     handleClick(tab, event) {
-      console.log(tab, event);
+      if (tab.index == 1) {
+        this.getList();
+      }
     },
     // 鑱旂郴鏂瑰紡鏂板
     Addanumber() {},
@@ -945,7 +959,7 @@
     gettabList() {
       const tagqueryParams = {
         pageNum: 1,
-        pageSize: 1000,
+        pageSize: 10000,
         tagcategoryid: "0",
       };
       listtag(tagqueryParams).then((response) => {

--
Gitblit v1.9.3