to_update.html 18 KB

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