<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<form id="__j878HaIQtHKiMk0tAn0">
  <name>enterResuilt</name>
  <parentId>__xmA8P0JniFiisvoPiWM</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <description>录入成绩</description>
  <templatecontext><![CDATA[<table class="mytable" border="1" cellspacing="0" cellpadding="0" height="190" align="center" style="border: 1px solid rgb(180, 204, 238);">
    <tbody>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">&nbsp;姓名<span style="white-space: normal;">：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__0m8WpQkwDXRPxIJ4c46" text="readonly" name="name" texttype="readonly" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="姓名" validaterule="" valuescript="#include@nbsp;@quot;echoFunction@quot;;@nbsp;@nbsp;@nbsp;@amp;#13;(function(){@amp;#13;var@nbsp;doc=getCurrentDocument();@amp;#13;var@nbsp;idArr=decodeURI(getParameter(@quot;examPersonId@quot;));@nbsp;@nbsp;@amp;#13;var@nbsp;docs@nbsp;=@nbsp;findDocument(idArr);@amp;#13;if(!@quot;@quot;.equals(idArr)){@amp;#13;&#9;echoFunction(doc,idArr);@amp;#13;}@amp;#13;})()" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" />&nbsp;</td>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);"><span style="color: rgb(0, 0, 0);">﻿公司名称：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__Lxol4ULYF7HyEAKwR3P" text="readonly" name="company" texttype="readonly" 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" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">身份证：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__PDHwt2FbnLNio7CmIXw" text="readonly" name="idCardNo" texttype="readonly" 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" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">手机号：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__zHv8yPud6fYSdJVOYgZ" text="readonly" name="mobile" texttype="readonly" 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" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: center; border: 1px solid rgb(180, 204, 238);">
            <h4>成绩信息</h4>
            </td>
            <td class="mytable_td_content" colspan="3" style="border: 1px solid rgb(180, 204, 238);">&nbsp;&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__SXpKbH9I3PQmi3dTHOz" text="readonly" name="EXAMID" texttype="readonly" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="考试id" validaterule="true" valuescript="" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__LeBkY6uJoX8P0rn3S88" text="text" name="scoreState" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="确认成绩状态" validaterule="" valuescript="" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">
            <p>&nbsp; <span style="color: rgb(255, 0, 0);">*</span>理论成绩：</p>
            </td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__7FX7EV36pWcXWpX9a6h" text="text" name="writtenScore" texttype="text" fieldtype="VALUE_TYPE_NUMBER" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="理论成绩" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="@amp;#13;//判断表单某字段不能为空@amp;#13;(function(){@amp;#13;var@nbsp;scoreMsgState@nbsp;=@nbsp;getItemValueAsString(@quot;scoreMsgState@quot;);@nbsp;@amp;#13;if(@quot;1@quot;.equals(scoreMsgState))@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true;@amp;#13;}else{@amp;#13;@nbsp;@nbsp;return@nbsp;false;@amp;#13;}@amp;#13;})()@amp;#13;" refreshonchanged="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="00.00" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="core.dynaform.form.formfield.validate.checkEmpty_system" editmode="01" refreshmode="0" refreshfields="sumScore" hidetype="parent" ishidetype="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">实操成绩<span style="white-space: nowrap;">：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__HEZh38jPflWU9hlLuGD" text="text" name="operateScore" texttype="text" fieldtype="VALUE_TYPE_NUMBER" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="体能成绩" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){@amp;#13;@amp;#13;var@nbsp;examId=getItemValueAsString(@quot;EXAMID@quot;);@amp;#13;var@nbsp;examInfoDoc@nbsp;=@nbsp;findDocument(examId);@amp;#13;var@nbsp;isStamina@nbsp;=@nbsp;examInfoDoc.findItem(@quot;isStamina@quot;).getValue();@nbsp;@amp;#13;if(@quot;0@quot;.equals(isStamina)@nbsp;){@amp;#13;@nbsp;@nbsp;return@nbsp;true;@amp;#13;}@amp;#13;@nbsp;@nbsp;else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false;@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" refreshonchanged="true" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="00.00" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="sumScore" hidetype="parent" ishidetype="false" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">是否签到：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);"><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__1Qu0aGhVTuXZwsods9i" name="signIn" discript="是否签到" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;@nbsp;var@nbsp;opts=createOptions();@amp;#13;@nbsp;opts.add(@quot;否@quot;,@quot;0@quot;);@amp;#13;@nbsp;opts.add(@quot;是@quot;,@quot;1@quot;);@amp;#13;return@nbsp;opts;@amp;#13;})()@amp;#13;" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" readonlyscript="true@amp;#13;" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" instantvalidate="false" mobile="true" secrettext="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext="" hidetype="parent" ishidetype="false"></select></td>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: right; border: 1px solid rgb(180, 204, 238);">备注：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__QRZtZbfNJxXpe6QaM3H" text="text" name="remark" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="备注" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="@amp;#13;//判断表单某字段不能为空@amp;#13;(function(){@amp;#13;var@nbsp;scoreMsgState@nbsp;=@nbsp;getItemValueAsString(@quot;scoreMsgState@quot;);@nbsp;@amp;#13;if(@quot;1@quot;.equals(scoreMsgState))@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true;@amp;#13;}else{@amp;#13;@nbsp;@nbsp;return@nbsp;false;@amp;#13;}@amp;#13;})()@amp;#13;" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></td>
        </tr>
        <tr>
            <td class="mytable_td_title" nowrap="noWrap" style="text-align: center; border: 1px solid rgb(180, 204, 238);" colspan="4"><span style="color: rgb(217, 0, 27); font-family: &quot;Arial Normal&quot;, Arial, sans-serif; font-size: 13px; text-align: center;">注： 因涉嫌作弊、造假的成绩，可重新录入成绩并在备注中说明原因！</span></td>
        </tr>
    </tbody>
</table>
<p style="margin-left: 80px;">&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__9XlWv1NcNqbSS4qrePO" text="text" name="examine" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="审核状态" validaterule="" valuescript="" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__QIiwOWtPFogboFizshY" text="text" name="examState" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="考试状态" validaterule="" valuescript="" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__U5RqnoQKy39QCXfJ2G0" text="text" name="sumScore" texttype="text" fieldtype="VALUE_TYPE_NUMBER" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="总成绩" validaterule="" valuescript="/*(function(){@amp;#13;@amp;#13;@nbsp;@nbsp;var@nbsp;examId=getItemValueAsString(@quot;EXAMID@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;writtenScore=getItemValueAsDouble(@quot;writtenScore@quot;);@amp;#13;@amp;#13;@nbsp;@nbsp;var@nbsp;operateScore=getItemValueAsDouble(@quot;operateScore@quot;);@amp;#13;@amp;#13;@amp;#13;@nbsp;@nbsp;var@nbsp;examInfoDoc@nbsp;=@nbsp;findDocument(examId);@amp;#13;@nbsp;@nbsp;var@nbsp;isComputerExam@nbsp;=@nbsp;examInfoDoc.findItem(@quot;isComputerExam@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;isStamina@nbsp;=@nbsp;examInfoDoc.findItem(@quot;isStamina@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;examRules@nbsp;=@nbsp;examInfoDoc.findItem(@quot;examRules@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;writtenRatio@nbsp;=@nbsp;examInfoDoc.findItem(@quot;writtenRatio@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;operateRatio=@nbsp;examInfoDoc.findItem(@quot;operateRatio@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;examStandard=@nbsp;examInfoDoc.findItem(@quot;examStandard@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;writtenPassScore@nbsp;=@nbsp;examInfoDoc.findItem(@quot;writtenPassScore@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;operatePassScore=@nbsp;examInfoDoc.findItem(@quot;operatePassScore@quot;).getValue();@amp;#13;@amp;#13;@nbsp;@nbsp;if(@quot;1@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;0@quot;.equals(isStamina)@nbsp;){//@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;writtenScore;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;0@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;1@quot;.equals(isStamina)@nbsp;){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;operateScore;@amp;#13;@nbsp;@nbsp;}@nbsp;else@nbsp;if(@quot;1@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;1@quot;.equals(isStamina)@nbsp;){//两者都有@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;0@quot;.equals(examRules)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;writtenScore@nbsp;=@nbsp;writtenScore@nbsp;*@nbsp;(writtenRatio@nbsp;/@nbsp;100);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;operateScore@nbsp;=@nbsp;operateScore@nbsp;*@nbsp;(operateRatio@nbsp;/@nbsp;100);@amp;#13;@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;writtenScore@nbsp;+@nbsp;operateScore;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;writtenScore@nbsp;+@nbsp;operateScore;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;})()*/" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="true" isdefaultvalue="false" calculateonrefresh="true" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="00.00" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__hvyPb2R0MKDrrBLTC2V" name="testState" discript="考试成绩状态" layout="horizontal" readonlyshowvalonly="true" valuescript="/*(function(){@amp;#13;println(@quot;进入成绩状态@quot;)@amp;#13;@nbsp;@nbsp;var@nbsp;examId=getItemValueAsString(@quot;EXAMID@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;sumScore=getItemValueAsDouble(@quot;sumScore@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;writtenScore=getItemValueAsDouble(@quot;writtenScore@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;operateScore=getItemValueAsDouble(@quot;operateScore@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;examInfoDoc@nbsp;=@nbsp;findDocument(examId);@amp;#13;@nbsp;@nbsp;var@nbsp;isComputerExam@nbsp;=@nbsp;examInfoDoc.findItem(@quot;isComputerExam@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;isStamina@nbsp;=@nbsp;examInfoDoc.findItem(@quot;isStamina@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;examRules@nbsp;=@nbsp;examInfoDoc.findItem(@quot;examRules@quot;).getValue();@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;writtenRatio@nbsp;=@nbsp;examInfoDoc.findItem(@quot;writtenRatio@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;operateRatio=@nbsp;examInfoDoc.findItem(@quot;operateRatio@quot;).getValue();@amp;#13;@nbsp;@nbsp;var@nbsp;examStandard=@nbsp;parseDouble(examInfoDoc.findItem(@quot;examStandard@quot;).getValue());@amp;#13;@nbsp;@nbsp;var@nbsp;writtenPassScore@nbsp;=@nbsp;parseDouble(examInfoDoc.findItem(@quot;writtenPassScore@quot;).getValue());@amp;#13;@nbsp;@nbsp;var@nbsp;operatePassScore=@nbsp;parseDouble(examInfoDoc.findItem(@quot;operatePassScore@quot;).getValue());@amp;#13;@nbsp;@nbsp;//根据考试规则来判断结果@amp;#13;@nbsp;@nbsp;println(@quot;examRules考试规则@quot;+examRules)@amp;#13;@nbsp;@nbsp;@nbsp;println(@quot;sumScore总成绩@quot;+sumScore)@amp;#13;@nbsp;@nbsp;@nbsp;println(@quot;examStandard合格成绩@quot;+examStandard)@amp;#13;@nbsp;@nbsp;println(@quot;writtenPassScore比赛合格分数@quot;+writtenPassScore)@amp;#13;@nbsp;@nbsp;println(@quot;writtenScore比赛分数@quot;+writtenScore)@amp;#13;@nbsp;@nbsp;@nbsp;println(@quot;operateScore体测分数@quot;+operateScore)@amp;#13;@nbsp;@nbsp;println(@quot;operatePassScore体测合格分数@quot;+operatePassScore)@amp;#13;@nbsp;@nbsp;if(@quot;1@quot;.equals(examRules)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(writtenScore@gt;=writtenPassScore@amp;@amp;operateScore@gt;=operatePassScore){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;进入0@quot;)@amp;#13;@nbsp;@nbsp;if(sumScore@gt;=examStandard){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;/*if(@quot;1@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;0@quot;.equals(isStamina)@nbsp;){//只有理论@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(sumScore@gt;=examStandard){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;0@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;1@quot;.equals(isStamina)@nbsp;){//只有实操@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(sumScore@gt;=examStandard){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@nbsp;else@nbsp;if(@quot;1@quot;.equals(isComputerExam)@nbsp;@amp;@amp;@nbsp;@quot;1@quot;.equals(isStamina)@nbsp;){//都有，按照百分比计算@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;0@quot;.equals(examRules)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(sumScore@gt;=examStandard){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(sumScore@gt;=examStandard){//都有，按照总分计算@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;1@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;0@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;*/@amp;#13;//})()" optionsscript="(function(){@amp;#13;@nbsp;var@nbsp;opts=createOptions();@amp;#13;@nbsp;opts.add(@quot;未考试@quot;,@quot;-@quot;);@amp;#13;@nbsp;opts.add(@quot;不合格@quot;,@quot;0@quot;);@amp;#13;@nbsp;opts.add(@quot;合格@quot;,@quot;1@quot;);@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" readonlyscript="" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="true" instantvalidate="false" mobile="true" secrettext="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext="" hidetype="parent" ishidetype="false"></select><textarea classname="cn.myapps.runtime.dynaform.form.ejb.TextareaField" id="__W1oUWM71riDod8rGPJs" name="writtenRecordMore" readonlyshowvalonly="true" fieldtype="VALUE_TYPE_TEXT" discript="做题记录" validaterule="" valuescript="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" instantvalidate="false" validatelibs="" editmode="01" width="" processdescription="[];[]" refreshmode="0" refreshfields="" textareaheight="" hidetype="parent" ishidetype="false"></textarea>&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__oB3Ny97NyCadQPdwBQC" text="hidden" name="applyId" texttype="hidden" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="报名id" validaterule="" valuescript="" width="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" hidetype="parent" ishidetype="false" />&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__hG3lFvVIUbHtI0Qjj9T" text="text" name="exampersonid" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="考试人员id" validaterule="" valuescript="" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__0P4ZrTx5hUQpPHgqOmi" text="readonly" name="operator" texttype="readonly" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_VARCHAR" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="当前操作人" validaterule="" valuescript="(function(){@amp;#13;var@nbsp;operator@nbsp;=getWebUser().getName()@amp;#13;@amp;#13;println(@quot;ssssssss@quot;+operator)@amp;#13;return@nbsp;operator;@amp;#13;})()@amp;#13;" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /><input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__x3PJhWmcgDzoZ8pXMua" text="text" name="lastscore" texttype="text" hidetype="parent" ishidetype="false" fieldtype="VALUE_TYPE_NUMBER" fieldkeyevent="Tabkey" layout="horizontal" readonlyshowvalonly="true" discript="" validaterule="" valuescript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;lastscore@nbsp;=@nbsp;getItemValueAsString(@quot;writtenScore@quot;);@nbsp;@amp;#13;@nbsp;@nbsp;return@nbsp;lastscore;@amp;#13;})()" width="" hiddenscript="true" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" secrettext="false" defaultvalueisnull="false" numberpattern="00.00" processdescription="[];[]" filtercondition="" instantvalidate="false" validatelibs="" editmode="01" refreshmode="0" refreshfields="" /></p>]]></templatecontext>
  <type>1</type>
  <styleId></styleId>
  <showLog>false</showLog>
  <openComment>false</openComment>
  <commentTitleScript><![CDATA[]]></commentTitleScript>
  <commentFlagScript><![CDATA[]]></commentFlagScript>
  <recordlogForever>false</recordlogForever>
  <showType>old</showType>
  <showWaterMark>false</showWaterMark>
  <waterMarkScript></waterMarkScript>
  <version>1</version>
  <isopenablescript><![CDATA[]]></isopenablescript>
  <iseditablescript><![CDATA[(function() {
  var id = ""
  id = getParameter("exampersonid");
  var mark = getParameter("mark");
  println("mark-------"+mark);
  println("iddddd----"+id)
  if(isNotNull(id)){
    println("id----------"+id);
    var sql = "select a.item_examine,a.item_examState,b.item_scorestate from tlk_system_exam_info a inner join tlk_system_exam_person b on a.id = b.item_examid where b.id = '"+id+"'"
    var datas = queryByDSName("tms",sql);
    println("sql-----------------lymm---"+sql)
    if(datas!=null){
      for(var iterator = datas.iterator();iterator.hasNext();){
        var map1 = iterator.next();//取值
        var examine= map1.get("item_examine");
        var examState = map1.get("item_examState");
        var scorestate = map1.get("item_scorestate");
        if(!"1".equals(examine)&&!"0".equals(examState)&&!"0".equals(scorestate)){
          return false;
        }
      }
    }
    return true;
  }

  //除了北京地区的需要审核其他地区的不需要审核直接通过
  var domainid = getDomainid();
  var sql="select place_of_register_district_name,place_of_register_province_name from baibaodunflow.vw_organization where id='"+domainid+"'";

  var datas = queryByDSName("tms",sql);
  if(datas!=null){//一家公司只有一条数据
    for(var iterator = datas.iterator();iterator.hasNext();){
      var map1 = iterator.next();//取值
      var place_of_register_province_name= map1.get("place_of_register_province_name");
      var place_of_register_district_name= map1.get("place_of_register_district_name");

      println("place_of_register_province_name-----------"+place_of_register_province_name)
      if("北京市".equals(place_of_register_province_name)){

        var examState= getItemValueAsString("examState"); 
        var examine= getItemValueAsString("examine"); 
        println("examState-----------"+examState)
        println("examine-----------"+examine)

        /**
        待提交 0 ：可删除、添加、导出
        待审核 3：返回、导出
        审核通过 1 ：
        审核不通过 2：返回、导出
        **/

        if("0".equals(examState)&&("1".equals(examine))){

          return true;//可编辑
        }else{
          // println("我进考试校验");
          return false;
        }
      }else if("广西壮族自治区".equals(place_of_register_province_name)){
        if("南宁市".equals(place_of_register_district_name)){


          var examState= getItemValueAsString("examState"); 
          var examine= getItemValueAsString("examine"); 

          /**
          待提交 0 ：可删除、添加、导出
          待审核 3：返回、导出
          审核通过 1 ：
          审核不通过 2：返回、导出
          **/

          if("0".equals(examState)&&("1".equals(examine))){

            return true;//可编辑
          }else{
            // println("我进考试校验");
            return false;
          }
        }else{


        }
      }else{//其他地区

      }
    }
  }
})();]]></iseditablescript>
  <mappingStr><![CDATA[{"formName":"enterResuilt","tableName":"","columnMappings":[]}]]></mappingStr>
  <orderno>1</orderno>
  <permissionType>public</permissionType>
</form>