<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<form id="__9R1Aei29Y0ZwTAnkcQf">
  <name>apply_rule_info</name>
  <parentId>__aW2bmAP2xSqnxrdwntX</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <templatecontext><![CDATA[<p>&nbsp;&nbsp;</p>
<table width="100%" cellpadding="1" cellspacing="1">
    <tbody>
        <tr>
            <td style="text-align: right;">
            <p>&nbsp;<span style="font-size: small;"><span style="color: rgb(255, 0, 0);">*</span><span style="font-family: Arial;">报名名称：</span></span></p>
            </td>
            <td><span style="font-size: small;"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__zOyeC3XTGpHpnzIhYhe" text="text" name="applyRuleName" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="报名规则名称" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" /></span></td>
            <td style="text-align: right;"><span style="font-size: small;"><span style="color: rgb(255, 0, 0);">*</span>报名分类：</span></td>
            <td><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__MknDlrj2YaeSTJ2Xldy" text="text" name="applyType" texttype="text" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="报名分类" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
        </tr>
        <tr>
            <td style="text-align: right;"><span style="font-size: small;"><span style="color: rgb(255, 0, 0);">*</span>报名时间：</span>
            <p>&nbsp;</p>
            </td>
            <td colspan="3"><span style="font-size: small;"><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__8QuCFwzQsie4jVdrEa5" type="text" fieldtype="VALUE_TYPE_DATE" name="applyStartDate" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="报名开始日期" valuescript="" validaterule="//判断表单某字段不能为空@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;(function(){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;applyStartDate@nbsp;=@nbsp;getItemValueAsDate(@quot;applyStartDate@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;applyEndDate@nbsp;=@nbsp;getItemValueAsDate(@quot;applyEndDate@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(applyStartDate!=null@amp;@amp;applyEndDate!=null)@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;{@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;applyStartDate@nbsp;=@nbsp;format(applyStartDate,@quot;yyyy-MM-dd@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;applyEndDate=@nbsp;format(applyEndDate,@quot;yyyy-MM-dd@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;diff@nbsp;=@nbsp;diffDays(applyStartDate,applyEndDate);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;&#9;&#9;if(diff@nbsp;@lt;@nbsp;0){@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;时间区间填写有误！@quot;;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;})()" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="text" filtercondition="" datepattern="YMD" processdescription="[];[]" instantvalidate="true" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" refreshmode="0" refreshfields="" editmode="01" style="white-space: nowrap;" /><span style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif; white-space: nowrap;">&nbsp; 至&nbsp;&nbsp;</span><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__qoMoXMFVzvmGMDKtF5N" type="text" fieldtype="VALUE_TYPE_DATE" name="applyEndDate" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="报名结束日期" valuescript="" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="text" filtercondition="" datepattern="YMD" processdescription="[];[]" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" refreshmode="0" refreshfields="" editmode="01" style="white-space: nowrap;" /></span></td>
        </tr>
    </tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h1>&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__lZbYSdGADMvzyZ2tU7G" text="hidden" name="createdUser" texttype="hidden" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="创建者" validaterule="" valuescript="@nbsp;@amp;#13;@nbsp;//表单某字段值为当前登录用户的名称@nbsp;@amp;#13;@nbsp;(function(){@nbsp;@amp;#13;@nbsp;var@nbsp;userName=@nbsp;getWebUser().getName();@nbsp;@amp;#13;@nbsp;return@nbsp;userName;@nbsp;@amp;#13;@nbsp;})()" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="true" calculateonrefresh="false" mobile="true" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></h1>
<p>&nbsp;</p>]]></templatecontext>
  <description><![CDATA[报名任务规则]]></description>
  <type>1</type>
  <styleId></styleId>
  <showLog>false</showLog>
  <showWaterMark>false</showWaterMark>
  <waterMarkScript></waterMarkScript>
  <recordlogForever>false</recordlogForever>
  <version>4</version>
  <isopenablescript><![CDATA[]]></isopenablescript>
  <iseditablescript><![CDATA[]]></iseditablescript>
  <mappingStr><![CDATA[{"formName":"apply_rule_info","tableName":"","columnMappings":[]}]]></mappingStr>
  <orderno>1</orderno>
  <permissionType>public</permissionType>
  <layoutType>horizontal</layoutType>
</form>