From 2b11d338e059275ccb074c0f08a0019cac6b78ea Mon Sep 17 00:00:00 2001
From: jack <jack.su@pollex.com.tw>
Date: 星期二, 12 九月 2023 15:49:10 +0800
Subject: [PATCH] [UPDATE] 解決弱點Unlogged security exception

---
 PAMapp/shared/models/appointment.model.ts |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/PAMapp/shared/models/appointment.model.ts b/PAMapp/shared/models/appointment.model.ts
index ca94a8f..3d6f5ad 100644
--- a/PAMapp/shared/models/appointment.model.ts
+++ b/PAMapp/shared/models/appointment.model.ts
@@ -1,16 +1,18 @@
 import { ContactStatus } from "./enum/contact-status";
+import { SatisfactionType } from "./enum/satisfaction-type";
 
 export interface AppointmentLog {
-    agentName       : string;
-    agentNo         : string;
-    appointmentId   : number;
-    createdDate     : string;
-    customerId      : number;
-    customerName    : string;
-    id              : number;
-    lastModifiedDate: string;
-    score           : number;
-    status          : 'UNFILLED' | 'FILLED';
+  id              : number;
+  createdDate     : string;
+  lastModifiedDate: string;
+  customerId      : number;
+  agentNo         : string;
+  status          : 'UNFILLED' | 'FILLED';
+  score           : number;
+  appointmentId   : number;
+  customerName    : string;
+  agentName       : string;
+  type            : SatisfactionType;
 }
 
 export interface Appointment {
@@ -38,6 +40,7 @@
   phone                : string;
   requirement          : string;
   satisfactionScore    : number;
+  consultationMethod   : string;
 };
 
 export interface AppointmentClosedInfo {
@@ -95,6 +98,7 @@
   job            : string;
   phone          : string;
   requirement    : string;
+  consultationMethod: string;
 }
 
 export interface EditAppointmentParams {
@@ -108,6 +112,7 @@
   otherRequirement: null;
   phone           : string;
   requirement     : string;
+  consultationMethod: string;
 }
 
 export interface AppointmentRequests {
@@ -121,8 +126,8 @@
   job            : string;
   phone          : string;
   requirement    : string[];
+  consultationMethod : string;
 }
-
 export interface ContactTime {
   selectTimesOptions: string[];
   selectWeekOptions : string[];

--
Gitblit v1.8.0