<template>
    <Modal
        :mask-closable="false"
        :title="title"
        :value="true"
        :width="width"
        :z-index="1000"
    >
        <Grid
            :gridGuid="guid"
            :canPagerSelect="true"
            :receipt_guid="rowData.guid"
            style="height: 500px"
            :height="newHeight"
            :rowData="rowData"
        />
    </Modal>
</template>
<script>
export default {
    name: "CommonGrid",
    data() {
        return {
            newHeight: Number(this.height),
        };
    },
    props: {
        rowData: {
            type: Object,
            default: () => {
                return {};
            },
        },
        // 标题
        title: {
            type: String,
        },
        guid: String,
        width: {
            type: String | Number,
        },
        height: {
            type: String | Number,
        },
        fullscreen: {
            type: String | Number | Boolean,
        },
    },
    computed: {},
    methods: {},
};
</script>
<style lang="less">
</style>
