“dzb”
2022-10-17 68270bc858a465bc482820586a7ccb534b6c3565
src/views/operate/management/myIndex/components/examine/index.vue
@@ -86,7 +86,7 @@
                <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" :baseCase="baseCase" :problemProVo="problemProVo"></MySovleProblem>
                    <MySovleProblem v-else-if="activeIndex === 3" :handlePassVo="handlePassVo" :baseCase="baseCase"></MySovleProblem>
                    <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene>
                </div>
            </div>
@@ -142,12 +142,11 @@
            handlePassVo: {},
            currentSitVo: {},
            problemProVo: {},
            filesPictureVo: {}
            filesPictureVo: {},
        }
    },
    created() {
        const { info } = this;
        const { info} = this;
        this.baseCase = info.baseCase;
        this.handlePassVo = info.handlePassVo;
        this.currentSitVo = info.currentSitVo;
@@ -159,8 +158,7 @@
            this.activeIndex = index;
        },
        // 提交审核意见
        handleSubmit(mystatus) {
            // this.getUserLoginInfo();
        handleSubmit(index) {
            const { baseCase } = this;
            this.$refs.viewForm.validate((valid) => {
                if (valid) {
@@ -170,8 +168,7 @@
                        data: {
                            baseCaseId: baseCase.id,
                            checkOpinion: baseCase.auditOpinion,
                            currentUser: baseCase.createUser,
                            status: mystatus,
                            result:index === 0 ? '驳回':'通过',
                        }
                    })
                        .then(res => {
@@ -179,7 +176,7 @@
                            if (res.code === 200) {
                                this.$message({
                                    type: 'success',
                                    message: mystatus === 0 ? '驳回成功' : '审核通过'
                                    message: index === 0 ? '驳回成功' : '审核通过'
                                })
                                this.$emit('closeDialog', { flag: false });
                            }
@@ -205,7 +202,7 @@
                .then(res => {
                    console.log(res);
                })
        }
        },
    },
    props: ['info', 'closeDialog']
}