？<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="taskId" v-model="form.taskId" placeholder="请输入流程任务id"/>
                <Field label="流程实例id" prop="processInstanceId" v-model="form.processInstanceId" placeholder="请输入流程实例id"/>
                <Field label="微信用户ID" prop="memberId" v-model="form.memberId" placeholder="请输入微信用户ID"/>
                <Field label="事项ID" prop="matterid" v-model="form.matterid" placeholder="请输入事项ID"/>
                <Field label="上传时间" prop="uploadtime" v-model="form.uploadtime" placeholder="请输入上传时间"/>
                <Field label="1资料上传 2确认提交" prop="type" v-model="form.type" placeholder="请输入1资料上传 2确认提交"/>
                <Field label="邮寄地址" prop="address" v-model="form.address" placeholder="请输入邮寄地址"/>
                <Field label="联系人" prop="linkman" v-model="form.linkman" placeholder="请输入联系人"/>
                <Field label="联系电话" prop="phone" v-model="form.phone" placeholder="请输入联系电话"/>
                <Field label="取件方式 0自主取件  1邮寄" prop="manner" v-model="form.manner" placeholder="请输入取件方式 0自主取件  1邮寄"/>
                <Field label="取件码" prop="getnum" v-model="form.getnum" placeholder="请输入取件码"/>
                <Field label="快递单号" prop="number" v-model="form.number" placeholder="请输入快递单号"/>
                <Field label="问答内容" prop="optionContent" v-model="form.optionContent" placeholder="请输入问答内容"/>
                <Field label="0是否撤销 1撤销" prop="isRevoke" v-model="form.isRevoke" placeholder="请输入0是否撤销 1撤销"/>
                <Field label="站点ID" prop="siteid" v-model="form.siteid" placeholder="请输入站点ID"/>
                <Field label="审批状态 0未审核 1 审核中 2 审核成功" prop="status" v-model="form.status" placeholder="请输入审批状态 0未审核 1 审核中 2 审核成功"/>
                <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: {
                    taskId:[{required: true, message: '请输入流程任务id', trigger: 'blur'},
                        {max: 64, message: '最多只能录入64个字符', trigger: 'blur'}],
                    processInstanceId:[{required: true, message: '请输入流程实例id', trigger: 'blur'},
                        {max: 64, message: '最多只能录入64个字符', trigger: 'blur'}],
                    uploadtime:[{type: 'integer', trigger: 'blur'}],
                    type:[{type: 'integer', trigger: 'blur'}],
                    address:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    linkman:[
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                    phone:[{type: 'integer', trigger: 'blur'}],
                    manner:[{type: 'integer', trigger: 'blur'}],
                    getnum:[
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                    number:[
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                    optionContent:[
                        {max: 255, message: '最多只能录入255个字符', trigger: 'blur'}],
                    isRevoke:[{type: 'integer', trigger: 'blur'}],
                    siteid:[{type: 'integer', trigger: 'blur'}],
                    status:[{type: 'integer', trigger: 'blur'}],
                    updateTime:[],
                    updateUser:[
                        {max: 50, message: '最多只能录入50个字符', trigger: 'blur'}],
                }
            };
        }
    };
</script>