“dzb”
2022-09-27 7991973cf4c25527e227b80192e0bd087cfcee58
src/views/operate/lawEnforcement/index.vue
@@ -5,16 +5,17 @@
        <!-- 组件区 -->
        <div class="dialog">
            <el-dialog v-if="visible" :visible.async="visible" title="问题登记" width="60%" :before-close="handleClose">
                <checkIn></checkIn>
                <MyView  :viewData=showData   />
            </el-dialog>
        </div>
    </div>
</template>
<script>
import MyTable from '@/components/Table'
import MyView from './components/dataView'
export default {
    components: {
        MyTable,
        MyTable,MyView
    },
    data() {
        return {
@@ -72,7 +73,8 @@
                    },
                ]
            },
            visible:false
            visible:false,
            showData:{},
        }
    },
    methods:{
@@ -88,6 +90,8 @@
        // 获取操作结果
        changeDialog({index,mykey}){
            console.log(index,mykey);
            this.showData = this.list[index];
            this.visible = true;
        }
    }
}