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

修改11個檔案
67 ■■■■ 已變更過的檔案
PAMapp/components/Client/ClientCard.vue 5 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue 25 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantSwiper.vue 3 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Interview/InterviewAdd.vue 7 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/QuickFilter/QuickFilterConsultantList.vue 1 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/agentInfo/edit/_agentNo.vue 1 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/quickFilter/index.vue 3 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/recommendConsultant/index.vue 5 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/recommendConsultant/result.vue 1 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/const/hide-reviews.ts 2 ●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/const/quickFilter-questionList.ts 14 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Client/ClientCard.vue
@@ -48,13 +48,12 @@
                ></AppointmentProgress>
            </div>
        </div>
            <!-- <el-col :xs="5" :sm="3" align="middle">
            <el-col :xs="5" :sm="3" align="middle">
                <el-avatar
                    :size="50"
                ></el-avatar>
                <div class="satisfaction" v-if="!hideReviews">
                    <template v-if="client.satisfactionScore">
                        TODO:隱藏滿意度
                        <i class="icon-star pam-icon icon--yellow satisfaction"></i>
                        <span>{{client.satisfactionScore}}</span>
                    </template>
@@ -62,7 +61,7 @@
                        <div class="unfilled">未填滿意度</div>
                    </template>
                </div>
            </el-col> -->
            </el-col>
            <div class="flex-column contactInfo" :xs="4" :sm="6">
PAMapp/components/Consultant/ConsultantCard.vue
@@ -7,16 +7,21 @@
                    :agentNo="agentInfo.agentNo"
                    @click.native="showAgentDetail(agentInfo.agentNo)"
                ></UiAvatar>
                <!-- TODO:隱藏滿意度 -->
                <div v-if="!hideReviews">
                    <i class="icon-star pam-icon icon--yellow satisfaction"  v-if="notScoreAppointmentYet"></i>
                    <span v-if="notScoreAppointmentYet">
                        {{ agentInfo.satisfactionScore }}
                    </span>
                    <div class="unfilled text--center "
                        style="display:flex"
                        v-if="notScoreAppointmentYet">未填<br />滿意度</div>
                    <span v-if="agentInfo.contactStatus !== 'contacted'">{{ agentInfo.avgScore }}</span>
                    <i class="icon-star pam-icon icon--yellow satisfaction"></i>
                      <template v-if="isAppointment">
                      <span v-if="notScoreAppointmentYet">
                          {{ agentInfo.satisfactionScore }}
                      </span>
                      <div class="unfilled text--center "
                          style="display:flex"
                          v-if="notScoreAppointmentYet">未填<br />滿意度</div>
                    </template>
                    <template v-else>
                      <span v-if="agentInfo.avgScore">{{ agentInfo.avgScore }}</span>
                      <span v-else>尚無<br />滿意度</span>
                    </template>
                </div>
            </el-col>
            <el-col :xs="10" :sm="15">
@@ -45,7 +50,7 @@
                    :class="actionBtnStyle"
                >{{ actionBtnLabel }}</el-button>
                <div class="updateTime mt-10">
                    {{ agentInfo.appointmentLastModifiedDate | formatDate }}
                    {{ (isAppointment ? agentInfo.appointmentLastModifiedDate : agentInfo.updateTime)  | formatDate }}
                </div>
            </el-col>
        </el-row>
PAMapp/components/Consultant/ConsultantSwiper.vue
@@ -17,8 +17,7 @@
              >
              </UiAvatar>
              <div class="name">{{agentInfo.name}}</div>
              <div v-if="!hideReviews">
                <!-- TODO:隱藏滿意度 -->
              <div v-if="!hideReviews" style="display: flex; align-items: center; justify-content: center; margin-top: 4px">
                <i class="icon-star pam-icon icon--yellow"></i>
                <span class="satisfaction">{{agentInfo.avgScore}}</span>
              </div>
