yuebuzu-creater 4 months ago
parent
commit
db70c6d715

+ 2 - 2
wisdom-app/src/app/page/inquiry-human/inquiry-human.component.ts

@@ -97,7 +97,7 @@ export class InquiryHumanComponent implements OnInit {
       unit: '',
       isAvailable: false
     }
-  ];
+];
 
   selectOption(option: ConsultOption) {
     if (!option.isAvailable) return;
@@ -205,7 +205,7 @@ export class InquiryHumanComponent implements OnInit {
         className:"user",
         objectId:this.currentUser.id
       },
-      
+      type: '图文咨询'
       }
     )
   }

+ 5 - 5
wisdom-app/src/app/page/page-my-health/page-my-health.component.html

@@ -17,12 +17,12 @@
 </ion-header>
 
 <ion-content [fullscreen]="true">
-  <!-- <ion-refresher slot="fixed" (ionRefresh)="handleRefresh($event)">
+  <ion-refresher slot="fixed" (ionRefresh)="handleRefresh($event)">
     <ion-refresher-content></ion-refresher-content>
-  </ion-refresher> -->
+  </ion-refresher>
 
   <!-- 数据加载指示器 -->
-  <ion-spinner *ngIf="isLoading" name="crescent" class="loading-spinner"></ion-spinner>
+  <!-- <ion-spinner *ngIf="isLoading" name="crescent" class="loading-spinner"></ion-spinner> -->
 
   <!-- 数据展示区域 -->
 
@@ -46,9 +46,9 @@
         </ion-card-header>
         <ion-card-content>
           <ion-icon name="person-outline" slot="start" class="consultation-icon"></ion-icon>
-          <p class="card-text"><strong>就诊医生:</strong> {{ consultation.data["doctor"]?.name }}</p>
+          <p class="card-text"><strong>就诊医生:</strong> {{ consultation.data["doctor"].name }}</p>
           <ion-icon name="business-outline" slot="start" class="consultation-icon"></ion-icon>
-          <p class="card-text"><strong>就诊部门:</strong> {{ consultation.data["depart"]?.name }}</p>
+          <p class="card-text"><strong>就诊部门:</strong> {{ consultation.data["depart"].name }}</p>
           <ion-icon name="medical-outline" slot="start" class="consultation-icon"></ion-icon>
           <p class="card-text"><strong>门诊名称:</strong> {{ consultation.data["title"] }}</p>
           <ion-icon name="document-text-outline" slot="start" class="consultation-icon"></ion-icon>