From b569c2254c1f870e174581c0825436a99c528097 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期一, 24 一月 2022 11:53:46 +0800
Subject: [PATCH] update: [滿意度通知] route query parameter - 清除方式調整

---
 PAMapp/shared/models/appointment.model.ts |   71 +++++++++++++++++++++--------------
 1 files changed, 42 insertions(+), 29 deletions(-)

diff --git a/PAMapp/shared/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
index 300c61c..9a66ebe 100644
--- a/PAMapp/shared/models/appointment.model.ts
+++ b/PAMapp/shared/models/appointment.model.ts
@@ -1,43 +1,56 @@
 import { ContactStatus } from "./enum/contact-status";
 
 export interface AppointmentLog {
-    id              : number;
-    createdDate     : string;
-    lastModifiedDate: string;
-    customerId      : number;
-    agentNo         : string;
-    status          : 'UNFILLED' | 'FILLED';
-    score           : number;
     agentName       : string;
+    agentNo         : string;
+    appointmentId   : number;
+    createdDate     : string;
+    customerId      : number;
     customerName    : string;
+    id              : number;
+    lastModifiedDate: string;
+    score           : number;
+    status          : 'UNFILLED' | 'FILLED';
 }
 
 export interface Appointment {
-  age                : string;
-  agentNo            : string;
-  appointmentDate    : string;
-  appointmentMemoList: AppointmentMemoInfo[]
-  communicateStatus  : ContactStatus;
-  consultantReadTime : string;
-  consultantViewTime : string;
-  contactTime        : string;
-  contactType        : string;
-  customerId         : number;
-  email              : string;
-  gender             : string;
-  hopeContactTime    : string;
-  id                 : number;
-  interviewRecordDTOs: InterviewRecord[];
-  job                : string;
-  lastModifiedDate   : string;
-  name               : string;
-  otherRequirement   : string;
-  phone              : string;
-  requirement        : string;
-  satisfactionScore  : number;
+  age                  : string;
+  agentNo              : string;
+  appointmentClosedInfo: AppointmentClosedInfo;
+  appointmentDate      : string;
+  appointmentMemoList  : AppointmentMemoInfo[]
   appointmentNoticeLogs: NoticeLogs[];
+  communicateStatus    : ContactStatus;
+  consultantReadTime   : string;
+  consultantViewTime   : string;
+  contactTime          : string;
+  contactType          : string;
+  customerId           : number;
+  email                : string;
+  gender               : string;
+  hopeContactTime      : string;
+  id                   : number;
+  interviewRecordDTOs  : InterviewRecord[];
+  job                  : string;
+  lastModifiedDate     : string;
+  name                 : string;
+  otherRequirement     : string;
+  phone                : string;
+  requirement          : string;
+  satisfactionScore    : number;
 };
 
+export interface AppointmentClosedInfo {
+  appointmentId         : number;
+  closedOtherReason     : string;
+  closedReason          : string;
+  id                    : number;
+  planCode              : string;
+  policyEntryDate       : string;
+  policyholderIdentityId: string;
+  remark                : string;
+}
+
 export interface AppointmentMemoInfo {
   appointmentId: number;
   content      : string;

--
Gitblit v1.8.0