to_add.html 17 KB

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