保誠-保戶業務員媒合平台
Fixed#135499 修正 [ 滿意度評分 ] 我的顧問清單 : 預約顧問後,(預約單未結案狀態)。喬妹顧問卡片會顯示「給予滿意度評分

& TODO#135497 [ 客戶端 ] 填寫滿意度後送出,產生 404 錯誤
修改1個檔案
20 ■■■■■ 已變更過的檔案
PAMapp/components/Consultant/ConsultantCard.vue 20 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue
@@ -12,12 +12,15 @@
                      class="icon-star pam-icon icon--yellow satisfaction"
                       style="margin-top: 0"></i>
                    <template v-if="isAppointment">
                      <span v-if="agentInfo.appointmentScore">
                          {{ agentInfo.appointmentScore }}
                      </span>
                      <div class="unfilled text--center "
                          style="display:flex"
                          v-else>未填<br />滿意度</div>
                      <template v-if="agentInfo.appointmentStatus === 'close'
                                    || agentInfo.appointmentStatus === 'done'">
                        <span v-if="agentInfo.appointmentScore">
                            {{ agentInfo.appointmentScore }}
                        </span>
                        <div class="unfilled text--center "
                            style="display:flex"
                            v-else>未填<br />滿意度</div>
                      </template>
                    </template>
                    <template v-else>
                      <span v-if="agentInfo.avgScore">{{ agentInfo.avgScore }}</span>
@@ -29,6 +32,7 @@
            </el-col>
            <el-col :xs="10" :sm="15">
                <div class="smTxt_bold name">{{agentInfo.name}}</div>
                {{agentInfo.appointmentStatus}}
                <div class="professionals">
                    <span
                        class="professionalsTxt"
@@ -42,7 +46,7 @@
                    @click="isRemoveAgentPopup = true"
                >移除</div>
                <div
                    v-if="notScoreAppointmentYet && !(agentInfo.contactStatus === 'picked' || agentInfo.contactStatus === 'reserved')"
                    v-if="notScoreAppointmentYet && (agentInfo.appointmentStatus === 'closed' || agentInfo.appointmentStatus === 'done')"
                    class="text--primary text--underline cursor--pointer xsTxt text--bold"
                    @click="reviewsBtn = true">給予滿意度評分</div>
            </el-col>
@@ -88,7 +92,7 @@
                    </div>
                </div>
                <div v-if="notScoreAppointmentYet && (agentInfo.contactStatus !== 'picked' || agentInfo.contactStatus !== 'reserved') " class="reserved-btn">
                <div v-if="notScoreAppointmentYet && (agentInfo.appointmentStatus === 'closed' || agentInfo.appointmentStatus === 'done')" class="reserved-btn">
                    <el-button type="primary"
                        @click.native="reviewsBtn = true">給予滿意度評分</el-button>
                </div>