<template>
    <el-dialog title="日志详情" :visible.sync="visible" @close="handleClose" custom-class="common-dialog" :close-on-click-modal="false" v-dialogDrag>
        <el-form :model="paramForm" ref="formRef" label-position="left" label-width="90px" size="mini">
            <el-row :gutter="20">
                <el-col :span="12">
                    <el-form-item label="所属模块" prop="extName">
                        <el-input v-model="paramForm.busModel" disabled />
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item label="日志类型" prop="extValue">
                        <el-input v-model="paramForm.operType" disabled />
                    </el-form-item>
                </el-col>
                <el-col :span="24">
                    <el-col :span="12">
                        <el-form-item label="操作人" prop="extValue">
                            <el-input v-model="paramForm.createUser" disabled />
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item label="操作时间" prop="extValue">
                            <el-input v-model="paramForm.createDate" disabled />
                        </el-form-item>
                    </el-col>
                    <el-col :span="24">
                        <el-form-item label="详情" prop="extValue">
                            <el-input type="textarea" :rows="3" v-model="paramForm.msg" disabled />
                        </el-form-item>
                    </el-col>
                </el-col>
            </el-row>
        </el-form>
    </el-dialog>
</template>

<script>
export default {
    name: "dig-label",
    created() {},
    mounted() {},
    methods: {
        //关闭弹窗
        handleClose() {
            this.$refs["formRef"].resetFields();
            Object.keys(this.paramForm).forEach(
                (key) => (this.paramForm[key] = "")
            );
            this.visible = false;
        },
    },
    props: [],
    data() {
        return {
            visible: false,
            paramForm: {},
        };
    },
};
</script>

<style type="text/css"  scoped lang="scss">
</style>
