<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="sign" v-model="form.sign" placeholder="请输入短信签名"/>
                        <Field label="剩余短信条数" prop="lastnum" v-model="form.lastnum" placeholder="请输入剩余短信条数"/>
                        <Field label="用户名" prop="username" v-model="form.username" placeholder="请输入用户名"/>
                        <Field label="短信开关 " prop="messageoff" v-model="form.messageoff" type="select" :enumData="dict.messageoff" placeholder="请选择短信开关 "/>
                        <Field label="短信平台 " prop="smsplatform" v-model="form.smsplatform" type="select" :enumData="dict.smsplatform" 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:[
                    "messageoff",
                    "smsplatform",
                ],
                rules: {
                }
            };
        }
    };
</script>