保誠-保戶業務員媒合平台
fixed#134761: [通知小鈴鐺] 滿意度調查若只剩一筆, 評分完後, 此筆滿意度不會消失
修改1個檔案
11 ■■■■ 已變更過的檔案
PAMapp/pages/satisfactionList.vue 11 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/pages/satisfactionList.vue
@@ -6,6 +6,7 @@
        <span class="mdTxt">滿意度調查</span>
        <span class="ml-10 text--prudential_grey smTxt_bold">共 {{mapUnReviewLogList.length}} 筆</span>
      </div>
      <template v-if="mapUnReviewLogList.length">
      <div class="satisfaction-card" v-for="(item, index) in mapUnReviewLogList" :key="index">
        <div class="satisfaction-card-content">
          <UiAvatar :size="80" :agentNo="item.agentNo"></UiAvatar>
@@ -23,6 +24,14 @@
      <div class="text--center mt-30" v-if="mapUnReviewLogList.length">
        <el-button type="primary" :disabled="isBtnDisabled" @click="sent">送出</el-button>
      </div>
      </template>
      <template v-else>
         <div class="satisfaction-card">
          <div class="satisfaction-card-content">
            目前暫無需要您填寫的滿意度調查
          </div>
         </div>
      </template>
    </div>
    <PopUpFrame :isOpen.sync="showConfirmPopup"
@@ -60,14 +69,12 @@
  @Watch('unReviewLogList')
  onUnReviewLogListChange() {
    if (this.unReviewLogList.length) {
      this.mapUnReviewLogList = this.unReviewLogList.map(item => {
        return {
          ...item,
          satisfaction: 0
        }
      })
    }
  }
  ///////////////////////////////////////////////////////