to_add.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. {eq name="ecr.special" value="3"}
  131. <tr>
  132. <td colspan="4">
  133. <div class="rowGroup">
  134. <label class="control-label spacing td-label"><span style="color: red">*</span>机构标签</label>
  135. <select class="form-control" id="newOrganizationTag" name="newOrganizationTag" value="{$ecr.newOrganizationTag}">
  136. </select>
  137. </div>
  138. </td>
  139. </tr>
  140. {/eq}
  141. {eq name="ecr.special" value="1"}
  142. <tr>
  143. <td colspan="4">
  144. <div class="rowGroup">
  145. <label class="control-label spacing td-label"><span style="color: red">*</span>单位标签</label>
  146. <select class="form-control" id="newInstitutionTag" name="newInstitutionTag" value="{$ecr.newInstitutionTag}">
  147. </select>
  148. </div>
  149. </td>
  150. </tr>
  151. {/eq}
  152. </table>
  153. {if condition="$ecr['special'] eq 0"}
  154. <div class="row">
  155. <div class="rowGroup" >
  156. <label class="col-sm-1 control-label spacing"><span class="text-danger">*</span>申报类型</label>
  157. <div class="col-sm-3 spacing">
  158. <div class="form-control" disabled="disabled">
  159. {switch name="ecr.type"}
  160. {case value="1"}晋江市现代产业体系人才{/case}
  161. {case value="2"}集成电路优秀人才{/case}
  162. {case value="3"}海峡计划团队{/case}
  163. {/switch}
  164. </div>
  165. </div>
  166. {eq name="ecr.type" value="1"}
  167. <div class="rowGroup agencyType">
  168. <label class="col-sm-1 control-label spacing"><span class="text-danger">*</span>机构类型</label>
  169. <div class="col-sm-3 spacing">
  170. <select class="form-control" id="newAgencyType" name="newAgencyType" value="{$ecr.newAgencyType}" onchange="EpChangeEdit.agencyTypeChange()">
  171. </select>
  172. </div>
  173. </div>
  174. {/eq}
  175. </div>
  176. </div>
  177. {if condition="$ecr['type'] eq 1"}
  178. <div class="row" id="typeGroup">
  179. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  180. <tr class="agencyType1">
  181. <td>
  182. <div class="rowGroup">
  183. <label class="control-label spacing td-label"><span style="color: red">*</span>产业领域</label>
  184. <select autocomplete="off" type="text" class="form-control" id="newIndustryFieldNew" name="newIndustryFieldNew" value="{$ecr.newIndustryFieldNew}" onchange="EpChangeEdit.industryChange()"></select>
  185. </div>
  186. </td>
  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="newIndustryFieldOld" name="newIndustryFieldOld" value="{$ecr.newIndustryFieldOld}">
  191. </select>
  192. </div>
  193. </td>
  194. <td style="position:relative;">
  195. <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>
  196. <label class="control-label spacing"><span style="color: red">*</span>行业领域上传材料</label>
  197. {if condition="$ecr['domainImg']"}
  198. {eq name="ecr.domainImg_is_img" value="1"}
  199. <img src="{$ecr.domainImg|getStoragePath}" style="height:60px;" onclick="Feng.showImg(this)" >
  200. {else/}
  201. <img src="/static/img/Pdf.png" style="height:60px;" onclick="Feng.showPdf('{$ecr.domainImg|getStoragePath}', 'domainImg')">
  202. {/eq}
  203. {else/}
  204. <img src="/static/img/yyzz.png" style="height:60px;">
  205. {/if}
  206. <input style="display: none" autocomplete="off" type="file" class="form-control" id="domainImg" name="domainImg" />
  207. </td>
  208. </tr>
  209. <tr class="agencyType1 agencyType2">
  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="newEnterpriseTag" 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}" onchange="EpChangeEdit.changeEnterpriseType()">
  221. </select>
  222. </div>
  223. </td>
  224. <td class="typeUploader" {if condition="in_array($ecr.newEnterpriseType,['guishang','gaoxinjishu','zhuanjingtexin'])"}style="position:relative;"{else/}style="position:relative;display:none;"{/if}>
  225. <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>
  226. <label class="control-label spacing"><span style="color: red">*</span>规上、高新技术、专精特新企业上传材料</label>
  227. {if condition="$ecr['typeImg']"}
  228. {eq name="ecr.typeImg_is_img" value="1"}
  229. <img src="{$ecr.typeImg|getStoragePath}" style="height:60px;" onclick="Feng.showImg(this)" >
  230. {else/}
  231. <img src="/static/img/Pdf.png" style="height:60px;" onclick="Feng.showPdf('{$ecr.typeImg|getStoragePath}', 'typeImg')">
  232. {/eq}
  233. {else/}
  234. <img src="/static/img/yyzz.png" style="height:60px;">
  235. {/if}
  236. <input style="display: none" autocomplete="off" type="file" class="form-control" id="typeImg" name="typeImg" />
  237. </td>
  238. </tr>
  239. </table>
  240. </div>
  241. {/if}
  242. {/if}
  243. </div>
  244. </div>
  245. <div class="panel panel-default">
  246. <div class="panel-heading">人才联络员信息</div>
  247. <div class="panel-body">
  248. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  249. <tr>
  250. <td>
  251. <div class="rowGroup">
  252. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员</label>
  253. <input autocomplete="off" type="text" class="form-control" id="newAgentName" name="newAgentName" value="{$ecr.newAgentName}"/>
  254. </div>
  255. </td>
  256. <td>
  257. <div class="rowGroup">
  258. <label class="control-label spacing td-label"><span style="color: red">*</span>电子邮箱</label>
  259. <input autocomplete="off" type="text" class="form-control" id="newAgentEmail" name="newAgentEmail" value="{$ecr.newAgentEmail}"/>
  260. </div>
  261. </td>
  262. <td>
  263. <div class="rowGroup">
  264. <label class="control-label spacing td-label"><span style="color: red">*</span>人才联络员手机号</label>
  265. <input autocomplete="off" type="text" class="form-control" id="newAgentPhone" name="newAgentPhone" value="{$ecr.newAgentPhone}"/>
  266. </div>
  267. </td>
  268. <td style="position:relative;">
  269. <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>
  270. <label class="control-label spacing" style="text-align: center"><span style="color: red">*</span>人才联络员备案表<br /><a href="/beianbiao.doc" style="color: red">(点击此处下载模板)</a> </label>
  271. {if condition="$ecr['beian']"}
  272. {eq name="ecr.beian_is_img" value="1"}
  273. <img src="{$ecr.beian|getStoragePath}" style="height:60px;" onclick="Feng.showImg(this)" >
  274. {else/}
  275. <img src="/static/img/Pdf.png" style="height:60px;" onclick="Feng.showPdf('{$ecr.beian|getStoragePath}', 'beian')">
  276. {/eq}
  277. {else/}
  278. <img src="/static/img/yyzz.png" style="height:60px;">
  279. {/if}
  280. <input style="display: none" autocomplete="off" type="file" class="form-control" id="beian" name="beian" />
  281. </td>
  282. </tr>
  283. </table>
  284. </div>
  285. </div>
  286. </div>
  287. </form>
  288. </div>
  289. </div>
  290. <iframe style="display: none;" id="hiddenIframe" name="hiddenIframe"></iframe>
  291. <!--<script src="${ctxPath}/static/modular/gate/enterprise/enterprise_change_edit.js"></script>-->
  292. <script type="text/javascript">
  293. document.write('<script src="/static/modular/gate/enterprise/enterprise_change_edit.js?v=' + (new Date()).getTime() + '"><\/script>');
  294. </script>
  295. {/block}