From 387e8b0743240de72425e5b5c5709d629ace9aa4 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期二, 11 十月 2022 20:17:43 +0800 Subject: [PATCH] 新增消息界面、处理遗留问题 --- src/components/detail/index.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue index a229646..9394f71 100644 --- a/src/components/detail/index.vue +++ b/src/components/detail/index.vue @@ -20,7 +20,7 @@ <label class="data-title"> 灏忕被鍚嶇О: </label> - <span class="data-detail">xxx</span> + <!-- <span class="data-detail">{{baseCase.violations}}</span> --> </div> <div class="data-item__right"> <label class="data-title"> @@ -118,10 +118,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> + <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></MyScene> + <MyScene v-else :currentSitVo="currentSitVo"></MyScene> </div> </div> </div> @@ -133,7 +133,7 @@ import MySovleProblem from '@/components/solveProblem' import MyScene from '@/components/scene' export default { - components: { + components: { MyProcess, MyFilePicture, MySovleProblem, MyScene }, data() { @@ -159,22 +159,24 @@ title: '鐜板満鎯呭喌', index: 4, }, - ], + ], baseCase:{}, handlePassVo:{}, currentSitVo:{}, 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) { -- Gitblit v1.8.0