From 61f9745da5195ee188ea0a529e5f2113e6e930cd Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 15 十二月 2022 10:09:23 +0800
Subject: [PATCH] 2022-12-14 肖辉 违规检索--- 导出

---
 src/components/scene/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/scene/index.vue b/src/components/scene/index.vue
index 303d81b..d29b5cc 100644
--- a/src/components/scene/index.vue
+++ b/src/components/scene/index.vue
@@ -152,7 +152,7 @@
         if (invesList) {
             if (invesList) {
                 this.investigation = invesList;
-                this.investigation.pic = invesList.pic.split(",");
+                this.investigation.pic = invesList.pic?.split(",");
                 this.partyInfo = invesList.partyInfo;
             }
         }
@@ -161,10 +161,10 @@
             this.arrivalSituation.situationPic = mylist.situationPic.split(",")
         }
         this.mybaseCase = baseCase;
-        if (baseCase.violations == null) {
-            this.type = baseCase.illegalBuilding.categoryText
+        if (baseCase.violationsVO) {
+          this.type = baseCase.violationsVO.typeText;
         } else {
-            this.type = baseCase.violations.typeText;
+          this.type = baseCase.illegalBuilding.categoryText;
         }
     },
     methods: {

--
Gitblit v1.8.0