From 02ce22be65df8b717d5f1614e5d7dbfcdf1ce1b9 Mon Sep 17 00:00:00 2001 From: Oliver <1070107765@qq.com> Date: 星期三, 14 十二月 2022 09:29:51 +0800 Subject: [PATCH] 预警研判 操作 --- 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