diff --git a/src/views/reviewers/components/Setting.vue b/src/views/reviewers/components/Setting.vue index bd8234c2..1dbd6259 100644 --- a/src/views/reviewers/components/Setting.vue +++ b/src/views/reviewers/components/Setting.vue @@ -267,6 +267,8 @@ export default { reviewerId() { if (this.reviewerId) { this.doctorId = this.reviewerId + this.initForm() + this.getIsVacation() } }, }, @@ -277,6 +279,7 @@ export default { methods: { // 获取是否休假 async getIsVacation() { + if (!this.doctorId) return false try { let data = { DoctorId: this.doctorId,