<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="从政务系统来的部门id" prop="tid" v-model="form.tid" placeholder="请输入从政务系统来的部门id"/>
                        <Field label="从政务系统来的部门name" prop="tname" v-model="form.tname" placeholder="请输入从政务系统来的部门name"/>
                        <Field label="部门名称" prop="name" v-model="form.name" placeholder="请输入部门名称"/>
                        <Field label="从政务系统来的别名" prop="simpleName" v-model="form.simpleName" placeholder="请输入从政务系统来的别名"/>
                        <Field label="部门简称" prop="deptAbb" v-model="form.deptAbb" placeholder="请输入部门简称"/>
                        <Field label="部门电话" prop="deptTelphone" v-model="form.deptTelphone" placeholder="请输入部门电话"/>
                        <Field label="部门编号" prop="deptNumber" v-model="form.deptNumber" placeholder="请输入部门编号"/>
                        <Field label="填单机展示 " prop="isAutotable" v-model="form.isAutotable" type="select" :enumData="dict.isAutotable" placeholder="请选择填单机展示 "/>
                        <Field label="预约展示 " prop="isOrder" v-model="form.isOrder" type="select" :enumData="dict.isOrder" placeholder="请选择预约展示 "/>
                        <Field label="背靠背展示 " prop="isBkb" v-model="form.isBkb" type="select" :enumData="dict.isBkb" placeholder="请选择背靠背展示 "/>
                        <Field label="办事指南展示 " prop="isWorkGuide" v-model="form.isWorkGuide" type="select" :enumData="dict.isWorkGuide" placeholder="请选择办事指南展示 "/>
                        <Field label="是否使用 " prop="usValid" v-model="form.usValid" type="select" :enumData="dict.usValid" placeholder="请选择是否使用 "/>
                        <Field label="部门电话是否展示 " prop="isSecphone" v-model="form.isSecphone" type="select" :enumData="dict.isSecphone" placeholder="请选择部门电话是否展示 "/>
                        <Field label="是否展示英文 " prop="isEnglish" v-model="form.isEnglish" type="select" :enumData="dict.isEnglish" 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:[
                    "isAutotable",
                    "isOrder",
                    "isBkb",
                    "isWorkGuide",
                    "usValid",
                    "isSecphone",
                    "isEnglish",
                ],
                rules: {
                }
            };
        }
    };
</script>