<template>
    <div>
        <div class="i-layout-page-header">
            <PageHeader :title="$route.meta.title"
                :content="$route.meta.description"
                hidden-breadcrumb />
        </div>
        <Card :bordered="false"
            dis-hover
            class="ivu-mt">
            <view-table ref="table"
                view-code="Permission"
                @create="$refs.form.open()"
                @edit="({row, index})=>$refs.form.open(row)" />
        </Card>
        <modal-form ref="form"
            view-code="PermissionEdit"
            @on-after-save="$refs.table.loadData()" />
    </div>
</template>
<script>
    import { mixinPage } from '/src/index.js';

    export default {
        name: 'system-permission',
        mixins: [mixinPage],
        components: {},
        data() {
            return {};
        },
        computed: {},
        created() {},
        methods: {}
    };
</script>
