From 5b2dd794ec680d47e907ff43a264a7f82c30a130 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 18 十月 2022 16:23:55 +0800
Subject: [PATCH] 部门编辑优化

---
 src/components/detail/index.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue
index 9f8ba6e..e5a9857 100644
--- a/src/components/detail/index.vue
+++ b/src/components/detail/index.vue
@@ -12,7 +12,7 @@
                     <label class="data-title">
                         澶х被鍚嶇О:
                     </label>
-                    <span class="data-detail">{{baseCase.violations.categoryId}}</span>
+                    <span class="data-detail">{{baseCase.violations.categoryText}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -20,13 +20,13 @@
                     <label class="data-title">
                         灏忕被鍚嶇О:
                     </label>
-                    <span class="data-detail">{{baseCase.violations.typeId}}</span>
+                    <span class="data-detail">{{baseCase.violations.typeText}}</span>
                 </div>
                 <div class="data-item__right">
                     <label class="data-title">
                         浜嬩欢绛夌骇:
                     </label>
-                    <span class="data-detail">{{baseCase.violations.gradeId}}</span>
+                    <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -48,7 +48,7 @@
                     <label class="data-title">
                         鎵�灞炵ぞ鍖�:
                     </label>
-                    <span class="data-detail">{{baseCase.communityId}}</span>
+                    <span class="data-detail">{{baseCase.communityText}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -56,7 +56,7 @@
                     <label class="data-title">
                         鎵�灞炶閬�:
                     </label>
-                    <span class="data-detail">{{baseCase.streetId}}</span>
+                    <span class="data-detail">{{baseCase.streetText}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -120,8 +120,8 @@
                 <div class="show-wrap">
                     <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess>
                     <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture>
-                    <MySovleProblem v-else-if="activeIndex === 3" :problemProVo="problemProVo"></MySovleProblem>
-                    <MyScene v-else :currentSitVo="currentSitVo"></MyScene>
+                    <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :handlePassVo="handlePassVo"></MySovleProblem>
+                    <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene>
                 </div>
             </div>
         </div>
@@ -163,7 +163,7 @@
             baseCase:{},
             handlePassVo:{},
             currentSitVo:{},
-            problemProVo:{},
+            // problemProVo:{},
             filesPictureVo:{}
             
         }
@@ -174,9 +174,9 @@
         this.baseCase = info.baseCase;
         this.handlePassVo = info.handlePassVo;
         this.currentSitVo = info.currentSitVo;
-        this.problemProVo = info.problemProVo;
+        // this.problemProVo = info.problemProVo;
         this.filesPictureVo = info.filesPictureVo;
-        console.log(info); 
+        console.log(info);  
     },
     methods: {
         changeComponent(index) {

--
Gitblit v1.8.0