From e5875000e60d4976f159f287ae3773f1d11960b3 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 22 十二月 2023 17:36:56 +0800
Subject: [PATCH] 调整FYForm表单逻辑

---
 src/views/fysp/evaluation/components/precheck/CompCheckArea.vue |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue b/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue
index 2d6ac12..171acd3 100644
--- a/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue
+++ b/src/views/fysp/evaluation/components/precheck/CompCheckArea.vue
@@ -6,7 +6,6 @@
     </template>
     <FYForm
       ref="formRef"
-      :form-info="evaConditon"
       :rules="evaConditionRules"
       :showButtons="false"
       @submit="nextStep"
@@ -63,8 +62,6 @@
   data() {
     return {
       loading: false,
-      // 璇勪及浠诲姟鑼冨洿
-      evaConditon: {},
       evaConditionRules: {
         time: [
           {
@@ -78,8 +75,8 @@
   },
   methods: {
     setOptions(param) {
-      this.evaConditon._locations = param.locations;
-      this.evaConditon._scenetype = param.scenetype;
+      this.$refs.formRef.formObj._locations = param.locations;
+      this.$refs.formRef.formObj._scenetype = param.scenetype;
     },
     submit() {
       this.$refs.formRef.onSubmit(false);

--
Gitblit v1.9.3