<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="name" v-model="form.name" placeholder="请输入窗口名称"/>
                        <Field label="英语窗口名" prop="englishName" v-model="form.englishName" placeholder="请输入英语窗口名"/>
                        <Field label="区域" prop="region" v-model="form.region" placeholder="请输入区域"/>
                        <Field label="英语区域" prop="englishRegion" v-model="form.englishRegion" placeholder="请输入英语区域"/>
                        <Field label="窗口编号" prop="fromnum" v-model="form.fromnum" placeholder="请输入窗口编号"/>
                        <Field label="红旗窗口 " prop="hongqi" v-model="form.hongqi" type="select" :enumData="dict.hongqi" placeholder="请选择红旗窗口 "/>
                        <Field label="备注" prop="summary" v-model="form.summary" type="textarea" placeholder="请输入备注"/>
                        <Field label="楼栋" prop="building" v-model="form.building" type="select" :enumData="dict.building" placeholder="请选择楼栋"/>
                        <Field label="楼层" prop="level" v-model="form.level" type="select" :enumData="dict.level" 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:[
                    "hongqi",
                    "building",
                    "level",
                ],
                rules: {
                }
            };
        }
    };
</script>