first.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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. <p style="text-align: center;color: red">
  99. 请上传近期免冠半身彩照(两寸)
  100. </p>
  101. <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;">
  102. <hr />
  103. 附件:
  104. <table class="fileTable"></table>
  105. </td>
  106. </tr>
  107. <tr>
  108. <td>
  109. <div class="rowGroup">
  110. <label class=" control-label spacing td-label"><span style="color: red">*</span>证件类型</label>
  111. <select class="form-control" id="card_type" name="card_type" value='{$row.card_type}'>
  112. <option value="">请选择</option>
  113. <option value="1">身份证</option>
  114. <option value="2">通行证</option>
  115. <option value="3">护照</option>
  116. </select>
  117. </div>
  118. </td>
  119. <td>
  120. <div class="rowGroup">
  121. <label class=" control-label spacing td-label"><span style="color: red">*</span>证件号码</label>
  122. <input class="form-control" id="card_number" name="card_number" value='{$row.card_number}'>
  123. </div>
  124. </td>
  125. </tr>
  126. <tr>
  127. <td>
  128. <div class="rowGroup">
  129. <label class=" control-label spacing td-label"><span style="color: red">*</span>性别</label>
  130. <select class="form-control" id="sex" name="sex" value='{$row.sex}'>
  131. <option value="">请选择</option>
  132. <option value="1">男</option>
  133. <option value="2">女</option>
  134. </select>
  135. </div>
  136. </td>
  137. <td>
  138. <div class="rowGroup">
  139. <label class=" control-label spacing td-label"><span style="color: red">*</span>出生日期</label>
  140. <input type="text" class="form-control date" id="birthday" name="birthday" value='{$row.birthday}'/>
  141. </div>
  142. </td>
  143. </tr>
  144. <tr>
  145. <td>
  146. <div class="rowGroup">
  147. <label class=" control-label spacing td-label"><span style="color: red">*</span>政治面貌</label>
  148. <select class="form-control" id="politics" name="politics" value='{$row.politics}'>
  149. </select>
  150. </div>
  151. </td>
  152. <td>
  153. <div class="rowGroup">
  154. <label class=" control-label spacing td-label"><span style="color: red">*</span>国籍/地区</label>
  155. <select class="form-control" id="nationality" name="nationality" value="{$row.nationality}">
  156. </select>
  157. </div>
  158. </td>
  159. </tr>
  160. <tr>
  161. <td colspan="2">
  162. <div class="rowGroup col-sm-4">
  163. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯省</label>
  164. <select class="form-control " onchange="TalentInfoInfoDlg.afterSelectProvince()" id="province" name="province" value='{$row.province}'>
  165. </select>
  166. </div>
  167. <div class="rowGroup col-sm-4">
  168. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯市</label>
  169. <select class="form-control" onchange="TalentInfoInfoDlg.afterSelectCity()" id="city" name="city" value='{$row.city}'></select>
  170. </div>
  171. <div class="rowGroup col-sm-4">
  172. <label class="control-label spacing td-label"><span style="color: red">*</span>籍贯县</label>
  173. <select class="form-control" id="county" name="county" value='{$row.county}'></select>
  174. </div>
  175. </td>
  176. </tr>
  177. </table>
  178. </div>
  179. </div>
  180. <div class="panel panel-default">
  181. <div class="panel-heading" onclick="$(this).next().toggle()">基础信息</div>
  182. <div class="panel-body">
  183. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  184. <tr>
  185. <td>
  186. <div class="rowGroup">
  187. <label class="control-label spacing td-label"><span style="color: red">*</span>单位标签</label>
  188. <div class="form-control" style="border: none">{$row.enterprise.enterpristTagName}</div>
  189. </div>
  190. </td>
  191. <td>
  192. <div class="rowGroup">
  193. <label class=" control-label spacing td-label"><span style="color: red">*</span>单位名称</label>
  194. <div class="form-control" style="border: none">{$row.enterprise.name}</div>
  195. </div>
  196. </td>
  197. <td rowspan="5" style="width: 200%">
  198. <table class="fileTable"></table>
  199. </td>
  200. </tr>
  201. <tr>
  202. <td>
  203. <div class="rowGroup">
  204. <label class=" control-label spacing td-label"><span style="color: red">*</span>所属街道</label>
  205. <div class="form-control" style="border: none">{$row.enterprise.streetName}</div>
  206. </div>
  207. </td>
  208. <td>
  209. <div class="rowGroup">
  210. <label class=" control-label spacing td-label"><span style="color: red">*</span>产业领域</label>
  211. <div class="form-control" style="border: none">{$row.enterprise.industryFieldNewName}</div>
  212. </div>
  213. </td>
  214. </tr>
  215. <tr>
  216. <td>
  217. <div class="rowGroup">
  218. <label class=" control-label spacing td-label"><span style="color: red">*</span>人才类型</label>
  219. <select class="form-control" id="talent_type" name="talent_type" value="{$row.talent_type}" onchange="TalentInfoInfoDlg.talentTypeChange()">
  220. <option value="">请选择</option>
  221. {volist name="row.talent_type_list" id="item"}
  222. <option value="{$item.code}">{$item.name}</option>
  223. {/volist}
  224. </select>
  225. </div>
  226. </td>
  227. <td>
  228. <label class=" control-label spacing td-label">说明</label>
  229. <div class="word-wrap" id="typeTips">
  230. </div>
  231. </td>
  232. </tr>
  233. <tr class="talentType1-2" style="display: none">
  234. <td >
  235. <div class="rowGroup">
  236. <label class=" control-label spacing td-label"><span style="color: red">*</span><span id="talentType_first" style="display: none">首次在我市</span>在我市缴交社会保险或个人所得税月份</label>
  237. <input type="text" class="form-control rangemonth" id="tax_insurance_month" name="tax_insurance_month" value="{$row.tax_insurance_month}"/>
  238. </div>
  239. </td>
  240. <td>
  241. <div class="rowGroup">
  242. <label class=" control-label spacing td-label"><span style="color: red">*</span>劳动合同起止时间</label>
  243. <input type="text" class="form-control rangedate" id="labor_contract_rangetime" name="labor_contract_rangetime" value="{$row.labor_contract_rangetime}" />
  244. </div>
  245. </td>
  246. </tr>
  247. <tr class="talentType3" style="display: none">
  248. <td >
  249. <div class="rowGroup">
  250. 预引进类型
  251. </div>
  252. </td>
  253. <td >
  254. <div class="rowGroup">
  255. <input type="radio" name="pre_import_type" value="1" {eq name="row.pre_import_type" value="1"}checked{/eq}/><span style="color: red">*</span>意向合同&nbsp;&nbsp;&nbsp;&nbsp;
  256. <input type="radio" name="pre_import_type" value="2" {eq name="row.pre_import_type" value="2"}checked{/eq}/><span style="color: red">*</span>创业企业名称预核准
  257. </div>
  258. </td>
  259. </tr>
  260. {if condition="in_array($row['enterprise']['enterpriseTag'],['mtdw','gyqyh','mbfqy','jrjg'])"}
  261. <tr>
  262. <td>
  263. <div class="rowGroup">
  264. <label class="control-label spacing td-label"><span style="color: red">*</span>{if condition="$row['talent_type'] eq 1"}近三年{else/}首次{/if}来晋工作时间</label>
  265. <input type="text" class="form-control date" id="fst_work_time" name="fst_work_time" value="{$row.fst_work_time}"/>
  266. </div>
  267. </td>
  268. </tr>
  269. {/if}
  270. <tr>
  271. </tr>
  272. </table>
  273. </div>
  274. <div class="panel-body">
  275. <table style="width: 100%;border-collapse: collapse;" class="table table-bordered">
  276. <tr>
  277. <td>
  278. <div class="rowGroup">
  279. <label class="control-label spacing td-label"><span style="color: red">*</span>工作简历</label>
  280. <textarea class="form-control" id="experience" name="experience" style="border: none" placeholder="填写工作简历">{$row.experience}</textarea>
  281. </div>
  282. </td>
  283. <td>
  284. <div class="rowGroup">
  285. <label class=" control-label spacing td-label"><span style="color: red">*</span>教育背景</label>
  286. <textarea class="form-control" id="education" name="education" style="border: none" placeholder="填写教育背景">{$row.education}</textarea>
  287. </div>
  288. </td>
  289. </tr>
  290. </table>
  291. </div>
  292. </div>
  293. </form>
  294. <form id="uploadForm" action="/common/api/addTalentFile" method="post" class="form-horizontal" enctype="multipart/form-data" target="hiddenIframe" style="display: none">
  295. <input type='hidden' id="fileId" name="fileId" >
  296. <input type='file' id="upload_file" name="fileUrl" style='display: none'>
  297. <input type='hidden' id="mainId" name="mainId" >
  298. <input type='hidden' id="fileTypeId" name="fileTypeId" >
  299. <input type='hidden' id="index" name="index" >
  300. <input type='hidden' id="tableIndex" name="tableIndex" >
  301. <input type='hidden' id="trIndex" name="trIndex" >
  302. <input type="hidden" name="backName" value="TalentInfoInfoDlg.callBack">
  303. <input type="type" name="type" value="1">
  304. </form>
  305. <div class="panel panel-default">
  306. <div class="panel-heading" onclick="$(this).next().toggle()">日志</div>
  307. <table id="logTable">
  308. </table>
  309. </div>
  310. </div>
  311. </div>
  312. </div>
  313. </div>
  314. </div>
  315. </div>
  316. </div>
  317. <iframe id="hiddenIframe" name="hiddenIframe" style="display: none;"></iframe>
  318. <!--<script src="${ctxPath}/static/modular/gate/talentInfo/talentInfo_info.js"></script>-->
  319. <script type="text/javascript">
  320. document.write('<script src="/static/modular/gate/talentBase/talentInfo_info.js?v=' + (new Date()).getTime() + '"><\/script>');
  321. document.write('<script src="/static/modular/common/config.js?v=' + (new Date()).getTime() + '"><\/script>');
  322. </script>
  323. {/block}