<template>
    <div id="dataPermissionImport">
        <Button type="fcdefault" @click="dataPermissionImport" style="height: 28px;line-height: 3px;">导入</Button>
        <dataPermissionImportModal :visible='dataPermissionImportvisible' @closeActionDialog = 'closeActionDialog' :pageMsgId='pageMsgId'></dataPermissionImportModal>
    </div>
</template>

<script>
    import dataPermissionImportModal from '../modal/dataPermissionImportModal.vue'; // 数据权限导入弹框
    const R3 = window.R3;

    export default {
        data () {
            return {
                pageMsgId: '',
                dataPermissionImportvisible: false,
            }
        },
        components: {
            dataPermissionImportModal
        },
        created(){
            this.pageMsgId = window.vm.$route.params.customizedModuleId;
        },
        mounted() {},
        methods: {
            // 数据权限导入
            dataPermissionImport() {
                this.dataPermissionImportvisible = true;
            },
            // 数据权限导入弹框关闭
            closeActionDialog() {
                this.dataPermissionImportvisible = false;
            },
        }
    }
</script>

<style lang="less" scoped>
</style>