保誠-保戶業務員媒合平台
Tomas
2023-07-31 6054289ebe70ade6a245f6d40e48a84f9e6e0560
Update: 更新諮詢方式相關 API 使用方式
修改5個檔案
12 ■■■■■ 已變更過的檔案
PAMapp/components/Client/ClientCard.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/index.vue 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/plugins/filters/consult-type.filter.ts 4 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/models/appointment.model.ts 2 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Client/ClientCard.vue
@@ -118,7 +118,7 @@
                <p>性別:<span>{{gender}}</span></p>
                <p>年齡:<span>{{client.age | toAgeLabel }}</span></p>
                <p>職業:<span>{{client.job}}</span></p>
                <p>諮詢方式:<span>{{client.consultationMethod }}</span></p>
                <p>諮詢方式:<span>{{client.consultationMethod | toConsulType }}</span></p>
                <p>需求:<span>{{ client.requirement ? client.requirement.split(',').join('、') : '--' }}</span></p>
                <p v-for="(item, index) in hopeContactTime"
                    :key="index"
PAMapp/components/Consultant/ConsultantCard.vue
@@ -76,7 +76,7 @@
                    <p>性別:{{gender}}</p>
                    <p>年齡:{{appointmentDetail.age | toAgeLabel }}</p>
                    <p>職業:{{appointmentDetail.job}}</p>
                    <p>諮詢方式:{{appointmentDetail.consultationMethod }}</p>
                    <p>諮詢方式:{{appointmentDetail.consultationMethod | toConsulType }}</p>
                    <p>需求:{{appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('、') : '--'}}</p>
                    <p
                        v-for="(item, index) in hopeContactTime"
PAMapp/pages/index.vue
@@ -59,7 +59,7 @@
                  <p>性別:{{gender}}</p>
                  <p>年齡:{{appointmentDetail.age | toAgeLabel }}</p>
                  <p>職業:{{appointmentDetail.job}}</p>
                  <p>諮詢方式:{{appointmentDetail.consultationMethod }}</p>
                  <p>諮詢方式:{{appointmentDetail.consultationMethod | toConsulType }}</p>
                  <p>需求:{{ appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('、') : '--'}}</p>
                  <p
                      v-for="(item, index) in hopeContactTime"
PAMapp/plugins/filters/consult-type.filter.ts
@@ -7,8 +7,8 @@
  };
  const consultantTypeLabel = {
    'ONLINE': '線上',
    'OFFLINE': '線下',
    'online': '線上',
    'offline': '線下',
  };
  return  consultantTypeLabel[value];
PAMapp/shared/models/appointment.model.ts
@@ -98,6 +98,7 @@
  job            : string;
  phone          : string;
  requirement    : string;
  consultationMethod: string;
}
export interface EditAppointmentParams {
@@ -111,6 +112,7 @@
  otherRequirement: null;
  phone           : string;
  requirement     : string;
  consultationMethod: string;
}
export interface AppointmentRequests {