From fdb6ad79bb3ad837c0ac8375597c487539c7959c Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期四, 16 十二月 2021 11:16:46 +0800
Subject: [PATCH] fixed#132455: [取消預約]  取消預約後,取消的顧問單會顯示在「已聯絡」的顧問列表中

---
 PAMapp/assets/ts/models/appointment.model.ts |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/PAMapp/assets/ts/models/appointment.model.ts b/PAMapp/assets/ts/models/appointment.model.ts
index 2d5733d..36b9c77 100644
--- a/PAMapp/assets/ts/models/appointment.model.ts
+++ b/PAMapp/assets/ts/models/appointment.model.ts
@@ -8,4 +8,32 @@
     score           : number,
     agentName       : string,
     customerName    : string,
-}
\ No newline at end of file
+}
+export interface Appointment {
+  id                 : number;
+  phone?             : string;
+  email?             : string;
+  contactType        : string;
+  gender             : string;
+  age                : string;
+  job                : string;
+  requirement        : string;
+  communicateStatus  : string;
+  hopeContactTime    : string;
+  otherRequirement?  : string;
+  appointmentDate    : string;
+  lastModifiedDate   : string;
+  agentNo            : string;
+  customerId         : number;
+  name               : string;
+  consultantViewTime?: string;
+  consultantReadTime?: string;
+  satisfactionScore? : number;
+};
+export interface AppointmentWithConsultantInfo extends Appointment {
+  consultantName      : string;
+  consultantAvatar    : string;
+  consultantExpertList: string[]
+  updateTime          : Date | string;
+  contactStatus       : string;
+}

--
Gitblit v1.8.0