diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue index e7e7c24..2cd4508 100644 --- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue @@ -108,14 +108,17 @@ export default { if (!this.fillInspection) this.modelValue = value; }, }, - fillInspection(value) { - if (value) { - this.isEdit = true; - this.modelValue = null; - } else { - this.isEdit = false; - this.modelValue = this.state; - } + fillInspection: { + immediate: true, + handler(value) { + if (value) { + this.isEdit = true; + this.modelValue = null; + } else { + this.isEdit = false; + this.modelValue = this.state; + } + }, }, }, }; diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MainFactorsForm.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MainFactorsForm.vue index d8d4385..107e643 100644 --- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MainFactorsForm.vue +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MainFactorsForm.vue @@ -1,5 +1,11 @@