？<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="eventName" v-model="form.eventName" placeholder="请输入实施清单名称"/>
                <Field label="实施清单编码" prop="eventCode" v-model="form.eventCode" placeholder="请输入实施清单编码"/>
                <Field label="申请人属性" prop="applicantAttributes" v-model="form.applicantAttributes" placeholder="请输入申请人属性"/>
                <Field label="申请人证件类型" prop="applicantCardType" v-model="form.applicantCardType" placeholder="请输入申请人证件类型"/>
                <Field label="申请人姓名" prop="applicantName" v-model="form.applicantName" placeholder="请输入申请人姓名"/>
                <Field label="申请人证件号码" prop="applicantCardNumbe" v-model="form.applicantCardNumbe" placeholder="请输入申请人证件号码"/>
                <Field label="申请人手机号码" prop="applicantPhoneNumber" v-model="form.applicantPhoneNumber" placeholder="请输入申请人手机号码"/>
                <Field label="申请人性别" prop="applicantSex" v-model="form.applicantSex" placeholder="请输入申请人性别"/>
                <Field label="机构名称" prop="organizationName" v-model="form.organizationName" placeholder="请输入机构名称"/>
                <Field label="机构地址" prop="organizationAddress" v-model="form.organizationAddress" placeholder="请输入机构地址"/>
                <Field label="机构性质" prop="organizationStructure" v-model="form.organizationStructure" placeholder="请输入机构性质"/>
                <Field label="机构证件类型" prop="organizationCardType" v-model="form.organizationCardType" placeholder="请输入机构证件类型"/>
                <Field label="机构证件编码" prop="organizationCardNumber" v-model="form.organizationCardNumber" placeholder="请输入机构证件编码"/>
                <Field label="机构代表人姓名" prop="legalPerson" v-model="form.legalPerson" placeholder="请输入机构代表人姓名"/>
                <Field label="流程开始时间" prop="processStartedTime" v-model="form.processStartedTime" placeholder="请输入流程开始时间"/>
                <Field label="流程结束时间" prop="processStopTime" v-model="form.processStopTime" placeholder="请输入流程结束时间"/>
                <Field label="地区编码" prop="areaCode" v-model="form.areaCode" placeholder="请输入地区编码"/>
                <Field label="部门编码" prop="deptCode" v-model="form.dept_code" placeholder="请输入部门编码"/>
                <Field label="办件状态" prop="bizStatus" v-model="form.biz_status" placeholder="请输入办件状态"/>
                <Field label="办件类型(默认0 网络办件)" prop="doThingProperty" v-model="form.do_thing_property" placeholder="请输入办件类型(默认0 网络办件)"/>
                <Field label="办件名称" prop="affairName" v-model="form.affair_name" placeholder="请输入办件名称"/>
                <Field label="申请方式默认 1 网上申请" prop="applyType" v-model="form.apply_type" placeholder="请输入申请方式默认 1 网上申请"/>
                <Field label="是否收费" prop="is_charge" v-model="form.is_charge" placeholder="请输入是否收费"/>
                <Field label="申请件数；默认传1" prop="apply_num" v-model="form.apply_num" placeholder="请输入申请件数；默认传1"/>
                <Field label="取件方式 默认1现场取件" prop="pickup_type" v-model="form.pickup_type" placeholder="请输入取件方式 默认1现场取件"/>
                <Field label="节点类型" prop="node_type" v-model="form.node_type" placeholder="请输入节点类型"/>
                <Field label="节点处理人姓名" prop="cur_handler_name" v-model="form.cur_handler_name" placeholder="请输入节点处理人姓名"/>
                <Field label="节点处理人id (默认-1)" prop="add_user_id" v-model="form.add_user_id" placeholder="请输入节点处理人id (默认-1)"/>
                <Field label="是否同意(默认 1是)" prop="audit_advice" v-model="form.audit_advice" placeholder="请输入是否同意(默认 1是)"/>
                <Field label="拟办意见(默认 同意)" prop="audit_remark" v-model="form.audit_remark" placeholder="请输入拟办意见(默认 同意)"/>
                <Field label="流程开始时间" prop="gen_time" v-model="form.gen_time" placeholder="请输入流程开始时间"/>
                <Field label="流程结束时间" prop="complete_time" v-model="form.complete_time" placeholder="请输入流程结束时间"/>
                <Field label="是否推送（0 否 1是）" prop="is_report" v-model="form.is_report" placeholder="请输入是否推送（0 否 1是）"/>
                <Field label="是否成功（0 否 1是）" prop="is_success" v-model="form.is_success" placeholder="请输入是否成功（0 否 1是）"/>
                <Field label="推送失败原因" prop="fail_reason" v-model="form.fail_reason" placeholder="请输入推送失败原因"/>
                <Field label="失败次数" prop="fail_times" v-model="form.fail_times" placeholder="请输入失败次数"/>
                <Field label="联系人姓名" prop="contact_name" v-model="form.contact_name" placeholder="请输入联系人姓名"/>
                <Field label="联系人证件号码" prop="contact_id_card" v-model="form.contact_id_card" placeholder="请输入联系人证件号码"/>
                <Field label="联系人证件类型" prop="contact_card_type" v-model="form.contact_card_type" placeholder="请输入联系人证件类型"/>
                <Field label="联系人联系方式" prop="contact_phone" v-model="form.contact_phone" placeholder="请输入联系人联系方式"/>
                <Field label="受理人姓名" prop="accept_name" v-model="form.accept_name" placeholder="请输入受理人姓名"/>
                <Field label="受理人身份证号码" prop="accept_id" v-model="form.accept_id" placeholder="请输入受理人身份证号码"/>
                <Field label="受理人手机号" prop="accept_phone" v-model="form.accept_phone" placeholder="请输入受理人手机号"/>
                <Field label="系统编码" prop="systemCode" v-model="form.systemCode" placeholder="请输入系统编码"/>
                <Field label="办件编码" prop="officeCode" v-model="form.officeCode" placeholder="请输入办件编码"/>
                <Field label="办件业务流水号" prop="seriesNumber" v-model="form.seriesNumber" placeholder="请输入办件业务流水号"/>
                <Field label="流程状态名称" prop="processStatusName" v-model="form.processStatusName" placeholder="请输入流程状态名称"/>
                <Field label="流程状态编码" prop="processStatusCode" v-model="form.processStatusCode" placeholder="请输入流程状态编码"/>
            </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: {
                    eventName:[
                        {max: 1024, message: '最多只能录入1024个字符', trigger: 'blur'}],
                    eventCode:[
                        {max: 64, message: '最多只能录入64个字符', trigger: 'blur'}],
                    applicantAttributes:[{type: 'integer', trigger: 'blur'}],
                    applicantCardType:[
                        {max: 6, message: '最多只能录入6个字符', trigger: 'blur'}],
                    applicantName:[
                        {max: 256, message: '最多只能录入256个字符', trigger: 'blur'}],
                    applicantCardNumbe:[
                        {max: 32, message: '最多只能录入32个字符', trigger: 'blur'}],
                    applicantPhoneNumber:[
                        {max: 16, message: '最多只能录入16个字符', trigger: 'blur'}],
                    applicantSex:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    organizationName:[
                        {max: 1024, message: '最多只能录入1024个字符', trigger: 'blur'}],
                    organizationAddress:[
                        {max: 255, message: '最多只能录入个字符', trigger: 'blur'}],
                    organizationStructure:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    organizationCardType:[
                        {max: 16, message: '最多只能录入16个字符', trigger: 'blur'}],
                    organizationCardNumber:[
                        {max: 32, message: '最多只能录入32个字符', trigger: 'blur'}],
                    legalPerson:[
                        {max: 256, message: '最多只能录入256个字符', trigger: 'blur'}],
                    processStartedTime:[],
                    processStopTime:[],
                    areaCode:[
                        {max: 16, message: '最多只能录入16个字符', trigger: 'blur'}],
                    dept_code:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    biz_status:[
                        {max: 2, message: '最多只能录入2个字符', trigger: 'blur'}],
                    do_thing_property:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    affair_name:[
                        {max: 1000, message: '最多只能录入1000个字符', trigger: 'blur'}],
                    apply_type:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    is_charge:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    apply_num:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    pickup_type:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    node_type:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    cur_handler_name:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    add_user_id:[
                        {max: 20, message: '最多只能录入20个字符', trigger: 'blur'}],
                    audit_advice:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    audit_remark:[
                        {max: 10, message: '最多只能录入10个字符', trigger: 'blur'}],
                    gen_time:[],
                    complete_time:[],
                    is_report:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    is_success:[
                        {max: 1, message: '最多只能录入1个字符', trigger: 'blur'}],
                    fail_reason:[
                        {max: 1000, message: '最多只能录入1000个字符', trigger: 'blur'}],
                    fail_times:[{type: 'integer', trigger: 'blur'}],
                    contact_name:[
                        {max: 1000, message: '最多只能录入1000个字符', trigger: 'blur'}],
                    contact_id_card:[
                        {max: 36, message: '最多只能录入36个字符', trigger: 'blur'}],
                    contact_card_type:[
                        {max: 20, message: '最多只能录入20个字符', trigger: 'blur'}],
                    contact_phone:[
                        {max: 36, message: '最多只能录入36个字符', trigger: 'blur'}],
                    accept_name:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    accept_id:[
                        {max: 36, message: '最多只能录入36个字符', trigger: 'blur'}],
                    accept_phone:[
                        {max: 36, message: '最多只能录入36个字符', trigger: 'blur'}],
                    systemCode:[
                        {max: 16, message: '最多只能录入16个字符', trigger: 'blur'}],
                    officeCode:[
                        {max: 32, message: '最多只能录入32个字符', trigger: 'blur'}],
                    seriesNumber:[
                        {max: 32, message: '最多只能录入32个字符', trigger: 'blur'}],
                    processStatusName:[
                        {max: 6, message: '最多只能录入6个字符', trigger: 'blur'}],
                    processStatusCode:[
                        {max: 6, message: '最多只能录入6个字符', trigger: 'blur'}],
                }
            };
        }
    };
</script>