From b30644ddd239281dbd71ae17c7b3636308a74113 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 18 Nov 2024 14:39:49 +0800 Subject: [PATCH] 1 --- src/views/reviewers/components/Setting.vue | 3 +++ 1 file changed, 3 insertions(+) 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,