保誠-保戶業務員媒合平台
Tomas
2022-03-09 e02d6534d2dba4b8adcbb80e37cc77bf8bddd26c
PAMapp/shared/services/appointment.service.ts
@@ -79,6 +79,17 @@
  async deleteInterviewRecord(interviewRecordId) {
    return http.delete(`/interview_record/${interviewRecordId}`);
  }
  // 客戶取得最新預約的未處理預約單
  async getNotContactAppointment(): Promise<Appointment> {
    return http.get(`/appointment/customer/expiring/newest`).then((res) => res.data);
  }
  // 顧問取得未處理預約單數量通知
  async getPendingAppointmentSum(): Promise<number> {
    return http.get(`/appointment/consultant/pending/sum`).then((res) => res.data)
  }
}
export default new AppointmentService();