From dbdf05da89c536d310394cd3e09fc0b16d762fd8 Mon Sep 17 00:00:00 2001
From: Mila <Mila@pollex.com.tw>
Date: 星期一, 24 一月 2022 16:34:43 +0800
Subject: [PATCH] fixed TODO#134626 調整移除按鈕點選範圍、點選移除時增加確認dialog

---
 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