<template>
    <el-dialog  title="查看表单" 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">
        <table-form-render is-sign-form :tableview-id="formatObj.eventSetData['tableViewId']"
                           v-bind="paramObj" form-operate="view">
        </table-form-render>
        <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 TableFormRender from "../../../../../formRender/tableFormRender";
    import ColumnEventParentRender from "./columnEventParentRender";
    export default {
        name: "table-view-render",
        extends: ColumnEventParentRender,
        components: {TableFormRender},
        data(){
            return {
                dialogVisible:false,
            }
        },
        methods:{
            runEvent(){
                this.dialogVisible = true;
            }
        }
    }
</script>

<style scoped>

</style>