From 78563aa7a2a3304e872fe35094e6925a64f5b4b2 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期二, 25 十月 2022 17:34:17 +0800 Subject: [PATCH] 案件图片展示 --- src/components/detail/index.vue | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue index 9f8ba6e..851e74d 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"> @@ -119,9 +119,9 @@ <div class="show-item"> <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> + <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> @@ -163,7 +163,7 @@ baseCase:{}, handlePassVo:{}, currentSitVo:{}, - problemProVo:{}, + // problemProVo:{}, filesPictureVo:{} } @@ -174,16 +174,16 @@ 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) { this.activeIndex = index; }, }, - props: ['info'] + props: ['info','mycode'] } </script> <style lang="scss" scoped> -- Gitblit v1.8.0