“dzb”
2022-10-08 ce87e7746d6399c5a38a7f4fe10447d911b06051
src/views/operate/management/myIndex/index.vue
@@ -56,7 +56,7 @@
                            <div class="btn">
                                <span @click="handleExamine(scope.row)">审核</span>
                                <span class="line">|</span>
                                <span>结案</span>
                                <span @click="handleClosure(scope.row)">结案</span>
                            </div>
                        </template>
                    </el-table-column>
@@ -65,6 +65,11 @@
                <el-dialog :visible.sync="dialogExamine" width="80%" title="基础信息(人工)" v-if="dialogExamine"
                    :before-close="handleClose">
                    <MyExamine :info="info" @closeDialog="closeDialog"></MyExamine>
                </el-dialog>
                <!-- 结案页面 -->
                <el-dialog :visible.sync="dialogClosure" width="80%" title="基础信息(人工)" v-if="dialogClosure"
                    :before-close="handleClose">
                    <MyClosure :info="info" @closeDialog="closeDialog"></MyClosure>
                </el-dialog>
                <!-- tools -->
                <div class="tools">
@@ -96,14 +101,16 @@
</template>
<script>
import MyExamine from './components/examine'
import MyClosure from './components/closure'
export default {
    components: {
        MyExamine
        MyExamine,MyClosure
    },
    data() {
        return {
            tableData: [],
            dialogExamine:false,
            dialogClosure:false,
            info: {},
            totalNum: null,
            pageSize: 10,
@@ -282,6 +289,7 @@
                .catch(_ => { });
        },
        async JumpView(data) {
            console.log(data);
            await this.getEventInfo(data.code);
        },
        // 获取案件信息
@@ -296,13 +304,30 @@
                    this.dialogExamine = true;
                })
        },
        // 获取案件信息
        getEventInfo2(code) {
            this.$axios({
                method: 'get',
                url: `sccg/base_case/baseCaseDetail/${code}`
            })
                .then(res => {
                    console.log(res);
                    this.info = res.data;
                    this.dialogClosure = true;
                })
        },
        // 去审核
        handleExamine({code}) {
            this.getEventInfo(code);
        },
        // 去结案
        handleClosure({code}){
            this.getEventInfo2(code);
        },
        // 关闭dialog
        closeDialog({flag}){
            this.dialogExamine = flag;
            this.dialogClosure = flag;
        }
    }
}