？<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="classifyId" v-model="form.classifyId" placeholder="请输入一件事问题表id"/>
                <Field label="一件事下个问题id" prop="classifyNextId" v-model="form.classifyNextId" placeholder="请输入一件事下个问题id"/>
                <Field label="选项名称" prop="name" v-model="form.name" placeholder="请输入选项名称"/>
                <Field label="是否最终节点 0否 1是" prop="isend" v-model="form.isend" placeholder="请输入是否最终节点 0否 1是"/>
                <Field label="基本信息模板id" prop="basicsinfoId" v-model="form.basicsinfoId" placeholder="请输入基本信息模板id"/>
                <Field label="申请条件id" prop="acceptId" v-model="form.acceptId" placeholder="请输入申请条件id"/>
                <Field label="办理流程id" prop="flowlimitId" v-model="form.flowlimitId" placeholder="请输入办理流程id"/>
                <Field label="事项关联id" prop="matterId" v-model="form.matterId" placeholder="请输入事项关联id"/>
                <Field label="材料id" prop="datumId" v-model="form.datumId" placeholder="请输入材料id"/>
                <Field label="备注类型 1常规备注 2终结备注" prop="summaryType" v-model="form.summaryType" placeholder="请输入备注类型 1常规备注 2终结备注"/>
                <Field label="备注" prop="summary" v-model="form.summary" placeholder="请输入备注"/>
                <Field label="变更时间" prop="updateTime" v-model="form.updateTime" placeholder="请输入变更时间"/>
                <Field label="变更用户loginName" prop="updateUser" v-model="form.updateUser" placeholder="请输入变更用户loginName"/>
            </el-row>
            <form-buttons @submit='submitForm'/>
        </el-form>
    </layout-form>
</template>

<script>
    import form from "@/assets/mixins/form";
    export default {
        mixins: [form],
        data() {
            return {
                rules: {
                    name:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    summary:[
                        {max: 256, message: '最多只能录入256个字符', trigger: 'blur'}],
                    updatetime:[{required: true, message: '请输入变更时间', trigger: 'blur'},],
                    updateUser:[{required: true, message: '请输入变更用户loginName', trigger: 'blur'},
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                }
            };
        }
    };
</script>