“dzb”
2022-10-21 c46189c4f6749602c71eb7cb5bab89823fe9b1e1
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) {