From 90e8215dddc36944c2300a47e8f106791214fe7b Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 26 二月 2024 09:33:32 +0800
Subject: [PATCH] mrshi

---
 company/src/components/enterprise/onlineReporting.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/company/src/components/enterprise/onlineReporting.vue b/company/src/components/enterprise/onlineReporting.vue
index c6ec883..548868d 100644
--- a/company/src/components/enterprise/onlineReporting.vue
+++ b/company/src/components/enterprise/onlineReporting.vue
@@ -290,7 +290,9 @@
                     // 璋冪敤鏂板缓鎺ュ彛
                     this.isWorking = true
                     let obj = JSON.parse(JSON.stringify(this.form))
-                    obj.areaId = obj.areaId.join(',')
+                    if (obj.areaId) {
+                        obj.areaId = obj.areaId.join(',')
+                    }
                     create(obj)
                         .then(() => {
                             this.visible = false
@@ -313,6 +315,7 @@
                     })
             },
             getVal(e) {
+                console.log(e)
                 this.form.insuranceApplyId = e.applyId
                 this.form.solutionId = e.solutionId
                 this.form.solutionName = e.solutionName

--
Gitblit v1.9.3