Merge branch 'Phase3' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into Phase3
| | |
| | | |
| | | @Watch('$route', {immediate: true}) |
| | | onRouterChange() { |
| | | this.getNotificationAndReviewLog(); |
| | | } |
| | | |
| | | private getNotificationAndReviewLog() { |
| | | if (this.isUserLogin) { |
| | | this.storeMyPersonalNotification(); |
| | | this.storeMyAppointmentReviewLog(); |
| | | } |
| | | |
| | | if (this.isAdminLogin) { |
| | | this.storeMyPersonalNotification(); |
| | | } |
| | | if (this.currentRole) { |
| | | this.storeMyPersonalNotification(); |
| | | this.storeMyAppointmentReviewLog(); |
| | | } |
| | | } |
| | | |
| | | ////////////////////////////////////////////////////////////////////// |