first.html 19 KB

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