<template>
    <el-dialog  :title="dialogTitleText" class="pl-upload-temp-dialog" :visible.sync="dialogVisible"
                append-to-body :close-on-press-escape="false" :width="formatObj.dialogWidth + formatObj.dialogWidthUnit"
                :height="formatObj.dialogHeight + formatObj.dialogHeightUnit" :top="formatObj.topSpace + formatObj.topSpaceUnit"
                :close-on-click-modal="false" v-if="dialogVisible">
        <list-view-preview v-bind="paramObj" isPreview
                           :list-view-id="formatObj.eventSetData['listViewId']"
                           :form-id="formatObj.eventSetData['formId']"
                           :isViewTable="'1'"
                           :isNeedPage="'1'">
        </list-view-preview>
        <div slot="footer" class="dialog-footer">
            <el-button @click="dialogVisible = false" size="small" icon="el-icon-error">关 闭</el-button>
        </div>
    </el-dialog>
</template>

<script>
    import ColumnEventParentRender from "./columnEventParentRender";
    import ListViewPreview from "../../../../listViewPreview";
    export default {
        name: "list-view-render",
        extends: ColumnEventParentRender,
        components: {ListViewPreview},
        data(){
            return {
                dialogVisible:false,
              // dialogTitleText: "查看"
            }
        },
        methods:{
            runEvent(){
                this.dialogVisible = true;
            }
        }
    }
</script>

<style scoped>

</style>