PAMapp/components/Interview/InterviewAdd.vue
@@ -79,7 +79,7 @@
        @closePopUp="closePopup">
        <div class="text--center mdTxt">{{confirmTxt}}!</div>
        <div class="text--center mdTxt">立即發送約訪通知?</div>
        <div class="text--center mt-30" style="display:flex">
        <div class="text--center mt-30 confirm-btn">
            <el-button @click="closePopup">先不發送</el-button>
            <el-button @click="showInterviewMsgPopup = true" type="primary">傳送約訪通知</el-button>
        </div>
@@ -262,5 +262,8 @@
        z-index: 5;
      }
    }
.confirm-btn{
  display: flex;
  justify-content: center;
}
</style>
PAMapp/components/QuickFilter/QuickFilterConsultantList.vue
@@ -32,7 +32,6 @@
                        <div class="mb-10">{{item.seniority}}</div>
                    </el-col>
                    <el-col :span="12" v-if="!hideReviews">
                        <!-- TODO:隱藏滿意度 -->
                        <div class="smTxt_bold mb-10 text--prudential_grey">客戶滿意度</div>
                        <div>
                            <i class="icon-star pam-icon icon--yellow "></i>
PAMapp/pages/agentInfo/edit/_agentNo.vue
@@ -12,7 +12,6 @@
        class="pt-10"
        justify="center"
        align="middle" v-if="!hideReviews">
        <!-- TODO:隱藏滿意度 -->
          <i class="pam-icon icon--primary icon-star"></i>
          <h3 class="mdTxt">{{ agentInfo.avgScore }}</h3>
      </el-row>
PAMapp/pages/quickFilter/index.vue
@@ -22,8 +22,7 @@
              {{item.value | formatSeniorityTitle}}
              <span class="smTxt">{{item.value | formatSenioritySubTitle}}</span>
            </span>
            <!-- TODO:隱藏滿意度 -->
            <!-- <span v-else-if="item.option === 'avgScore'">{{item.value + '星以上滿意度'}}</span> -->
            <span v-else-if="item.option === 'avgScore' && !hideReviews">{{item.value + '星以上滿意度'}}</span>
            <span v-else>{{item.value}}</span>
          </UiTags>
        </template>
PAMapp/pages/recommendConsultant/index.vue
@@ -35,12 +35,11 @@
      <SingleSelectBtn :singleSelected.sync="strictQueryDto.seniority"
        :options="seniorityOptions" />
    </div>
    <!-- <div class="pam-paragraph">
      TODO:隱藏滿意度
    <div class="pam-paragraph" v-if="!hideReviews">
      <div class="pb-10 mdTxt">顧問滿意度</div>
      <el-rate class="pam-consultant-rate" v-model="strictQueryDto.avgScore">
      </el-rate>
    </div> -->
    </div>
    <div class="pam-paragraph">
      <div class="rec-popular">
        <div class="pb-10 mdTxt">熱門檢索</div>
PAMapp/pages/recommendConsultant/result.vue
@@ -37,7 +37,6 @@
                            {{ info.seniority }}
                            </div>
                        </el-col>
                        <!-- TODO:隱藏滿意度 -->
                        <el-col :span="12" v-if="!hideReviews">
                            <div class="field__label">
                            客戶滿意度
PAMapp/shared/const/hide-reviews.ts
@@ -1 +1 @@
export const hideReviews = true;
export const hideReviews = false;
PAMapp/shared/const/quickFilter-questionList.ts
@@ -12,12 +12,12 @@
        ],
        type: 'radio'
    },
    // { TODO:隱藏滿意度
    //     name: 'avgScore',
    //     title: '顧問滿意度',
    //     detail: [],
    //     type: ''
    // },
    {
        name: 'avgScore',
        title: '顧問滿意度',
        detail: [],
        type: ''
    },
    {
        name: 'communicationStyles',
        title: '溝通風格',
@@ -45,4 +45,4 @@
    //     detail: [],
    //     type: 'radio'
    // }
];
];