| | |
| | | <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> |
| | | <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> |
| | |
| | | import MySovleProblem from '@/components/solveProblem' |
| | | import MyScene from '@/components/scene' |
| | | export default { |
| | | components: { |
| | | components: { |
| | | MyProcess, MyFilePicture, MySovleProblem, MyScene |
| | | }, |
| | | data() { |
| | |
| | | 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) { |