to_add.html 17 KB

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