to_add.html 19 KB

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