to_update.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <style>
  4. .panel-heading{
  5. color:#333;
  6. background-color:#f5f5f5;
  7. border-color:#ddd
  8. }
  9. .spacing {
  10. margin-bottom: 10px;
  11. padding-right:4px;
  12. padding-left: 4px;
  13. }
  14. .has-feedback label~.form-control-feedback{
  15. top: 35px;
  16. }
  17. .table .td-label{
  18. display: block;
  19. text-align: left;
  20. border-bottom: 1px solid #ccc;
  21. margin-bottom: 10px;
  22. }
  23. .word-wrap{
  24. width:100%;
  25. white-space:normal;
  26. word-wrap:break-word;
  27. word-break:break-all;
  28. }
  29. </style>
  30. <div class="ibox float-e-margins">
  31. <div class="ibox-content">
  32. <form id="ecr_form" class="form-horizontal" target="hiddenIframe" action="" method="post" enctype="multipart/form-data">
  33. <input type="hidden" id="special" name="special" value="{$ecr.special}"/>
  34. <input type="hidden" id="enterprise_id" name="enterprise_id" value="{$ecr.mainId}"/>
  35. <input type="hidden" id="id" name="id" value="{$ecr.id}"/>
  36. <input type="hidden" id="type" name="type" value="{$ecr.type}"/>
  37. <input type="hidden" id="checkState" name="checkState" value="{$ecr.checkState}"/>
  38. <input type="hidden" id="fields" name="fields" value="{$ecr.modify_fields}"/>
  39. <input type="hidden" id="files" name="files" value="{$ecr.modify_files}"/>
  40. <div class="form-horizontal">
  41. <div class="panel panel-default">
  42. <div class="panel-heading">基础信息</div>
  43. <div class="panel-body">
  44. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  45. <tr>
  46. <td>
  47. <div class="rowGroup">
  48. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}名称</label>
  49. <input autocomplete="off" type="text" class="form-control" id="newName" name="newName" value="{$ecr.newName}"/>
  50. </div>
  51. </td>
  52. <td>
  53. <div class="rowGroup">
  54. <label class=" control-label spacing td-label"><span style="color: red">*</span>统一社会信用代码</label>
  55. <input autocomplete="off" type="text" class="form-control" id="newIdCard" name="newIdCard" value="{$ecr.newIdCard}"/>
  56. </div>
  57. </td>
  58. <td>
  59. <div class="rowGroup">
  60. <label class=" control-label spacing td-label"><span style="color: red">*</span>法人代表</label>
  61. <input autocomplete="off" type="text" class="form-control" id="newLegal" name="newLegal" value="{$ecr.newLegal}"/>
  62. </div>
  63. </td>
  64. <td rowspan="2" style="position:relative;">
  65. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#imgurl').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  66. <label class="control-label spacing"><span class="text-danger">*</span>{eq name="ecr.special" value="0"}营业执照{else/}事业单位法人证或批文{/eq}</label>
  67. {if condition="$ecr['newImgurl']"}
  68. {eq name="ecr.imgurl_is_img" value="1"}
  69. <img src="{$ecr.newImgurl|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)">
  70. {else/}
  71. <img src="/static/img/Pdf.png" style="height: 60px;" onclick="Feng.showPdf('{$ecr.newImgurl|getStoragePath}', 'imgurl')">
  72. {/eq}
  73. {else/}
  74. <img src="/static/img/yyzz.png" style="height: 60px;">
  75. {/if}
  76. <input style="display: none" autocomplete="off" type="file" class="form-control" id="imgurl" name="imgurl" />
  77. </td>
  78. </tr>
  79. <tr>
  80. <td>
  81. <div class="rowGroup">
  82. <label class=" control-label spacing td-label"><span style="color: red">*</span>所属街道</label>
  83. <select class="form-control" id="newStreet" name="newStreet" value="{$ecr.newStreet}"></select>
  84. </div>
  85. </td>
  86. <td>
  87. <div class="rowGroup">
  88. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}地址</label>
  89. <input autocomplete="off" type="text" class="form-control" id="newAddress" name="newAddress" value="{$ecr.newAddress}"/>
  90. </div>
  91. </td>
  92. <td>
  93. <div class="rowGroup">
  94. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}电话</label>
  95. <input autocomplete="off" type="text" class="form-control" id="newEphone" name="newEphone" placeholder="固话格式0595xxxx" value="{$ecr.newEphone}"/>
  96. </div>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td>
  101. <div class="rowGroup">
  102. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}银行账号</label>
  103. <input autocomplete="off" type="text" class="form-control" id="newBankCard" name="newBankCard" value="{$ecr.newBankCard}"/>
  104. </div>
  105. </td>
  106. <td>
  107. <div class="rowGroup">
  108. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}开户银行</label>
  109. <input autocomplete="off" type="text" class="form-control" id="newBank" name="newBank" value="{$ecr.newBank}"/>
  110. </div>
  111. </td>
  112. <td>
  113. <div class="rowGroup">
  114. <label class=" control-label spacing td-label"><span style="color: red">*</span>{eq name="ecr.special" value="0"}企业{else/}单位{/eq}开户银行网点</label>
  115. <input autocomplete="off" type="text" class="form-control" id="newBankNetwork" name="newBankNetwork" placeholder="XX银行XX支行/分行/分理处" value="{$ecr.newBankNetwork}"/>
  116. </div>
  117. </td>
  118. <td style="position:relative;">
  119. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#bankImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  120. <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
  121. {if condition="$ecr['newBankImg']"}
  122. {eq name="ecr.bankImg_is_img" value="1"}
  123. <img src="{$ecr.newBankImg|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  124. {else/}
  125. <img src="/static/img/Pdf.png" style="height: 60px;" onclick="Feng.showPdf('{$ecr.newBankImg|getStoragePath}', 'bankImg')">
  126. {/eq}
  127. {else/}
  128. <img src="/static/img/yyzz.png" style="height: 60px;">
  129. {/if}
  130. <input style="display: none" autocomplete="off" type="file" class="form-control" id="bankImg" name="bankImg" />
  131. </td>
  132. </tr>
  133. </table>
  134. </div>
  135. </div>
  136. {if condition="$ecr['special'] eq 0"}
  137. <div class="panel panel-default">
  138. <div class="panel-heading">申报基础信息</div>
  139. <div class="panel-body">
  140. <div class="row">
  141. <div class="rowGroup" >
  142. <label class="col-sm-1 control-label spacing"><span class="text-danger">*</span>申报类型</label>
  143. <div class="col-sm-4 spacing">
  144. <div class="form-control" disabled="disabled">
  145. {switch name="ecr.type"}
  146. {case value="1"}晋江市现代产业体系人才{/case}
  147. {case value="2"}集成电路优秀人才{/case}
  148. {case value="3"}海峡计划团队{/case}
  149. {/switch}
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. {if condition="$ecr['type'] eq 1"}
  155. <div class="row" id="typeGroup">
  156. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  157. <tr>
  158. <td>
  159. <div class="rowGroup">
  160. <label class="control-label spacing td-label"><span style="color: red">*</span>产业领域</label>
  161. <select autocomplete="off" type="text" class="form-control" id="newIndustryFieldNew" name="newIndustryFieldNew" value="{$ecr.newIndustryFieldNew}" onchange="EpChangeEdit.industryChange()"></select>
  162. </div>
  163. </td>
  164. <td>
  165. <div class="rowGroup">
  166. <label class="control-label spacing td-label"><span style="color: red">*</span>行业领域</label>
  167. <select class="form-control" id="newIndustryFieldOld" name="newIndustryFieldOld" value="{$ecr.newIndustryFieldOld}">
  168. </select>
  169. </div>
  170. </td>
  171. <td style="position:relative;">
  172. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#domainImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  173. <label class="control-label spacing"><span style="color: red">*</span>行业领域上传材料</label>
  174. {if condition="$ecr['newDomainImg']"}
  175. {eq name="ecr.domainImg_is_img" value="1"}
  176. <img src="{$ecr.newDomainImg|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  177. {else/}
  178. <img src="/static/img/Pdf.png" style="height: 60px;" onclick="Feng.showPdf('{$ecr.newDomainImg|getStoragePath}', 'domainImg')">
  179. {/eq}
  180. {else/}
  181. <img src="/static/img/yyzz.png" style="height: 60px;">
  182. {/if}
  183. <input style="display: none" autocomplete="off" type="file" class="form-control" id="domainImg" name="domainImg" />
  184. </td>
  185. </tr>
  186. <tr>
  187. <td>
  188. <div class="rowGroup">
  189. <label class="control-label spacing td-label"><span style="color: red">*</span>企业标签</label>
  190. <select class="form-control" id="newEnterpriseTag" name="newEnterpriseTag" value="{$ecr.newEnterpriseTag}">
  191. </select>
  192. </div>
  193. </td>
  194. <td>
  195. <div class="rowGroup">
  196. <label class="control-label spacing td-label"><span style="color: red">*</span>企业类型</label>
  197. <select class="form-control" id="newEnterpriseType" name="newEnterpriseType" value="{$ecr.newEnterpriseType}" onchange="EpChangeEdit.changeEnterpriseType()">
  198. </select>
  199. </div>
  200. </td>
  201. <td class="typeUploader" {if condition="in_array($ecr.newEnterpriseType,['guishang','gaoxinjishu','zhuanjingtexin'])"}style="position:relative;"{else/}style="position:relative;display:none;"{/if}>
  202. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#typeImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  203. <label class="control-label spacing"><span style="color: red">*</span>规上、高新技术、专精特新企业上传材料</label>
  204. {if condition="$ecr['newTypeImg']"}
  205. {eq name="ecr.typeImg_is_img" value="1"}
  206. <img src="{$ecr.newTypeImg|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  207. {else/}
  208. <img src="/static/img/Pdf.png" style="height: 60px;" onclick="Feng.showPdf('{$ecr.newTypeImg|getStoragePath}', 'typeImg')">
  209. {/eq}
  210. {else/}
  211. <img src="/static/img/yyzz.png" style="height: 60px;">
  212. {/if}
  213. <input style="display: none" autocomplete="off" type="file" class="form-control" id="typeImg" name="typeImg" />
  214. </td>
  215. </tr>
  216. </table>
  217. </div>
  218. {/if}
  219. </div>
  220. </div>
  221. {/if}
  222. <div class="panel panel-default">
  223. <div class="panel-heading">人才联络员信息</div>
  224. <div class="panel-body">
  225. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  226. <tr>
  227. <td>
  228. <div class="rowGroup">
  229. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员</label>
  230. <input autocomplete="off" type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
  231. </div>
  232. </td>
  233. <td>
  234. <div class="rowGroup">
  235. <label class="control-label spacing td-label"><span style="color: red">*</span>电子邮箱</label>
  236. <input autocomplete="off" type="text" class="form-control" id="newAgentEmail" name="newAgentEmail" value="{$ecr.newAgentEmail}"/>
  237. </div>
  238. </td>
  239. <td>
  240. <div class="rowGroup">
  241. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员手机号</label>
  242. <input autocomplete="off" type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
  243. </div>
  244. </td>
  245. <td style="position:relative;">
  246. <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#beian').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
  247. <label class="control-label spacing" style="text-align: center"><span style="color: red">*</span>人才联络员备案表<br /><a href="/beianbiao.doc" style="color: red">(点击此处下载模板)</a> </label>
  248. {if condition="$ecr['newBeian']"}
  249. {eq name="ecr.beian_is_img" value="1"}
  250. <img src="{$ecr.newBeian|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >
  251. {else/}
  252. <img src="/static/img/Pdf.png" style="height: 60px;" onclick="Feng.showPdf('{$ecr.newBeian|getStoragePath}', 'beian')">
  253. {/eq}
  254. {else/}
  255. <img src="/static/img/yyzz.png" style="height: 60px;">
  256. {/if}
  257. <input style="display: none" autocomplete="off" type="file" class="form-control" id="beian" name="beian" />
  258. </td>
  259. </tr>
  260. </table>
  261. </div>
  262. </div>
  263. </div>
  264. </form>
  265. </div>
  266. </div>
  267. <iframe style="display: none;" id="hiddenIframe" name="hiddenIframe"></iframe>
  268. <!--<script src="${ctxPath}/static/modular/gate/enterprise/enterprise_change_edit.js"></script>-->
  269. <script type="text/javascript">
  270. document.write('<script src="/static/modular/gate/enterprise/enterprise_change_edit.js?v=' + (new Date()).getTime() + '"><\/script>');
  271. </script>
  272. {/block}