<template>
    <layout-form>
        <el-form :model="form" :loading="loading" :rules="rules" size='small' style="width:100%" label-width='120px' ref="form">
            <el-row>
                                    <Field label="附件名称" prop="fileName" v-model="form.fileName" type="textarea" placeholder="请输入附件名称"/>
                        <Field label="附件下载地址" prop="fileUrl" v-model="form.fileUrl" type="textarea" placeholder="请输入附件下载地址"/>
                        <Field label="附件类型 " prop="filetype" v-model="form.filetype" type="radio" :enumData="dict.filetype" />
                        <Field label="附件来源 " prop="source" v-model="form.source" type="select" :enumData="dict.source" placeholder="请选择附件来源 "/>
            </el-row>

            <form-buttons @submit='submitForm' :noSaveBtn="pageInfo.type === 'view'"/>
        </el-form>
    </layout-form>
</template>

<script>
    import form from "@/assets/mixins/form";
    export default {
        mixins: [form],
        components: {
        },
        methods: {


        },
        data() {
            return {
                toString:[
                    "source",
                ],
                rules: {
                }
            };
        }
    };
</script>