mg
2022-11-01 1445c7e1f76c4628f4619cf67150a63d6f8f5e90
src/views/operate/lawEnforcement/index.vue
@@ -1,12 +1,8 @@
<template>
    <div class="law-enforcement">
        <!-- table表格展示 -->
        <MyTable
        :tableData="list"
        :tableOption="tableOption"
        :totalNum="totalNum"
        @getCurrentPage="getCurrentPage"
        @openDialog="changeDialog">
        <MyTable :tableData="list" :tableOption="tableOption" :totalNum="totalNum" @getCurrentPage="getCurrentPage"
            @openDialog="changeDialog">
            <template #operation="{info}">
                <div class="btn">
                    <!-- 操作区域 -->
@@ -87,11 +83,11 @@
                ]
            },
            visible: false,
            totalNum:'',
            totalNum: '',
            showData: {},
        }
    },
    created(){
    created() {
        this.totalNum = this.list.length;
    },
    methods: {
@@ -115,7 +111,7 @@
            console.log(data);
        },
        // 获取当前页数据
        getCurrentPage(current){
        getCurrentPage(current) {
            console.log(current);
        }
    }