保誠-保戶業務員媒合平台
Tomas
2022-01-26 66f726b6643e85cd6ec0041d01b31d38b3803c1a
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();