保誠-保戶業務員媒合平台
Mila
2021-12-14 25fc3b515ecb3b3ae4f0bdfca21811dd0e68c7e6
update: TODO#131539 增加成功取消預約popup
修改1個檔案
11 ■■■■■ 已變更過的檔案
PAMapp/components/Consultant/ConsultantCard.vue 11 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Consultant/ConsultantCard.vue
@@ -119,6 +119,13 @@
                <el-button @click="cancel" type="primary">確定</el-button>
            </div>
        </PopUpFrame>
        <PopUpFrame :isOpen.sync="isConfirmPopup">
            <div class="text--center mdTxt">已成功取消此筆預約</div>
            <div class="text--center mt-30">
                <el-button @click="isConfirmPopup = false" type="primary">確定</el-button>
            </div>
        </PopUpFrame>
    </div>
</template>
@@ -163,6 +170,7 @@
    inputScore = 0;
    isCancelPopup = false;
    hideReviews = hideReviews;
    isConfirmPopup = false;
    get latestContactedAppointment(): Appointment | null {
        if (!(this.agentInfo && this.agentInfo.appointments && this.agentInfo.appointments.length)) return null;
@@ -304,6 +312,9 @@
            this.storeConsultantList();
            this.isVisibleDialog = false;
            this.isCancelPopup = false;
            setTimeout(() => {
                this.isConfirmPopup = true;
            }, 300);
        });
    }