first.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <style type="text/css">
  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. #talentInfoForm label {
  15. font-size: xx-small;
  16. }
  17. .has-feedback .form-control {
  18. padding-right: 5px;
  19. }
  20. .control-label{
  21. color: #337ab7;
  22. }
  23. .rowGroup{
  24. padding-bottom: 5px;
  25. }
  26. .imgs>li{
  27. list-style: none;
  28. float: left;
  29. border: 1px solid #d8d1d1;
  30. text-align: center;
  31. height: 35px;
  32. width:100%;
  33. padding:5px 0;
  34. }
  35. .table .td-label{
  36. display: block;
  37. text-align: left;
  38. border-bottom: 1px solid #ccc;
  39. margin-bottom: 10px;
  40. }
  41. .imgs li>div{float:left;}
  42. .info td{background:#f5f5f5 !important;}
  43. .word-wrap{
  44. width:100%;
  45. white-space:normal;
  46. word-wrap:break-word;
  47. word-break:break-all;
  48. }
  49. </style>
  50. <div class="ibox float-e-margins">
  51. <div class="ibox-content">
  52. <div class="form-horizontal">
  53. <div class="row">
  54. <div class="col-sm-12" >
  55. <div class="tab-content">
  56. <div id="tab-1" class="tab-pane active">
  57. <form id="talentInfoForm" action="/enterprise/base/add" method="post" enctype="multipart/form-data" target="hiddenIframe">
  58. <input type="hidden" name="id" id="id" value="{$row.id}">
  59. <input type="hidden" name="year" id="year" value="{$year}">
  60. <input type="hidden" name="enterprise_id" id="enterpriseId" value="{$row.enterprise.id}">
  61. <input type="hidden" name="enterprise_type" id="type" value="{$row.enterprise.type}">
  62. <input type="file" name="photo" id="photo" style="display: none">
  63. <input type="hidden" name="province_name" id="province_name" value="">
  64. <input type="hidden" name="city_name" id="city_name" value="">
  65. <input type="hidden" name="county_name" id="county_name" value="">
  66. <input type="hidden" name="source_city_name" id="source_city_name" value="">
  67. <input type="hidden" name="source_county_name" id="source_county_name" value="">
  68. <input type="hidden" name="checkState" id="checkState" value="{$checkState}">
  69. <input type="hidden" name="realState" id="realState" value="{$row.real_state}">
  70. <input type="hidden" name="step" id="step" value="1">
  71. <input type="hidden" name="files" id="files" value="{$row.modify_files}">
  72. <input type="hidden" name="fields" id="fields" value="{$row.modify_fields}">
  73. <div class="panel panel-default">
  74. <div class="panel-heading" onclick="$(this).next().toggle()">个人信息</div>
  75. <div class="panel-body">
  76. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  77. <tr>
  78. <td>
  79. <label class="control-label spacing td-label"><span style="color: red">*</span>姓名</label>
  80. <input type="text" class="form-control" id="name" name="name" value="{$row.name}" />
  81. </td>
  82. <td>
  83. <label class="control-label spacing td-label"><span style="color: red">*</span>民族</label>
  84. <select class="form-control" id="nation" name="nation" value='{$row.nation}'>
  85. </select>
  86. </td>
  87. <td rowspan="5" style="width: 200%">
  88. <img id="photoImg" {if condition="$row['headimgurl']"} src="/storage/{$row.headimgurl}" {else/} src="/static/img/photo.png" {/if} onclick="$('#photo').click();" style="height:147px;width:105px;margin:0 auto;display:block;">
  89. <hr />
  90. 附件:
  91. <table class="fileTable"></table>
  92. </td>
  93. </tr>
  94. <tr>
  95. <td>
  96. <label class=" control-label spacing td-label"><span style="color: red">*</span>证件类型</label>
  97. <select class="form-control" id="card_type" name="card_type" value='{$row.card_type}'>
  98. <option value="">请选择</option>
  99. <option value="1">身份证</option>
  100. <option value="2">通行证</option>
  101. <option value="3">护照</option>
  102. </select>
  103. </td>
  104. <td>
  105. <label class=" control-label spacing td-label"><span style="color: red">*证件号码</span></label>
  106. <input class="form-control" id="card_number" name="card_number" value='{$row.card_number}'>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td>
  111. <label class=" control-label spacing td-label"><span style="color: red">*</span>性别</label>
  112. <select class="form-control" id="sex" name="sex" value='{$row.sex}'>
  113. <option value="">请选择</option>
  114. <option value="1">男</option>
  115. <option value="2">女</option>
  116. </select>
  117. </td>
  118. <td>
  119. <label class=" control-label spacing td-label"><span style="color: red">*</span>出生日期</label>
  120. <input type="text" class="form-control date" id="birthday" name="birthday" value='{$row.birthday}'/>
  121. </td>
  122. </tr>
  123. <tr>
  124. <td>
  125. <label class=" control-label spacing td-label"><span style="color: red">*</span>政治面貌</label>
  126. <select class="form-control" id="politics" name="politics" value='{$row.politics}'>
  127. </select>
  128. </td>
  129. <td>
  130. <label class=" control-label spacing td-label"><span style="color: red">*</span>国籍/地区</label>
  131. <select class="form-control" id="nationality" name="nationality" value="{$row.nationality}">
  132. </select>
  133. </td>
  134. </tr>
  135. <tr>
  136. <td colspan="2">
  137. <div class="rowGroup col-sm-3">
  138. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯省</label>
  139. <select class="form-control " onchange="TalentInfoInfoDlg.afterSelectProvince()" id="province" name="province" value='{$row.province}'>
  140. </select>
  141. </div>
  142. <div class="rowGroup col-sm-3">
  143. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯市</label>
  144. <select class="form-control" onchange="TalentInfoInfoDlg.afterSelectCity()" id="city" name="city" value='{$row.city}'></select>
  145. </div>
  146. <div class="rowGroup col-sm-3">
  147. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯县</label>
  148. <select class="form-control" id="county" name="county" value='{$row.county}'></select>
  149. </div>
  150. </td>
  151. </tr>
  152. </table>
  153. </div>
  154. </div>
  155. <div class="panel panel-default">
  156. <div class="panel-heading" onclick="$(this).next().toggle()">基础信息</div>
  157. <div class="panel-body">
  158. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  159. <tr>
  160. <td>
  161. <label class="control-label spacing td-label"><span style="color: red">*</span>单位标签</label>
  162. <select class="form-control" id="enterprise_tag" value="{$row.enterprise.enterpriseTag}" disabled="disabled">
  163. </select>
  164. </td>
  165. <td>
  166. <label class=" control-label spacing td-label"><span style="color: red">*</span>单位名称</label>
  167. <input type="text" class="form-control" id="enterprise_name" name="enterprise_name" readonly="readonly" value="{$row.enterprise.name}" />
  168. </td>
  169. <td rowspan="4" style="width: 200%">
  170. <table class="fileTable"></table>
  171. </td>
  172. </tr>
  173. <tr>
  174. <td>
  175. <label class=" control-label spacing td-label"><span style="color: red">*</span>所属街道</label>
  176. <select class="form-control" id="address" name="address" value="{$row.enterprise.street}" disabled="disabled"></select>
  177. </td>
  178. <td>
  179. <label class=" control-label spacing td-label"><span style="color: red">*</span>产业领域</label>
  180. <select type="text" class="form-control" id="industry_field" value="{$row.enterprise.industryFieldNew}" name="industry_field" disabled="disabled">
  181. </select>
  182. </td>
  183. </tr>
  184. <tr>
  185. <td>
  186. <label class=" control-label spacing td-label"><span style="color: red">*</span>人才类型</label>
  187. <select class="form-control" id="talent_type" name="talent_type" value="{$row.talent_type}" onchange="TalentInfoInfoDlg.talentTypeChange()">
  188. <option value="">请选择</option>
  189. {volist name="row.talent_type_list" id="item"}
  190. <option value="{$item.code}">{$item.name}</option>
  191. {/volist}
  192. </select>
  193. </td>
  194. <td>
  195. {if condition="in_array($info['talent_type'],[1,2])"}
  196. <div class="rowGroup col-sm-3">
  197. <label class=" control-label spacing td-label"><span style="color: red">*</span>在我市缴交社会保险或个人所得税月份</label>
  198. <input type="text" class="form-control rangedate" id="tax_insurance_month" name="tax_insurance_month" value="{$row.tax_insurance_month}"/>
  199. </div>
  200. {else/}
  201. <label class=" control-label spacing td-label"><span style="color: red">*</span>劳动合同起止时间</label>
  202. <input type="text" class="form-control rangedate" id="labor_contract_rangetime" name="labor_contract_rangetime" value="{$row.labor_contract_rangetime}" />
  203. {/if}
  204. </td>
  205. </tr>
  206. <tr>
  207. <td colspan="2">
  208. <label class=" control-label spacing td-label">说明</label>
  209. <div class="word-wrap" id="typeTips">
  210. </div>
  211. </td>
  212. </tr>
  213. </table>
  214. </div>
  215. </div>
  216. </form>
  217. <form id="uploadForm" action="/common/api/addTalentFile" method="post" class="form-horizontal" enctype="multipart/form-data" target="hiddenIframe" style="display: none">
  218. <input type='hidden' id="fileId" name="fileId" >
  219. <input type='file' id="upload_file" name="fileUrl" style='display: none'>
  220. <input type='hidden' id="mainId" name="mainId" >
  221. <input type='hidden' id="fileTypeId" name="fileTypeId" >
  222. <input type='hidden' id="index" name="index" >
  223. <input type='hidden' id="tableIndex" name="tableIndex" >
  224. <input type='hidden' id="trIndex" name="trIndex" >
  225. <input type="hidden" name="backName" value="TalentInfoInfoDlg.callBack">
  226. <input type="type" name="type" value="1">
  227. </form>
  228. <div class="panel panel-default">
  229. <div class="panel-heading" onclick="$(this).next().toggle()">日志</div>
  230. <table id="logTable">
  231. </table>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. </div>
  240. <iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
  241. <!--<script src="${ctxPath}/static/modular/gate/talentInfo/talentInfo_info.js"></script>-->
  242. <script type="text/javascript">
  243. document.write('<script src="/static/modular/gate/talentBase/talentInfo_info.js?v=' + (new Date()).getTime() + '"><\/script>');
  244. document.write('<script src="/static/modular/common/config.js?v=' + (new Date()).getTime() + '"><\/script>');
  245. </script>
  246. {/block}