first.html 19 KB

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