<template>
  <div>
    <el-form
      :model="form"
      :loading="loading"
      :rules="rules"
      size="small"
      style="width: 100%"
      label-width="120px"
      ref="form"
    >
      <el-row>
                        <Field label="从政务系统来的事项id" prop="tid" v-model="form.tid" placeholder="请输入从政务系统来的事项id"/>
                        <Field label="从政务系统来的事项code" prop="tcode" v-model="form.tcode" placeholder="请输入从政务系统来的事项code"/>
                        <Field label="从政务系统来的事项name" prop="tname" v-model="form.tname"  placeholder="请输入从政务系统来的事项name"/>
                        <Field label="事项名称" prop="matterName" v-model="form.matterName" placeholder="请输入事项名称"/>
                        <Field label="英语事项名" prop="englishName" v-model="form.englishName"  placeholder="请输入英语事项名"/>
                        <Field label="事项编号" prop="matterNo" v-model="form.matterNo" placeholder="请输入事项编号"/>
                        <Field label="所属部门" prop="belongDept" v-model="form.belongDept" placeholder="请输入所属部门"/>
                        <Field label="服务对象 " prop="appoveObjectShow" v-model="form.appoveObjectShow" placeholder="请输入服务对象 "/>
                        <Field label="通办范围 " prop="operatScopeShow" v-model="form.operatScopeShow" placeholder="请输入通办范围 "/>
                        <Field label="办件类型" prop="appoveTimeLimitShow" v-model="form.appoveTimeLimitShow" placeholder="请输入办件类型"/>
                        <Field label="办理形式" prop="handleType" v-model="form.handleType" type="select" :enumData="dict.handleType" placeholder="请选择办理形式"/>
                        <Field label="法定办结时限" prop="legalTimeLimitShow" v-model="form.legalTimeLimitShow" placeholder="请输入法定办结时限"/>
                        <Field label="法定时限办结说明" prop="legalEndExplain" v-model="form.legalEndExplain" type="textarea" placeholder="请输入法定时限办结说明"/>
                        <Field label="承诺办结时限" prop="promiseTimeLimitShow" v-model="form.promiseTimeLimitShow" placeholder="请输入承诺办结时限"/>
                        <Field label="承诺时限办结说明" prop="promiseEndExplain" v-model="form.promiseEndExplain" type="textarea" placeholder="请输入承诺时限办结说明"/>
                        <Field label="是否收费" prop="isChargesShow" v-model="form.isChargesShow" placeholder="请输入是否收费"/>
                        <Field label="认证等级需求" prop="certificationLevelsShow" v-model="form.certificationLevelsShow" placeholder="请输入认证等级需求"/>
                        <Field label="计划生效日期" prop="planTakeTime" v-model="form.planTakeTime" type="date" />
                        <Field label="承诺生效日期" prop="promiseTakeTime" v-model="form.promiseTakeTime" type="date" />
                        <Field label="特别程序" prop="specialProcedure" v-model="form.specialProcedure" placeholder="请输入特别程序"/>
                        <Field label="窗口到现场次数" prop="windowToTheSceneNum" v-model="form.windowToTheSceneNum" placeholder="请选择窗口到现场次数"/>
                        <Field label="是否网上预约,窗口办理选" prop="isOnlineSubscribeShow" v-model="form.isOnlineSubscribeShow" placeholder="请输入是否网上预约,窗口办理选"/>
                        <Field label="物流快递,窗口办理选" prop="isExpressTakeShow" v-model="form.isExpressTakeShow" placeholder="请输入物流快递,窗口办理选"/>
                        <Field label="是否支持全省范围就近取件" prop="isProvinceAcquisitionShow" v-model="form.isProvinceAcquisitionShow" placeholder="请输入是否支持全省范围就近取件"/>
                        <Field label="是否支持全省范围就近办理" prop="isApplyProvinceShow" v-model="form.isApplyProvinceShow" placeholder="请输入是否支持全省范围就近办理"/>
                        <Field label="必须到现场原因" prop="mustSceneExplain" v-model="form.mustSceneExplain" type="textarea" placeholder="请输入必须到现场原因"/>
                        <Field label="网办类型" prop="onlineType" v-model="form.onlineType" type="select" :enumData="dict.onlineType" placeholder="请选择网办类型"/>
                        <Field label="网办到现场次数" prop="onlineToTheSceneNum" v-model="form.onlineToTheSceneNum" placeholder="请选择网办到现场次数"/>
                        <Field label="网络办理深度" prop="onlineOperatDeep" v-model="form.onlineOperatDeep" placeholder="请输入网络办理深度"/>
                        <Field label="物流快递，网上办理选" prop="isExpressTakeOnlineShow" v-model="form.isExpressTakeOnlineShow" placeholder="请输入物流快递，网上办理选"/>
                        <Field label="是否支持上门收取申请" prop="isDoorTakeShow" v-model="form.isDoorTakeShow" placeholder="请输入是否支持上门收取申请"/>
                        <Field label="网上必须到现场原因" prop="onlineMustSceneExplain" v-model="form.onlineMustSceneExplain" type="textarea" placeholder="请输入网上必须到现场原因"/>
                        <Field label="实施主体" prop="performDeptType" v-model="form.performDeptType" type="select" :enumData="dict.performDeptType" placeholder="请选择实施主体"/>
                        <Field label="事项版本" prop="matterEdition" v-model="form.matterEdition" placeholder="请输入事项版本"/>
                        <Field label="事项类型名称" prop="eventTypeShow" v-model="form.eventTypeShow" placeholder="请输入事项类型名称"/>
                        <Field label="行使层级名称" prop="performHierarchyShow" v-model="form.performHierarchyShow" placeholder="请输入行使层级名称"/>
                        <Field label="权力来源" prop="powerSourceShow" v-model="form.powerSourceShow" placeholder="请输入权力来源"/>
                        <Field label="实施主体性质" prop="performDeptTypeShow" v-model="form.performDeptTypeShow" placeholder="请输入实施主体性质"/>
                        <Field label="是否进驻中心" prop="goveServiceCenterShow" v-model="form.goveServiceCenterShow" placeholder="请输入是否进驻中心"/>
                        <Field label="是否纳入便民服务中心" prop="isConvenientCenterShow" v-model="form.isConvenientCenterShow" placeholder="请输入是否纳入便民服务中心"/>
                        <Field label="自助终端办理 " prop="terminalHandle" v-model="form.terminalHandle" placeholder="请输入自助终端办理 "/>
                        <Field label="是否网办 " prop="isOnline" v-model="form.isOnline" placeholder="请输入是否网办 "/>
                        <Field label="支持网上支付" prop="isOnlinePayShow" v-model="form.isOnlinePayShow" placeholder="请输入支持网上支付"/>
                        <Field label="委托部门" prop="entrustmentDepartmen" v-model="form.entrustmentDepartmen" placeholder="请输入委托部门"/>
                        <Field label="联办机构" prop="jointInfoShow" v-model="form.jointInfoShow" placeholder="请输入联办机构"/>
                        <Field label="事项状态" prop="matterStatus" v-model="form.matterStatus" type="radio" :enumData="dict.matterStatus" />
                        <Field label="数量限制" prop="numberLimit" v-model="form.numberLimit" placeholder="请输入数量限制"/>
                        <Field label="主题类型" prop="type" v-model="form.type" type="select" :enumData="dict.type" placeholder="请选择主题类型"/>
                        <Field label="基本编码" prop="baseCode" v-model="form.baseCode" placeholder="请输入基本编码"/>
                        <Field label="实施编码" prop="implementCode" v-model="form.implementCode" placeholder="请输入实施编码"/>
                        <Field label="实施主体编码" prop="implementBodyCode" v-model="form.implementBodyCode" placeholder="请输入实施主体编码"/>
                        <Field label="办理项编码" prop="operateItemCode" v-model="form.operateItemCode" placeholder="请输入办理项编码"/>
                        <Field label="乡镇街道名称" prop="townshipName" v-model="form.townshipName" placeholder="请输入乡镇街道名称"/>
                        <Field label="乡镇街道代码" prop="townshipCode" v-model="form.townshipCode" placeholder="请输入乡镇街道代码"/>
                        <Field label="村居社区名称" prop="villageName" v-model="form.villageName" placeholder="请输入村居社区名称"/>
                        <Field label="村居社区代码" prop="villageCode" v-model="form.villageCode" placeholder="请输入村居社区代码"/>
                        <Field label="办理时间" prop="operateTime" v-model="form.operateTime" placeholder="请输入办理时间"/>
                        <Field label="办理地点" prop="operateSite" v-model="form.operateSite" type="textarea" placeholder="请输入办理地点"/>
                        <Field label="咨询方式" prop="cousultingShow" v-model="form.cousultingShow" type="textarea" placeholder="请输入咨询方式"/>
                        <Field label="咨询电话" prop="cousultingTelephoneShow" v-model="form.cousultingTelephoneShow" placeholder="请输入咨询电话"/>
                        <Field label="监督方式" prop="superviseShow" v-model="form.superviseShow" type="textarea" placeholder="请输入监督方式"/>
                        
      
                        <!-- <Field label="事项来源" prop="source" v-model="form.source" type="select" :enumData="dict.source" placeholder="请选择事项来源"/> -->
            </el-row>

      <form-buttons
        @submit="submitForm"
      />
    </el-form>
  </div>
</template>

<script>
import form from "@/assets/mixins/form";
export default {
  mixins: [form],
  components: {},
  created() {
    const matterId = this.$route.query && this.$route.query.matterId;
    console.log("matterId:"+matterId)

  },
  methods: {},
  data() {
    return {
      urls: {
        currUrl: "/matter/add",
        saveUrl: "/matter/save",
      },
      toString: [
        "windowToTheSceneNum",
        "onlineToTheSceneNum",
        "parson",
        "lengal",
      ],
      rules: {},
    };
  },
};
</script>