<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<form id="__LFCzL9oexy8fk340Aky">
  <name>authorization_record</name>
  <parentId>__UTrlSN8IBYuGePSbeK8</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <templatecontext><![CDATA[<h1>课程授权信息</h1>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="color: rgb(255, 0, 0);">*</span><span style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif; font-size: 13px; white-space: nowrap;">课程授权有效期：</span><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__8QuCFwzQsie4jVdrEa5" type="text" fieldtype="VALUE_TYPE_DATE" name="lessonAuthStartDate" 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;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;(function(){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;lessonAuthStartDate@nbsp;=@nbsp;getItemValueAsDate(@quot;lessonAuthStartDate@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;lessonAuthEndDate@nbsp;=@nbsp;getItemValueAsDate(@quot;lessonAuthEndDate@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(lessonAuthStartDate!=null@amp;@amp;lessonAuthEndDate!=null)@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@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;lessonAuthStartDate@nbsp;=@nbsp;format(lessonAuthStartDate,@quot;yyyy-MM-dd@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;lessonAuthEndDate=@nbsp;format(lessonAuthEndDate,@quot;yyyy-MM-dd@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;diff@nbsp;=@nbsp;diffDays(lessonAuthStartDate,lessonAuthEndDate);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;&#9;&#9;if(diff@nbsp;@lt;@nbsp;0){@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;时间区间填写有误！@quot;;@nbsp;@nbsp;@amp;#13;@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;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;})()" 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 style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif; font-size: 13px; white-space: nowrap;">&nbsp;&mdash;&mdash;&nbsp;</span><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__qoMoXMFVzvmGMDKtF5N" type="text" fieldtype="VALUE_TYPE_DATE" name="lessonAuthEndDate" 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;" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="color: rgb(255, 0, 0);">*</span>授权课程：<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__YozyUcbPq9Tk8V0I8yr" text="readonly" name="authLessonName" texttype="readonly" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" readonlyshowvalonly="true" discript="授权课程名" validaterule="" valuescript="" 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="" layout="horizontal" /><img classname="cn.myapps.runtime.dynaform.form.ejb.ViewDialogField" src="images/viewdialog.gif" id="__dA2z1tVlLKYTmDpeW04" type="viewdialogfield" name="authLesson" caption="选择课程" maximization="default" divheight="" divwidth="" refreshonchanged="false" calculateonrefresh="false" mobile="true" mutilselect="false" selectone="false" allowviewdoc="false" opentype="3" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="//判断表单结束时间不能为空，且结束时间必须晚于开始时间@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;(function(){@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;authLessonName@nbsp;=@nbsp;getItemValueAsString(@quot;authLessonName@quot;);@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(authLessonName==null@nbsp;||@nbsp;authLessonName.trim().length()@lt;=0){@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;&#9;return@nbsp;false;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;})()" okscript="" callbackscript="" validatelibs="" dialogview="__5rf9JcquyKgPOhDD8it" module="__UMwALyqPMqwczm9lfpw" refreshmode="0" refreshfields="" mapping="__xr4jjL0S2XcPvu9Y8c8:authLessonId;__olZZV1LFv3TOa4C3DRn:authLessonName;__DD88ony3lgnN5UpP3Es:authLessonCover" /></p>
<p>&nbsp;</p>
<p><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__sSArkG5h2fLVYbMMXhs" text="hidden" name="authLessonId" texttype="hidden" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" readonlyshowvalonly="true" discript="授权课程Id" validaterule="" valuescript="" 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="" /></p>
<p><span style="color: rgb(255, 0, 0);">*</span>授权人员：<select classname="cn.myapps.runtime.dynaform.form.ejb.UserField" id="__mfHp4D6Use9p9KM6q5o" type="text" name="authPeoples" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" valuescript="" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" discript="授权人员" limitsum="10" fieldtype="VALUE_TYPE_TEXT" texttype="text" limitbyuser="false" isuserfield="true" filterfield="" filtercondition="" processdescription="[];[]" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="" selectmode="multiSelect"></select></p>
<p><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__6LNQJqXLYjvGw9s3XQB" name="authRecordType" discript="授权记录状态" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;opts=createOptions();@nbsp;@amp;#13;@nbsp;@nbsp;opts.add(@quot;正常@quot;,@quot;1@quot;,true);@nbsp;@amp;#13;@nbsp;@nbsp;opts.add(@quot;已撤销@quot;,@quot;2@quot;);@nbsp;@amp;#13;@nbsp;@nbsp;opts.add(@quot;已过期@quot;,@quot;3@quot;);@nbsp;@amp;#13;@nbsp;return@nbsp;opts;@nbsp;@amp;#13;@nbsp;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="hidden" readonlyscript="" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" instantvalidate="false" mobile="true" multiselect="false" validatelibs="" editmode="01" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select></p>
<p><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__6hnaMGVhwc59R96vQXR" type="text" fieldtype="VALUE_TYPE_DATE" name="createdTime" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="true" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="创建时间" valuescript="(function(){@nbsp;@amp;#13;@nbsp;return@nbsp;getToday();@nbsp;@amp;#13;@nbsp;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="hidden" filtercondition="" datepattern="YMD_HMS" processdescription="[];[]" instantvalidate="false" validatelibs="" refreshmode="0" refreshfields="" editmode="01" /></p>
<p><input classname="cn.myapps.runtime.dynaform.form.ejb.DateField" id="__9q9iIUhuyEm72eZliUq" type="text" fieldtype="VALUE_TYPE_DATE" name="updatedTime" refreshonchanged="false" readonlyshowvalonly="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" limit="false" prev_name="" discript="更新时间" valuescript="(function(){@nbsp;@amp;#13;@nbsp;return@nbsp;getToday();@nbsp;@amp;#13;@nbsp;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" texttype="hidden" filtercondition="" datepattern="YMD_HMS" processdescription="[];[]" instantvalidate="false" validatelibs="" refreshmode="0" refreshfields="" editmode="01" /></p>
<p><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__lCDdoN9v0jasZ80mxUo" text="hidden" name="createdPerName" texttype="hidden" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" 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;})()" 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="" /></p>
<p>&nbsp;</p>]]></templatecontext>
  <description><![CDATA[课程授权]]></description>
  <type>1</type>
  <styleId></styleId>
  <showLog>false</showLog>
  <showWaterMark>false</showWaterMark>
  <waterMarkScript></waterMarkScript>
  <recordlogForever>false</recordlogForever>
  <version>184</version>
  <isopenablescript><![CDATA[]]></isopenablescript>
  <iseditablescript><![CDATA[]]></iseditablescript>
  <mappingStr><![CDATA[{"formName":"authorization_record","tableName":"","columnMappings":[]}]]></mappingStr>
  <orderno>0</orderno>
  <permissionType>public</permissionType>
  <layoutType>horizontal</layoutType>
</form>