<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="siteName" v-model="form.siteName" placeholder="请输入站点名称"/>
                        <Field label="业务类型" prop="isBusiness" v-model="form.isBusiness" type="select" :enumData="dict.isBusiness" placeholder="请选择业务类型"/>
                        <Field label="业务名称" prop="name" v-model="form.name" placeholder="请输入业务名称"/>
                        <Field label="备注" prop="remark" v-model="form.remark" type="textarea" placeholder="请输入备注"/>
                        <Field label="是否允许预约" prop="canorder" v-model="form.canorder" type="select" :enumData="dict.canorder" placeholder="请选择是否允许预约"/>
                        <Field label="是否允许取号" prop="cantake" v-model="form.cantake" type="select" :enumData="dict.cantake" placeholder="请选择是否允许取号"/>
                        <Field label="大厅情况展示 " prop="datashow" v-model="form.datashow" type="select" :enumData="dict.datashow" placeholder="请选择大厅情况展示 "/>
                        <Field label="英语业务名" prop="englishname" v-model="form.englishname" placeholder="请输入英语业务名"/>
                        <Field label="流水编号如A、B" prop="flownum" v-model="form.flownum" placeholder="请输入流水编号如A、B"/>
                        <Field label="业务状态 " prop="status" v-model="form.status" type="select" :enumData="dict.status" 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:[
                    "isBusiness",
                    "canorder",
                    "cantake",
                    "datashow",
                    "status",
                ],
                rules: {
                }
            };
        }
    };
</script>