保誠-保戶業務員媒合平台
wayne
2022-01-24 d20d1ac8ed1efb5cc9c8453b843609a4b9a4babc
Merge remote-tracking branch 'origin/Phase3' into Phase3

刪除1個檔案
修改5個檔案
104 ■■■■ 已變更過的檔案
PAMapp/assets/icon/style.css 4 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/BackActionBar.vue 3 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Client/ClientCard.vue 29 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Interview/interviewNotification.vue 58 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/myAppointmentList.vue 1 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
pamapi/src/doc/滿意度/客戶填寫滿意度.txt 9 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/assets/icon/style.css
@@ -76,8 +76,8 @@
.icon-circle-right:before {
  content: "\e90b";
}
.icon-down:before, .el-icon-arrow-up:before {
  content: "\e910";
.icon-close:before {
  content: "\e90c";
}
.icon-comment:before {
  content: "\e90d";
PAMapp/components/BackActionBar.vue
@@ -74,9 +74,6 @@
        case 'accountSetting':
          featureLabel = '個人帳號設定';
          break;
        case 'appointmentAgenda':
          featureLabel = '即將約訪排程';
          break;
        case 'consultantAccountSetting':
          featureLabel = '查看帳號資訊';
          break;
PAMapp/components/Client/ClientCard.vue
@@ -213,6 +213,9 @@
    @appointmentStore.Action
    getAppointmentDetail!: (appointmentId: number) => Promise<Appointment>;
    @appointmentStore.Action
    updateAppointmentDetail!: (id: number) => Appointment;
    @appointmentStore.Getter
    appointmentProgress!: ContactStatus;
@@ -258,7 +261,16 @@
    viewAppointmentDetail(): void {
      this.getAppointmentDetail(this.client.id).then((_) => {
        this.readAppointment();
        // setTimeout(() => {
        //   const unread = !this.client.consultantReadTime;
        //   if (unread) {
        //     this.readAppointment();
        //   }
        // }, 0);
        const unread = !this.client.consultantReadTime;
        if (unread) {
          this.readAppointment();
        }
        this.$router.push(`/appointment/${this.client.id}`);
      });
    }
@@ -277,7 +289,6 @@
        reviewsService.sendSatisfactionToClient(this.client.id).then(res => {
            this.isShowInviteReviewDialog = true ;
        })
    }
    openDetail() {
@@ -302,14 +313,12 @@
    }
    private readAppointment(): void {
        const unread = !this.client.consultantReadTime;
        if (unread) {
            appointmentService.recordRead(this.client.id).then((_) => {
                const updatedClient = {...this.client};
                updatedClient.consultantReadTime = new Date().toString();
                this.updateMyAppointmentList(updatedClient);
            });
        };
      appointmentService.recordRead(this.client.id).then((_) => {
          const updatedClient = {...this.client};
          updatedClient.consultantReadTime = new Date().toString();
          this.updateMyAppointmentList(updatedClient);
          this.updateAppointmentDetail(this.client.id);
      });
    }
    private clearAppointmentIdFromMsg() {
PAMapp/components/Interview/interviewNotification.vue
Àɮפw§R°£
PAMapp/pages/myAppointmentList.vue
@@ -1,7 +1,6 @@
<template>
    <div>
      <div class="pam-myAppointment-banner"></div>
    <InterviewNotification></InterviewNotification>
        <div class="pam-container">
            <div class="pam-cus-tabs mb-10">
                <div
pamapi/src/doc/º¡·N«×/«È¤á¶ñ¼gº¡·N«×.txt
@@ -7,10 +7,10 @@
request body:
[{
{
    "appointmentId": 67,
    "score":4
}]
}
@@ -28,6 +28,10 @@
填寫多筆滿意度:
http post :
http://localhost:8080/api/satisfaction/score/all
request body:
[{
@@ -39,7 +43,6 @@
response body:
[ADD]
[{
    "id": 3,