<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<form id="__balzfQQ27SUOpmYIGIS">
  <name>legal_material</name>
  <parentId>__PQhX5OF0mvTydweRvur</parentId>
  <applicationid>__JvOHkqjhV41mUo4ITRv</applicationid>
  <description>文书详情</description>
  <templatecontext><![CDATA[<img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__0tXhf2SjV0SyeaLAaGo" name="填充值" valuescript="@amp;#13;//表单某字段值为当前打开文档Id@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;//原本的文档@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;println(@quot;许可证法人变更文件详情===@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;//println(@quot;oldDoc--》@quot;+oldDoc)@amp;#13;@nbsp;@nbsp;//当前文档@amp;#13;@nbsp;@nbsp;var@nbsp;newDoc=getCurrentDocument();@amp;#13;@amp;#13;@nbsp;@nbsp;//获取所有item@amp;#13;@nbsp;@nbsp;var@nbsp;items=oldDoc.getItemMap();@amp;#13;@nbsp;@nbsp;var@nbsp;entries@nbsp;=@nbsp;items.entrySet().iterator();@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;while(@nbsp;entries.hasNext()@nbsp;){@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;entry@nbsp;=@nbsp;entries.next();@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;key@nbsp;=@nbsp;entry.getKey();@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(newDoc.findItem(key))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;value@nbsp;=@nbsp;entry.getValue();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;newDoc.refreshItem(key,value);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;//println(@quot;我执行了key@quot;+key+@quot;的value@quot;+value)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" calculateonrefresh="false" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__LLFpSUJvWLENtiisW9y" name="根据地区显示内容" valuescript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;oldId@quot;+oldId);@amp;#13;@nbsp;@nbsp;println(@quot;oldDoc@quot;+oldDoc);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@#146;@lt;script@nbsp;type=@quot;text/javascript@quot;@gt;$(@quot;.beijing_hide@quot;).hide();@lt;/script@gt;@#146;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@#146;@lt;script@nbsp;type=@quot;text/javascript@quot;@gt;$(@quot;.hunan_hide@quot;).hide()@lt;/script@gt;@#146;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;陕西省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@#146;@lt;script@nbsp;type=@quot;text/javascript@quot;@gt;$(@quot;.shanxi_hide@quot;).hide()@lt;/script@gt;@#146;;@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" calculateonrefresh="false" />&nbsp;<img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__LFb0OWbsApp7ynKiczv" name="user_approval_level_init" valuescript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;curDoc@nbsp;=@nbsp;getCurrentDocument();@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;ITEM_OFFICEPOLICEIDINDEX=oldDoc.getItemValueAsString(@quot;officePoliceIDIndex@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;//var@nbsp;ids=oldDoc.getId();//表单id@nbsp;@nbsp;@nbsp;@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;//&#9;&#9;var@nbsp;aa@nbsp;=@nbsp;ids.split(@quot;--@quot;);@nbsp;@nbsp;@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;&#9;&#9;var@nbsp;FORMID@nbsp;=@nbsp;oldDoc.getId().split(@quot;--@quot;)[1];@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nb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nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;office_police_ids+=@quot;@#146;)@quot;;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;@nbsp;sql@nbsp;=@nbsp;@quot;SELECT@nbsp;t2.ID@nbsp;FROM@nbsp;tlk_approval_business@nbsp;t1@nbsp;INNER@nbsp;JOIN@nbsp;tlk_approval_main_process@nbsp;t2@nbsp;on@nbsp;t1.id=t2.ITEM_APPROVAL_BUSINESS_ID@nbsp;WHERE@quot;+@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@quot;@nbsp;t2.ITEM_ACTIVE@nbsp;@nbsp;=@nbsp;1@nbsp;and@nbsp;t2.ITEM_OFFICE_POLICE_ID@nbsp;in@nbsp;@quot;+office_police_ids+@quot;@nbsp;and@nbsp;t1.ITEM_FORM_ID=@nbsp;@#146;@quot;+FORMID+@quot;@#146;@nbsp;ORDER@nbsp;BY@nbsp;t2.ITEM_OFFICE_POLICE_INDEX@nbsp;DESC@nbsp;limit@nbsp;1;@quot;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;println(@quot;湖南获取文件上传权限：获取主流程sql---------------@quot;+sql);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;var@nbsp;mainProcessList@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,@nbsp;sql);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;var@nbsp;id@nbsp;=@nbsp;@#146;@#146;;@nbsp;@nbsp;@nbsp;@nbsp;//主流程id@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;@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sp;on@nbsp;u.ITEM_APPROVAL_ROLE_ID@nbsp;=@nbsp;t.id@nbsp;where@nbsp;u.ITEM_USER_ID@nbsp;=@nbsp;@#146;@quot;+@nbsp;getWebUser().getId()@nbsp;+@quot;@#146;;@quot;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;println(@quot;湖南获取文件上传权限：获取审批人sql---------------第二@quot;+sql2);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@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;var@nbsp;userLevelResult@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,@nbsp;sql2);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;firstLevel@nbsp;=@nbsp;false;@nbsp;//判断当前用户是否是第一级审批@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;secondLevel@nbsp;=@nbsp;false;@nbsp;//判断当前用户是否是第二级审批@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if@nbsp;(userLevelResult@nbsp;!=@nbsp;null)@nbsp;{@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;jieguojidaxiao@nbsp;===========@quot;@nbsp;+@nbsp;userLevelResult.size());@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(userLevelResult.size()@nbsp;==@nbsp;2){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;curDoc.refreshItem(@quot;user_approval_level@quot;,@#146;3@#146;);@nbsp;//有第一级和第二级权限@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;if(userLevelResult.size()@nbsp;==@nbsp;1){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;uIterator@nbsp;=@nbsp;userLevelResult.iterator();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;levelMap@nbsp;=@nbsp;uIterator.next();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;nodeOrder@nbsp;=@nbsp;levelMap.get(@quot;nodeOrder@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;stepOrder@nbsp;=@nbsp;levelMap.get(@quot;stepOrder@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(nodeOrder@nbsp;==@nbsp;@#146;1@#146;@nbsp;@amp;@amp;@nbsp;stepOrder@nbsp;==@nbsp;@#146;1@#146;){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;curDoc.refreshItem(@quot;user_approval_level@quot;,@#146;1@#146;);@nbsp;@nbsp;//有第一级权限@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;if((nodeOrder@nbsp;==@nbsp;@#146;1@#146;@nbsp;@amp;@amp;@nbsp;stepOrder@nbsp;==@nbsp;@#146;2@#146;)@nbsp;||@nbsp;(nodeOrder@nbsp;==@nbsp;@#146;2@#146;@nbsp;@amp;@amp;@nbsp;stepOrder@nbsp;==@nbsp;@#146;1@#146;)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;curDoc.refreshItem(@quot;user_approval_level@quot;,@#146;2@#146;);@nbsp;@nbsp;//有第二级权限@amp;#13;@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;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;最后等级@nbsp;===========@quot;@nbsp;+@nbsp;curDoc.getItemValueAsString(@quot;user_approval_level@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}catch(e){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;湖南判断审批人员组件权限异常------@gt;@quot;@nbsp;+@nbsp;e);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" calculateonrefresh="false" />
<table class="mytable" align="center" border="1" cellspacing="1" cellpadding="1" width="100%" height="165" style="border: 1px solid rgb(180, 204, 238);">
    <tbody>
        <tr>
            <td class="mytable_td_line" nowrap="noWrap" colspan="4" style="border: 1px solid rgb(180, 204, 238);">文件<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__kVClGRgxwAHm4Yzoj2g" text="text" name="oldId" 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 class="hunan_hide shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">履职承诺书：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__ncdxWVDphLAQASC6M2Y" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="commitment_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="tableRow" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__CE3kRL0DkMWy3B8HIvN" name="下载1" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/受理通知书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__KIHgZ9boYBuhQZco2oS" name="下载填充1" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;#include@nbsp;@quot;optsLib@quot;;@amp;#13;//表单某字段值为当前打开文档Id@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region=oldDoc.getItemValueAsString(@quot;region@quot;)@amp;#13;@nbsp;@nbsp;var@nbsp;officePoliceIDIndex@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceIDIndex@quot;);@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;code@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;code_number@quot;);@amp;#13;@nbsp;@nbsp;if(!isNotNull(code)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;code=getNumber(officePoliceIDIndex,9,0);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;code_number@quot;).setValue(code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;var@nbsp;data2@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;data2.put(@quot;code@quot;,@nbsp;code);@amp;#13;@nbsp;@nbsp;println(data2)@amp;#13;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/履职承诺书.html@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;filename=@quot;履职承诺书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data2,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@amp;#13;})()" calculateonrefresh="false" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);"><span style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif;">保安服务公司依法依规经营承诺书：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__iS0iF3m3pDJpCKsfMQB" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="law_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__WaOWJKxtfMdnoVqe0fd" name="下载3" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;//println(@quot;oldDoc--@gt;@quot;+oldDoc)@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/保安服务公司依法依规经营承诺书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__HQnTnKisxsIw9IccUqU" name="下载填充3" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;#include@nbsp;@quot;optsLib@quot;;@amp;#13;//表单某字段值为当前打开文档Id@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;officePoliceIDIndex@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceIDIndex@quot;);@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;code@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;code_number@quot;);@amp;#13;@nbsp;@nbsp;if(!isNotNull(code)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;code=getNumber(officePoliceIDIndex,9,0);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;code_number@quot;).setValue(code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;var@nbsp;data3@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;data3.put(@quot;code@quot;,@nbsp;code);@amp;#13;@nbsp;@nbsp;println(data3)@amp;#13;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/保安服务公司依法依规经营承诺书.html@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;filename=@quot;保安服务公司依法依规经营承诺书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data3,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@amp;#13;})()" calculateonrefresh="false" /></td>
        </tr>
        <tr class="shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);"><span style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif;">受理情况：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__fqO7q6SaRI1xtyzs9yy" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="acceptance_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="1" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){&#10;  var region = getItemValueAsString(&quot;region&quot;);&#10;  if(&quot;湖南省&quot;.equals(region)){&#10;   var approvalLevel = getItemValueAsString(&quot;user_approval_level&quot;);&#10;&#10;   if(isNotNull(approvalLevel)){&#10;     if(approvalLevel == '1' || approvalLevel == '3'){&#10;       return false;&#10;     }else{&#10;       return true;&#10;     }&#10;   }else{&#10;     return true;&#10;   }&#10;  }else{&#10;    return false;&#10;  }&#10;})()" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__wr4XwFh2UPg5maNmeJp" name="acceptance_state" discript="签收状态" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;var@nbsp;opts@nbsp;=@nbsp;$TOOLS.createOptions();@amp;#13;var@nbsp;region@nbsp;=@nbsp;getItemValueAsString(@#146;region@#146;);@amp;#13;if(@#146;湖南省@#146;.equals(region)){@amp;#13;@nbsp;@nbsp;opts.add(@#146;待签收@#146;,@#146;待签收@#146;);@amp;#13;@nbsp;@nbsp;opts.add(@#146;已签收@#146;,@#146;已签收@#146;);@amp;#13;}@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" hidetype="parent" ishidetype="false" readonlyscript="true" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" instantvalidate="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__SOrxiphVaueoyqZnEN5" name="下载5" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;status=oldDoc.getStateLabel()@amp;#13;@nbsp;@nbsp;var@nbsp;StartNodeName@nbsp;=@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;(@quot;审批通过@quot;.equals(status)@nbsp;||@nbsp;@quot;审批不通过@quot;.equals(status))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;//审批通过和不通过需要判断是不是第一级@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;flowstateSql@nbsp;=@nbsp;@quot;select@nbsp;startnodename@nbsp;from@nbsp;t_flowhistory@nbsp;where@nbsp;DOC_ID@nbsp;=@nbsp;@#146;@quot;@nbsp;+@nbsp;oldId+@nbsp;@quot;@#146;@nbsp;ORDER@nbsp;BY@nbsp;PROCESSTIME@nbsp;desc@nbsp;limit@nbsp;1@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;最后一个审批节点查询sql========@quot;@nbsp;+@nbsp;flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;StartNodeName@nbsp;=@nbsp;map.get(@quot;startnodename@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;@nbsp;@nbsp;if(@quot;补正@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/补正材料通知书_@quot;+region+@quot;1.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/补正材料通知书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;受理通过@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/受理通知书_@quot;+region+@quot;1.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/受理通知书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;不予受理@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/不予受理通知书_@quot;+region+@quot;1.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/不予受理通知书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;isNotNull(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if((@quot;审批不通过@quot;.equals(status)@nbsp;||@nbsp;@quot;审批通过@quot;.equals(status))@amp;@amp;@nbsp;@quot;一级审批@quot;.equals(StartNodeName)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/受理通知书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__5oGrYPdZNGMR2jKYdgf" name="下载填充" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;#include@nbsp;@quot;optsLib@quot;;@amp;#13;//表单某字段值为当前打开文档Id@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;status=oldDoc.getStateLabel()@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;acceptance_file@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;acceptance_file@quot;);@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;if(isNotNull(acceptance_file)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;StartNodeName@nbsp;=@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;(@quot;审批通过@quot;.equals(status)@nbsp;||@nbsp;@quot;审批不通过@quot;.equals(status))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;//审批通过和不通过需要判断是不是第一级@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;flowstateSql@nbsp;=@nbsp;@quot;select@nbsp;startnodename@nbsp;from@nbsp;t_flowhistory@nbsp;where@nbsp;DOC_ID@nbsp;=@nbsp;@#146;@quot;@nbsp;+@nbsp;oldId+@nbsp;@quot;@#146;@nbsp;ORDER@nbsp;BY@nbsp;PROCESSTIME@nbsp;desc@nbsp;limit@nbsp;1@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;最后一个审批节点查询sql========@quot;@nbsp;+@nbsp;flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;StartNodeName@nbsp;=@nbsp;map.get(@quot;startnodename@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;@nbsp;@nbsp;var@nbsp;officePoliceIDIndex@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceIDIndex@quot;);@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;code@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;code_number@quot;);@amp;#13;@nbsp;@nbsp;if(!isNotNull(code)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;code=getNumber(officePoliceIDIndex,9,0);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;code_number@quot;).setValue(code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;if(@quot;补正@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务（培训）许可证法人变更@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;acceptance_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;acceptance_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;createdYear@quot;,@nbsp;format(created,@quot;yyyy@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;createdMonth@quot;,@nbsp;format(created,@quot;MM@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;createdDay@quot;,@nbsp;format(created,@quot;dd@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;sql@nbsp;=@nbsp;@quot;select@nbsp;ATTITUDE@nbsp;from@nbsp;t_flowhistory@nbsp;where@nbsp;doc_id@nbsp;=@nbsp;@#146;@quot;+oldDoc.getId()+@quot;@#146;@nbsp;order@nbsp;by@nbsp;PROCESSTIME@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,sql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;ATTITUDE@nbsp;=@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;ATTITUDE@nbsp;=@nbsp;map.get(@quot;ATTITUDE@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;ATTITUDE@quot;,@nbsp;ATTITUDE);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/补正材料通知书_@quot;+region+@quot;.html@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;补正材料通知书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;受理通过@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务（培训）许可证法人变更@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;acceptance_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;acceptance_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(data)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/受理通知书_@quot;+region+@quot;.html@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;受理通知书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;不予受理@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;officePoliceAddress@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceAddress@quot;);@nbsp;//监管机构@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;arr@nbsp;=@nbsp;splitText(officePoliceAddress,@nbsp;@quot;/@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(arr.length@gt;1){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;officePoliceAddress=arr[1]@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;officePoliceAddress@quot;,@nbsp;officePoliceAddress.replace(@quot;分局@quot;,@quot;@quot;))@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务（培训）许可证法人变更@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;acceptance_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;acceptance_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;sql@nbsp;=@nbsp;@quot;select@nbsp;ATTITUDE@nbsp;from@nbsp;t_flowhistory@nbsp;where@nbsp;doc_id@nbsp;=@nbsp;@#146;@quot;+oldDoc.getId()+@quot;@#146;@nbsp;order@nbsp;by@nbsp;PROCESSTIME@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,sql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;ATTITUDE@nbsp;=@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;ATTITUDE@nbsp;=@nbsp;map.get(@quot;ATTITUDE@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;ATTITUDE@quot;,@nbsp;ATTITUDE);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(data)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/不予受理通知书_@quot;+region+@quot;.html@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;不予受理通知书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;isNotNull(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if((@quot;审批不通过@quot;.equals(status)@nbsp;||@nbsp;@quot;审批通过@quot;.equals(status))@nbsp;@amp;@amp;@nbsp;@quot;一级审批@quot;.equals(StartNodeName)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;acceptance_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;acceptance_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/受理通知书_@quot;+region+@quot;.html@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;受理通知书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;@amp;#13;@nbsp;@nbsp;}@amp;#13;@amp;#13;})()" calculateonrefresh="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.ButtonField" id="__uxp1svk12YaQy9fgb6j" type="button" value="go01" name="go01" label="签章" colortype="" hiddenscript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;当前是--》@quot;+region)@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false@amp;#13;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" calculateonrefresh="false" mobile="true" hidetype="parent" ishidetype="false" filenamescript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" statetoshow="" approvelimit="" beforeactionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" afteractionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" datafield="" signaturetype="HTML" signatureaction="signature" actiondispatcherurlscript="" actiontype="" actionscript="" dispatcherurl="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;docid@nbsp;=@nbsp;getId();@amp;#13;@nbsp;@nbsp;var@nbsp;printUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;签章服务域名@quot;,@nbsp;@quot;signatureUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;localUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;当前环境Url@quot;,@nbsp;@quot;localUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;type=@quot;01@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;business_no=docid+type@amp;#13;@nbsp;@nbsp;var@nbsp;business_user_id=getWebUser().getLoginno()+@quot;,@quot;+getWebUser().getName()@amp;#13;@nbsp;@nbsp;var@nbsp;resourceFile@nbsp;=@nbsp;getItemValueAsString(@quot;acceptance_file@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;path=@quot;@quot;@amp;#13;@nbsp;@nbsp;if(resourceFile!=@quot;@quot;){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;str@nbsp;=@nbsp;eval(@#146;@#146;+resourceFile+@#146;@#146;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(str@nbsp;!=@nbsp;null){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;path=str[0].path@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@#146;-1@#146;.equals(path.indexOf(@#146;http@#146;))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;path=localUrl+@quot;/obpm@quot;+@nbsp;str[0].path@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;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;printUrl+@quot;/document/signature/multBrowser?business_no=@quot;+business_no+@quot;@amp;business_user_id=@quot;+business_user_id+@quot;@amp;use_seal_explain=pdf文书盖章@amp;documentPath=@quot;+path@amp;#13;})()@amp;#13;" dispatchermode="0" dispatcherparams="[]" acttype="43" actionview="" actionform="" actionflow="" relatedformid="" transpond="" actionprint="" jumptype="0" jumpmode="1" jumpactopentype="3" targetlist="" flowmode="2" withold="false" startflowscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" flowshowtype="ST01" refreshmode="0" refreshfields="" impmappingconfigid="" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);"><span style="color: rgb(51, 51, 51); font-family: &quot;Arial Normal&quot;, Arial, sans-serif;">许可情况：</span></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__DlbUY68vWdkRRJGjjmZ" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="notice_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="1" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){&#10;  var oldId=getParameter(&quot;oldId&quot;);&#10;  var oldDoc=findDocument(oldId);&#10;  var region = oldDoc.getItemValueAsString(&quot;region&quot;);&#10;  if(&quot;湖南省&quot;.equals(region)){&#10;    var approvalLevel = getItemValueAsString(&quot;user_approval_level&quot;);&#10;    if(isNotNull(approvalLevel)){&#10;      if(approvalLevel == '2' || approvalLevel == '3'){&#10;        return false;&#10;      }else{&#10;        return true;&#10;      }&#10;    }else{&#10;      return true;&#10;    }&#10;  }else if(&quot;北京市&quot;.equals(region)){&#10;    return true;&#10;  }else{&#10;    return false;&#10;  }&#10;})()" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__1nmfOtOZdo4jUApvDjs" name="notice_state" discript="签收状态" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;var@nbsp;opts@nbsp;=@nbsp;$TOOLS.createOptions();@amp;#13;var@nbsp;region@nbsp;=@nbsp;getItemValueAsString(@#146;region@#146;);@amp;#13;if(@#146;湖南省@#146;.equals(region)){@amp;#13;@nbsp;@nbsp;opts.add(@#146;待签收@#146;,@#146;待签收@#146;);@amp;#13;@nbsp;@nbsp;opts.add(@#146;已签收@#146;,@#146;已签收@#146;);@amp;#13;}@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" hidetype="parent" ishidetype="false" readonlyscript="true" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" instantvalidate="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__CqksJik5ewgsYfWcsNF" name="下载6" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;status=oldDoc.getStateLabel()@amp;#13;@nbsp;@nbsp;//湖南法人变更（2）和服务公司设立许可（1）不是用的一个模板，所以还得加地区判断@amp;#13;@nbsp;@nbsp;if(@quot;审批通过@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/批准决定书法人变更_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/批准决定书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;审批不通过@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/不予许可决定书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;isNotNull(status)@amp;@amp;@nbsp;!@quot;补正@quot;.equals(status)@nbsp;@amp;@amp;@nbsp;!@quot;不予受理@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/批准决定书_@quot;+region+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__hFXVGc6mn6axkpDAZmI" name="下载填充6" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;#include@nbsp;@quot;optsLib@quot;;@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getItemValueAsString(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;notice_file@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;notice_file@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;if(isNotNull(notice_file)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;println(@quot;oldDoc--》@quot;+oldDoc)@amp;#13;@nbsp;@nbsp;var@nbsp;officePoliceIDIndex@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceIDIndex@quot;);@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;code@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;s_code_number@quot;);@amp;#13;@nbsp;@nbsp;if(!isNotNull(code)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;code=getNumber(officePoliceIDIndex,9,3);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;s_code_number@quot;).setValue(code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;status=oldDoc.getStateLabel();@amp;#13;@nbsp;@nbsp;println(@quot;当前状态--》@quot;+status);@amp;#13;@nbsp;@nbsp;var@nbsp;StartNodeName@nbsp;=@nbsp;@quot;@quot;;@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;(@quot;审批通过@quot;.equals(status)@nbsp;||@nbsp;@quot;审批不通过@quot;.equals(status))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;//审批通过和不通过需要判断是不是第一级@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;flowstateSql@nbsp;=@nbsp;@quot;select@nbsp;startnodename@nbsp;from@nbsp;t_flowhistory@nbsp;where@nbsp;DOC_ID@nbsp;=@nbsp;@#146;@quot;@nbsp;+@nbsp;oldId+@nbsp;@quot;@#146;@nbsp;ORDER@nbsp;BY@nbsp;PROCESSTIME@nbsp;desc@nbsp;limit@nbsp;1@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;println(@quot;最后一个审批节点查询sql========@quot;@nbsp;+@nbsp;flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;datas@nbsp;=@nbsp;queryByDSName(@quot;securityflow@quot;,flowstateSql);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(datas!=null){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;for(var@nbsp;iterator@nbsp;=@nbsp;datas.iterator();iterator.hasNext();){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;map@nbsp;=@nbsp;iterator.next();//取值@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;StartNodeName@nbsp;=@nbsp;map.get(@quot;startnodename@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;if(@quot;审批通过@quot;.equals(status)@nbsp;||@nbsp;(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;@quot;审批不通过@quot;.equals(status)@nbsp;@amp;@amp;@nbsp;!@quot;一级审批@quot;.equals(StartNodeName))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;code2@nbsp;=oldDoc.getItemValueAsString(@quot;securityTrainPermitNo@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code2@quot;,code2);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;over_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;over_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;address=oldDoc.getItemValueAsString(@quot;address@quot;)//办公地址@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;address@quot;,@nbsp;address);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;legalName=oldDoc.getItemValueAsString(@quot;legalName@quot;)//法定代表人@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;legalName@quot;,@nbsp;legalName);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;registeredCapital=oldDoc.getItemValueAsString(@quot;registeredCapital@quot;)//注册资本@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;registeredCapital@quot;,@nbsp;registeredCapital);@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务（培训）许可证法人变更@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,@nbsp;format(getToday(),@quot;yyyy年MM月dd日@quot;));//申请时间@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;htmPath=@quot;/uploads/htmltemplate/批准决定书法人_@quot;+region+@quot;.html@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;htmPath=@quot;/uploads/htmltemplate/批准决定书_@quot;+region+@quot;.html@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;批准决定书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;}else@nbsp;if(@quot;审批不通过@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;&#9;&#9;&#9;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务（培训）许可证法人变更@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;over_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;over_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;officePoliceAddress@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;officePoliceAddress@quot;);@nbsp;//监管机构@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;arr@nbsp;=@nbsp;splitText(officePoliceAddress,@nbsp;@quot;/@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(arr.length@gt;1){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;officePoliceAddress=arr[1]@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;officePoliceAddress@quot;,@nbsp;officePoliceAddress.replace(@quot;分局@quot;,@quot;@quot;))@amp;#13;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/不予许可决定书_@quot;+region+@quot;.html@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;不予许可决定书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@amp;#13;@nbsp;@nbsp;}else{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)@nbsp;@amp;@amp;@nbsp;isNotNull(status)@nbsp;@amp;@amp;@nbsp;!@quot;补正@quot;.equals(status)@nbsp;@amp;@amp;@nbsp;!@quot;不予受理@quot;.equals(status)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;data@nbsp;=@nbsp;new@nbsp;Packages.java.util.HashMap();@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;code2@nbsp;=oldDoc.getItemValueAsString(@quot;securityTrainPermitNo@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code2@quot;,code2);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;code@quot;,@nbsp;code);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;companyName=oldDoc.getItemValueAsString(@quot;companyName@quot;)//公司名称@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;companyName@quot;,@nbsp;companyName);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;created=oldDoc.getCreated()@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;created@quot;,@nbsp;format(created,@quot;yyyy年MM月dd日@quot;));@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;acceptance_time=oldDoc.getItemValueAsDate(@quot;over_time@quot;)//审核时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(isNotNull(acceptance_time)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(acceptance_time,@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;acceptance_time=format(getToday(),@quot;yyyy年MM月dd日@quot;)@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;oldDoc.findItem(@quot;over_time@quot;).setValue(acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;process@nbsp;=@nbsp;getDocumentProcess();@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;process.doUpdate(oldDoc);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,acceptance_time);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;address=oldDoc.getItemValueAsString(@quot;address@quot;)//办公地址@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;address@quot;,@nbsp;address);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;legalName=oldDoc.getItemValueAsString(@quot;legalName@quot;)//法定代表人@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;legalName@quot;,@nbsp;legalName);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;registeredCapital=oldDoc.getItemValueAsString(@quot;registeredCapital@quot;)//注册资本@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;registeredCapital@quot;,@nbsp;registeredCapital);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;sevicePermitType@quot;,@nbsp;@quot;保安服务公司法定代表人变更许可@quot;);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;data.put(@quot;applicant_time@quot;,@nbsp;format(getToday(),@quot;yyyy年MM月dd日@quot;));//申请时间@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;htmPath=@quot;/uploads/htmltemplate/批准决定书_@quot;+region+@quot;.html@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filename=@quot;批准决定书_@quot;+companyName+splitString(oldId,@nbsp;@quot;--@quot;)[0]+@quot;.pdf@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;pdfPath=@quot;/uploads/resource/securityCompany/@quot;+filename;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;returnCode@nbsp;=@nbsp;htmlToPdf(data,htmPath,pdfPath);@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+pdfPath;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载填充模板@lt;/a@gt;@quot;;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;@quot;@quot;@amp;#13;@nbsp;@nbsp;}@amp;#13;@amp;#13;})()" calculateonrefresh="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.ButtonField" id="__EUwDO2eNdLRoWaeXf9Q" type="button" value="go02" name="go02" label="签章" colortype="" hiddenscript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;当前是--》@quot;+region)@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false@amp;#13;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" calculateonrefresh="false" mobile="false" hidetype="parent" ishidetype="false" filenamescript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" statetoshow="" approvelimit="" beforeactionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" afteractionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" datafield="" signaturetype="HTML" signatureaction="signature" actiondispatcherurlscript="" actiontype="" actionscript="" dispatcherurl="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;docid@nbsp;=@nbsp;getId();@amp;#13;@nbsp;@nbsp;var@nbsp;printUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;签章服务域名@quot;,@nbsp;@quot;signatureUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;localUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;当前环境Url@quot;,@nbsp;@quot;localUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;type=@quot;02@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;business_no=docid+type@amp;#13;@nbsp;@nbsp;var@nbsp;business_user_id=getWebUser().getLoginno()+@quot;,@quot;+getWebUser().getName()@amp;#13;@nbsp;@nbsp;var@nbsp;resourceFile@nbsp;=@nbsp;getItemValueAsString(@quot;notice_file@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;path=@quot;@quot;@amp;#13;@nbsp;@nbsp;if(resourceFile!=@quot;@quot;){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;str@nbsp;=@nbsp;eval(@#146;@#146;+resourceFile+@#146;@#146;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(str@nbsp;!=@nbsp;null){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;path=str[0].path@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@#146;-1@#146;.equals(path.indexOf(@#146;http@#146;))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;path=localUrl+@quot;/obpm@quot;+@nbsp;str[0].path@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;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;printUrl+@quot;/document/signature/multBrowser?business_no=@quot;+business_no+@quot;@amp;business_user_id=@quot;+business_user_id+@quot;@amp;use_seal_explain=pdf文书盖章@amp;documentPath=@quot;+path@amp;#13;})()@amp;#13;" dispatchermode="0" dispatcherparams="[]" acttype="43" actionview="" actionform="" actionflow="" relatedformid="" transpond="" actionprint="" jumptype="0" jumpmode="1" jumpactopentype="3" targetlist="" flowmode="2" withold="false" startflowscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" flowshowtype="ST01" refreshmode="0" refreshfields="" impmappingconfigid="" /></td>
        </tr>
        <tr class="beijing_hide shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">公安机关对拟任保安服务公司法定代表人和主要管理人员工作经验核查表：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__TZ6gEr3O0y3CnhCdtRt" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="manage_check_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){&#10;  var region = getItemValueAsString(&quot;region&quot;);&#10;  if(&quot;湖南省&quot;.equals(region)){&#10;   var approvalLevel = getItemValueAsString(&quot;user_approval_level&quot;);&#10;   if(isNotNull(approvalLevel)){&#10;     if(approvalLevel == '2' || approvalLevel == '3'){&#10;       return false;&#10;     }else{&#10;       return true;&#10;     }&#10;   }else{&#10;     return true;&#10;   }&#10;  }else{&#10;    return false;&#10;  }&#10;})()" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__jtNxDPHxLE69rZyd9WB" name="下载7" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/公安机关对拟任保安服务公司法定代表人和主要管理人员工作经验核查表_@quot;+region+@quot;.docx@quot;;@amp;#13;@nbsp;@nbsp;println(@quot;filePath@quot;+filePath);@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.ButtonField" id="__R12qxproSuneoI7TnaQ" type="button" value="go03" name="go03" label="签章" colortype="" hiddenscript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;当前是--》@quot;+region)@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false@amp;#13;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" calculateonrefresh="false" mobile="true" hidetype="parent" ishidetype="false" filenamescript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" statetoshow="" approvelimit="" beforeactionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" afteractionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" datafield="" signaturetype="HTML" signatureaction="signature" actiondispatcherurlscript="" actiontype="" actionscript="" dispatcherurl="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;docid@nbsp;=@nbsp;getId();@amp;#13;@nbsp;@nbsp;var@nbsp;printUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;签章服务域名@quot;,@nbsp;@quot;signatureUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;localUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;当前环境Url@quot;,@nbsp;@quot;localUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;type=@quot;03@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;business_no=docid+type@amp;#13;@nbsp;@nbsp;var@nbsp;business_user_id=getWebUser().getLoginno()+@quot;,@quot;+getWebUser().getName()@amp;#13;@nbsp;@nbsp;var@nbsp;resourceFile@nbsp;=@nbsp;getItemValueAsString(@quot;manage_check_file@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;path=@quot;@quot;@amp;#13;@nbsp;@nbsp;if(resourceFile!=@quot;@quot;){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;str@nbsp;=@nbsp;eval(@#146;@#146;+resourceFile+@#146;@#146;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(str@nbsp;!=@nbsp;null){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;path=str[0].path@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@#146;-1@#146;.equals(path.indexOf(@#146;http@#146;))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;path=localUrl+@quot;/obpm@quot;+@nbsp;str[0].path@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;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;printUrl+@quot;/document/signature/multBrowser?business_no=@quot;+business_no+@quot;@amp;business_user_id=@quot;+business_user_id+@quot;@amp;use_seal_explain=pdf文书盖章@amp;documentPath=@quot;+path@amp;#13;})()@amp;#13;" dispatchermode="0" dispatcherparams="[]" acttype="43" actionview="" actionform="" actionflow="" relatedformid="" transpond="" actionprint="" jumptype="0" jumpmode="1" jumpactopentype="3" targetlist="" flowmode="2" withold="false" startflowscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" flowshowtype="ST01" refreshmode="0" refreshfields="" impmappingconfigid="" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">&nbsp;</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;</td>
        </tr>
        <tr class="beijing_hide shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">﻿公安下发办结告知书：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__wPlEQlZxtOYltbWZN2S" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="public_completion_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){&#10;  var region = getItemValueAsString(&quot;region&quot;);&#10;  if(&quot;湖南省&quot;.equals(region)){&#10;   var approvalLevel = getItemValueAsString(&quot;user_approval_level&quot;);&#10;   if(isNotNull(approvalLevel)){&#10;     if(approvalLevel == '2' || approvalLevel == '3'){&#10;       return false;&#10;     }else{&#10;       return true;&#10;     }&#10;   }else{&#10;     return true;&#10;   }&#10;  }else{&#10;    return false;&#10;  }&#10;})()" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__2aFloBQHiA2XYWEegSV" name="completion_state" discript="签收状态" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;var@nbsp;opts@nbsp;=@nbsp;$TOOLS.createOptions();@nbsp;//创建指定类对象@amp;#13;opts.add(@quot;待签收@quot;,@quot;待签收@quot;);@amp;#13;opts.add(@quot;已签收@quot;,@quot;已签收@quot;);@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" hidetype="parent" ishidetype="false" readonlyscript="true" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" instantvalidate="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__dRat4SNs76pj8eH3JTG" name="下载9" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/办结告知书_@quot;+region+@quot;.docx@quot;;@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.ButtonField" id="__38dkyjta05XC3lZu944" type="button" value="go04" name="go04" label="签章" colortype="" hiddenscript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;当前是--》@quot;+region)@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false@amp;#13;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" calculateonrefresh="false" mobile="true" hidetype="parent" ishidetype="false" filenamescript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" statetoshow="" approvelimit="" beforeactionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" afteractionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" datafield="" signaturetype="HTML" signatureaction="signature" actiondispatcherurlscript="" actiontype="" actionscript="" dispatcherurl="&#9;&#9;&#9;&#9;&#9;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;docid@nbsp;=@nbsp;getId();@amp;#13;@nbsp;@nbsp;var@nbsp;printUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;签章服务域名@quot;,@nbsp;@quot;signatureUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;localUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;当前环境Url@quot;,@nbsp;@quot;localUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;type=@quot;04@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;business_no=docid+type@amp;#13;@nbsp;@nbsp;var@nbsp;business_user_id=getWebUser().getLoginno()+@quot;,@quot;+getWebUser().getName()@amp;#13;@nbsp;@nbsp;var@nbsp;resourceFile@nbsp;=@nbsp;getItemValueAsString(@quot;public_completion_file@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;path=@quot;@quot;@amp;#13;@nbsp;@nbsp;if(resourceFile!=@quot;@quot;){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;str@nbsp;=@nbsp;eval(@#146;@#146;+resourceFile+@#146;@#146;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(str@nbsp;!=@nbsp;null){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;path=str[0].path@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@#146;-1@#146;.equals(path.indexOf(@#146;http@#146;))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;path=localUrl+@quot;/obpm@quot;+@nbsp;str[0].path@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;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;printUrl+@quot;/document/signature/multBrowser?business_no=@quot;+business_no+@quot;@amp;business_user_id=@quot;+business_user_id+@quot;@amp;use_seal_explain=pdf文书盖章@amp;documentPath=@quot;+path@amp;#13;})()@amp;#13;" dispatchermode="0" dispatcherparams="[]" acttype="43" actionview="" actionform="" actionflow="" relatedformid="" transpond="" actionprint="" jumptype="0" jumpmode="1" jumpactopentype="3" targetlist="" flowmode="2" withold="false" startflowscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" flowshowtype="ST01" refreshmode="0" refreshfields="" impmappingconfigid="" /></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">企业回传办结告知书：﻿</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="http://localhost:89/designer/image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__rNZM7fsYShO5eHiXN5f" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="enterprise_completion_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="true" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /></td>
        </tr>
        <tr class="beijing_hide shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">公安下发回传行政许可文书送达回证：</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__eAH7f9RoTQpkHdRrDxs" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="public_reach_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="(function(){&#10;  var region = getItemValueAsString(&quot;region&quot;);&#10;  if(&quot;湖南省&quot;.equals(region)){&#10;   var approvalLevel = getItemValueAsString(&quot;user_approval_level&quot;);&#10;   if(isNotNull(approvalLevel)){&#10;     if(approvalLevel == '2' || approvalLevel == '3'){&#10;       return false;&#10;     }else{&#10;       return true;&#10;     }&#10;   }else{&#10;     return true;&#10;   }&#10;  }else{&#10;    return false;&#10;  }&#10;})()" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__39iZ4mUfR6U8zCoLFLb" name="reach_state" discript="签收状态" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;var@nbsp;opts@nbsp;=@nbsp;$TOOLS.createOptions();@nbsp;//创建指定类对象@amp;#13;opts.add(@quot;待签收@quot;,@quot;待签收@quot;);@amp;#13;opts.add(@quot;已签收@quot;,@quot;已签收@quot;);@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" hidetype="parent" ishidetype="false" readonlyscript="true" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" instantvalidate="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select><img src="../image/form/calctextfield.gif" classname="cn.myapps.runtime.dynaform.form.ejb.CalctextField" id="__jWJ1iR2JjHbw7RGUK41" name="下载11" valuescript="#include@nbsp;@quot;util@quot;;@amp;#13;(function(){@amp;#13;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;if(@quot;北京市@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;var@nbsp;filePath=getServerAndPort()+@quot;/uploads/onlineWord/行政许可文书送达回证_@quot;+region+@quot;.doc@quot;;@amp;#13;@nbsp;@nbsp;return@nbsp;@quot;@lt;a@nbsp;href=@#146;@quot;+filePath+@quot;@#146;@nbsp;style=@#146;color:blue;display:@nbsp;inline-block;@#146;@nbsp;target=@#146;_blank@#146;@gt;点击下载空白模板@lt;/a@gt;@quot;;@amp;#13;})()" calculateonrefresh="false" /><input classname="cn.myapps.runtime.dynaform.form.ejb.ButtonField" id="__QUsbXB1lKSdnzZNe72i" type="button" value="go05" name="go05" label="签章" colortype="" hiddenscript="(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;oldId=getParameter(@quot;oldId@quot;);@amp;#13;@nbsp;@nbsp;var@nbsp;oldDoc=findDocument(oldId);@amp;#13;@nbsp;@nbsp;var@nbsp;region@nbsp;=@nbsp;oldDoc.getItemValueAsString(@quot;region@quot;);@amp;#13;@nbsp;@nbsp;println(@quot;当前是--》@quot;+region)@amp;#13;@nbsp;@nbsp;if(@quot;湖南省@quot;.equals(region)){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;false@amp;#13;@nbsp;@nbsp;}else@nbsp;{@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;return@nbsp;true@amp;#13;@nbsp;@nbsp;}@amp;#13;})()" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="" refreshonchanged="false" calculateonrefresh="false" mobile="false" hidetype="parent" ishidetype="false" filenamescript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" statetoshow="" approvelimit="" beforeactionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" afteractionscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" datafield="" signaturetype="HTML" signatureaction="signature" actiondispatcherurlscript="" actiontype="" actionscript="" dispatcherurl="&#9;&#9;&#9;&#9;&#9;(function(){@amp;#13;@nbsp;@nbsp;var@nbsp;docid@nbsp;=@nbsp;getId();@amp;#13;@nbsp;@nbsp;var@nbsp;printUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;签章服务域名@quot;,@nbsp;@quot;signatureUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;localUrl=getSettingValueByCategoryAndKeyWithExpired(@quot;当前环境Url@quot;,@nbsp;@quot;localUrl@quot;,@nbsp;60);@amp;#13;@nbsp;@nbsp;var@nbsp;type=@quot;05@quot;@amp;#13;@nbsp;@nbsp;var@nbsp;business_no=docid+type@amp;#13;@nbsp;@nbsp;var@nbsp;business_user_id=getWebUser().getLoginno()+@quot;,@quot;+getWebUser().getName()@amp;#13;@nbsp;@nbsp;var@nbsp;resourceFile@nbsp;=@nbsp;getItemValueAsString(@quot;public_reach_file@quot;);@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;var@nbsp;path=@quot;@quot;@amp;#13;@nbsp;@nbsp;if(resourceFile!=@quot;@quot;){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;str@nbsp;=@nbsp;eval(@#146;@#146;+resourceFile+@#146;@#146;);@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;if(str@nbsp;!=@nbsp;null){@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;var@nbsp;path=str[0].path@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;if(@#146;-1@#146;.equals(path.indexOf(@#146;http@#146;))){@amp;#13;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;@nbsp;path=localUrl+@quot;/obpm@quot;+@nbsp;str[0].path@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;@amp;#13;@nbsp;@nbsp;}@amp;#13;@nbsp;@nbsp;return@nbsp;printUrl+@quot;/document/signature/multBrowser?business_no=@quot;+business_no+@quot;@amp;business_user_id=@quot;+business_user_id+@quot;@amp;use_seal_explain=pdf文书盖章@amp;documentPath=@quot;+path@amp;#13;})()@amp;#13;" dispatchermode="0" dispatcherparams="[]" acttype="43" actionview="" actionform="" actionflow="" relatedformid="" transpond="" actionprint="" jumptype="0" jumpmode="1" jumpactopentype="3" targetlist="" flowmode="2" withold="false" startflowscript="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;" flowshowtype="ST01" refreshmode="0" refreshfields="" impmappingconfigid="" /><a id="fck_paste_padding">﻿</a></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">企业回传行政许可文书送达回证：<a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="http://localhost:89/designer/image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__iyQUayzclTvPwv6hJJY" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="enterprise_reach_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="true" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a></td>
        </tr>
        <tr class="beijing_hide shanxi_hide">
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);"><a id="fck_paste_padding">
            <div data-zone-id="0" data-line-index="0" data-line="true" style="white-space: pre-wrap; display: inline !important;">保安服务许可证：</div>
            </a></td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;<img src="../image/form/attachment.gif" classname="cn.myapps.runtime.dynaform.form.ejb.AttachmentUploadField" id="__4btJaXzhWi7LooFhuo0" type="attachmentupload" fieldtype="VALUE_TYPE_TEXT" openwatermark="false" watermarksupportmode="" watermarkscript="" name="service_file" validaterule="" instantvalidate="false" validatelibs="" limitsize="" limitnumber="10" refreshonchanged="false" calculateonrefresh="false" readonlyshowvalonly="true" mobile="true" previewedit="true" showtrackrevisions="true" showusernameanddate="true" supportsorting="false" discript="" hidetype="parent" ishidetype="false" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" readonlyscript="true" filepattern="00" filecatalog="" filetype="00" refreshmode="0" refreshfields="" customizetype="" selecteditplug="tray" /><select classname="cn.myapps.runtime.dynaform.form.ejb.SelectField" id="__Fbe3ozB0ZYru1p1vORF" name="service_state" discript="签收状态" layout="horizontal" readonlyshowvalonly="true" valuescript="" optionsscript="(function(){@amp;#13;var@nbsp;opts@nbsp;=@nbsp;$TOOLS.createOptions();@nbsp;//创建指定类对象@amp;#13;opts.add(@quot;待签收@quot;,@quot;待签收@quot;);@amp;#13;opts.add(@quot;已签收@quot;,@quot;已签收@quot;);@amp;#13;return@nbsp;opts;@amp;#13;})()" validaterule="" hiddenscript="" hiddenvalue="" hiddenprintscript="" printhiddenvalue="" texttype="text" hidetype="parent" ishidetype="false" readonlyscript="true" fieldtype="VALUE_TYPE_VARCHAR" processdescription="[];[]" filtercondition="" refreshonchanged="false" isdefaultvalue="false" calculateonrefresh="false" mobile="true" instantvalidate="false" multiselect="false" validatelibs="" editmode="01" width="" optionseditmode="01" dialogview="" module="" optionsvalue="" refreshmode="0" refreshfields="" optionstext=""></select><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a><a id="fck_paste_padding">﻿</a></td>
            <td class="mytable_td_title" nowrap="noWrap" style="border: 1px solid rgb(180, 204, 238);">&nbsp;</td>
            <td class="mytable_td_content" style="border: 1px solid rgb(180, 204, 238);">&nbsp;</td>
        </tr>
    </tbody>
</table>
<p>&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__KKWkbHEdtuf39xtonJB" text="hidden" name="user_approval_level" texttype="hidden" hidetype="parent" ishidetype="false" 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="" />&nbsp;<input classname="cn.myapps.runtime.dynaform.form.ejb.InputField" id="__TFeIfdwbZ17yQkHmFJj" text="hidden" name="region" texttype="hidden" hidetype="parent" ishidetype="false" 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="" /></p>
<br />]]></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[]]></iseditablescript>
  <mappingStr><![CDATA[{"formName":"legal_material","tableName":"","columnMappings":[]}]]></mappingStr>
  <orderno>1</orderno>
  <permissionType>public</permissionType>
</form>