From 99f97b11a334ce482db9aa91fca86dadbaffd716 Mon Sep 17 00:00:00 2001
From: luobisheng <727299681@qq.com>
Date: 星期四, 17 十一月 2022 17:40:43 +0800
Subject: [PATCH] 我的代办修改

---
 src/components/detail/index.vue |   60 ++++++++++++++++++++++++++++++++++--------------------------
 1 files changed, 34 insertions(+), 26 deletions(-)

diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue
index a229646..33cd86a 100644
--- a/src/components/detail/index.vue
+++ b/src/components/detail/index.vue
@@ -5,14 +5,14 @@
                 <div class="data-item__left">
                     <label class="data-title">
                         闂绫诲瀷:
-                    </label>
+                    </label> 
                     <span class="data-detail">杩濊</span>
                 </div>
                 <div class="data-item__right">
                     <label class="data-title">
                         澶х被鍚嶇О:
                     </label>
-                    <span class="data-detail">{{baseCase.category}}</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">xxx</span>
+                    <span class="data-detail">{{baseCase.violations.typeText}}</span>
                 </div>
                 <div class="data-item__right">
                     <label class="data-title">
                         浜嬩欢绛夌骇:
                     </label>
-                    <span class="data-detail">xxx</span>
+                    <span class="data-detail">{{baseCase.violations.gradeText}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -34,31 +34,37 @@
                     <label class="data-title">
                         妗堢敱:
                     </label>
-                    <span class="data-detail">xxx</span>
+                    <span class="data-detail">{{baseCase.violations.actionCause}}</span>
                 </div>
             </div>
             <div class="data-item">
-                <div class="data-item__left">
+                <!-- <div class="data-item__left">
                     <label class="data-title">
                         鎵�灞炲尯鍘�:
                     </label>
                     <span class="data-detail">xxx</span>
+                </div> -->
+                <div class="data-item__left">
+                    <label class="data-title">
+                        鎵�灞炶閬�:
+                    </label>
+                    <span class="data-detail">{{baseCase.streetText}}</span>
                 </div>
                 <div class="data-item__right">
                     <label class="data-title">
                         鎵�灞炵ぞ鍖�:
                     </label>
-                    <span class="data-detail">xxx</span>
+                    <span class="data-detail">{{baseCase.communityText}}</span>
                 </div>
             </div>
-            <div class="data-item">
+            <!-- <div class="data-item">
                 <div class="data-item__left">
                     <label class="data-title">
                         鎵�灞炶閬�:
                     </label>
-                    <span class="data-detail">{{baseCase.streetId}}</span>
+                    <span class="data-detail">{{baseCase.streetText}}</span>
                 </div>
-            </div>
+            </div> -->
             <div class="data-item">
                 <div class="data-item__left">
                     <label class="data-title">
@@ -72,7 +78,7 @@
                     <label class="data-title">
                         鍏宠仈鍟嗛摵鍚嶇О:
                     </label>
-                    <span class="data-detail">xxx</span>
+                    <span class="data-detail">{{baseCase.violations.shopName}}</span>
                 </div>
             </div>
             <div class="data-item">
@@ -80,7 +86,7 @@
                     <label class="data-title">
                         闂鎻忚堪:
                     </label>
-                    <span class="data-detail">xxx</span>
+                    <span class="data-detail">{{baseCase.violations.description}}</span>
                 </div>
             </div>
             <div class="data-user">
@@ -89,13 +95,13 @@
                         <label class="data-title">
                             鍙嶆槧浜�:
                         </label>
-                        <span class="data-detail">{{baseCase.createUser}}</span>
+                        <span class="data-detail">{{baseCase.violations.informant}}</span>
                     </div>
                     <div class="data-item__right">
                         <label class="data-title">
                             鑱旂郴鏂瑰紡:
                         </label>
-                        <span class="data-detail">12345678901</span>
+                        <span class="data-detail">{{baseCase.violations.informantPhoneCode}}</span>
                     </div>
                 </div>
                 <div class="data-item">
@@ -103,7 +109,7 @@
                         <label class="data-title">
                             韬唤璇佸彿:
                         </label>
-                        <span class="data-detail">123456789987654321</span>
+                        <span class="data-detail">{{baseCase.violations.informantIdCard}}</span>
                     </div>
                 </div>
             </div>
@@ -118,10 +124,10 @@
             </div>
             <div class="show-item">
                 <div class="show-wrap">
-                    <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo"></MyProcess>
-                    <MyFilePicture v-else-if="activeIndex === 2" :currentSitVo="currentSitVo" ></MyFilePicture>
-                    <MySovleProblem v-else-if="activeIndex === 3" :problemProVo="problemProVo"></MySovleProblem>
-                    <MyScene v-else></MyScene>
+                    <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess>
+                    <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" :mycode='mycode'></MyFilePicture>
+                    <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :handlePassVo="handlePassVo"></MySovleProblem>
+                    <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene>
                 </div>
             </div>
         </div>
@@ -133,7 +139,7 @@
 import MySovleProblem from '@/components/solveProblem'
 import MyScene from '@/components/scene'
 export default {
-    components: {
+    components: { 
         MyProcess, MyFilePicture, MySovleProblem, MyScene
     },
     data() {
@@ -159,29 +165,31 @@
                     title: '鐜板満鎯呭喌',
                     index: 4,
                 },
-            ],
+            ], 
             baseCase:{},
             handlePassVo:{},
             currentSitVo:{},
-            problemProVo:{},
+            // problemProVo:{},
+            filesPictureVo:{}
             
         }
     },
     created() {
         console.log('created');
-        const {info} = this;
+        const {info} = this; 
         this.baseCase = info.baseCase;
         this.handlePassVo = info.handlePassVo;
         this.currentSitVo = info.currentSitVo;
-        this.problemProVo = info.currentSitVo;
-        console.log(info);
+        // this.problemProVo = info.problemProVo;
+        this.filesPictureVo = info.filesPictureVo;
+        console.log(info);  
     },
     methods: {
         changeComponent(index) {
             this.activeIndex = index;
         },
     },
-    props: ['info']
+    props: ['info','mycode']
 }
 </script>
 <style lang="scss" scoped>

--
Gitblit v1.8.0