post_input.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <style>
  2. td {
  3. border-top: 1px solid #ddd;
  4. line-height: 25px;
  5. padding: 5px 5px 5px 7px;
  6. }
  7. .point{
  8. color: #0099CC;
  9. font-weight: bold;
  10. }
  11. </style>
  12. <!-- 职能-->
  13. <script src="${resPath}/syrc/cssjs/position.data.min.js" type="text/javascript"></script>
  14. <script src="${resPath}/syrc/cssjs/jquery.position.select.js" type="text/javascript"></script>
  15. <script>
  16. function result2(){
  17. $("#result2").positionSelect({
  18. containerId: "positionDiv",
  19. className: "big-window",
  20. nameId: "work_zn_input",
  21. required: true,
  22. maxCount: 5,
  23. onConfirm: null
  24. });
  25. }
  26. </script>
  27. <div class="bjui-pageContent">
  28. <form method="post" action="${ctxPath}/cms/post/update" id="j_client_form" data-toggle="validate" data-autorefresh="true" data-alertmsg="false">
  29. <input TYPE="hidden" name="zw_id" value="${post.zw_id!}">
  30. <input TYPE="hidden" name="qy_id" value="${post.qy_id!}">
  31. <input TYPE="hidden" name="zw_sftj" value="${post.zw_sftj!}">
  32. <input TYPE="hidden" name="zw_zt" value="${post.zw_zt!}">
  33. <table cellspacing="1" cellpadding="6" border="0" width="100%">
  34. <tbody>
  35. <tr>
  36. <td>
  37. <label for="zw_zwmc" class="control-label x85">职位名称:</label>
  38. <input type="text" name="zw_zwmc" id="zw_zwmc" value="${post.zw_zwmc!,xss}" placeholder="请填写职位名称!" data-rule="required" size="50" maxlength="20">
  39. </td>
  40. </tr>
  41. <tr>
  42. <td style="position: relative;">
  43. <label for="zw_zwlb" class="control-label x85">职位类别:</label>
  44. <input type="text" name="zw_zwlb" id="work_zn_input" value="${post.zw_zwlb!,xss}" placeholder="请填写职位类别!" data-rule="required" size="50" maxlength="20" readonly="readonly">
  45. <!-- <span class="ic i_block pointer" id="work_func_click1" onclick="work_func_click(1)" style="cursor: pointer;">选择</span>-->
  46. <a id="result2" href="javascript:void(0);" class="zwxz" style="left:60%;top: 11px;" onclick="result2()"></a>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td>
  51. <label for="zw_gzxz" class="control-label x85">工作性质:</label>
  52. <select name="zw_gzxz" id="zw_gzxz" style="width: 500px;height: 25px;">
  53. <option value="0">全职</option>
  54. <option value="1">兼职</option>
  55. <option value="2">实习</option>
  56. </select>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td>
  61. <label for="zw_gzdz" class="control-label x85">工作地址:</label>
  62. <input type="text" name="zw_gzdz" id="zw_gzdz" value="${post.zw_gzdz!,xss}" placeholder="请填写工作地址!" data-rule="required" size="50" maxlength="50" >
  63. </td>
  64. </tr>
  65. <tr>
  66. <td>
  67. <label for="zw_yxfw" class="control-label x85">月薪范围:</label>
  68. <select name="zw_yxfw" id="zw_yxfw" style="width: 500px;height: 25px;">
  69. <option value="0">1000元以下</option>
  70. <option value="1">1000-2000元</option>
  71. <option value="2">2000-4000元</option>
  72. <option value="3">4000-6000元</option>
  73. <option value="4">6000-8000元</option>
  74. <option value="5">8000-10000元</option>
  75. <option value="6">10000-15000元</option>
  76. <option value="7">15000-20000元</option>
  77. <option value="8">20000-30000元</option>
  78. <option value="9">30000-50000元</option>
  79. <option value="10">50000-70000元</option>
  80. <option value="11">70000-100000元</option>
  81. <option value="12">100000元以上</option>
  82. </select>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td>
  87. <label for="zw_zdxl" class="control-label x85">最低学历:</label>
  88. <select name="zw_zdxl" id="zw_zdxl" style="width: 500px;height: 25px;">
  89. <option value="0">学历不限</option>
  90. <option value="1">本科</option>
  91. <option value="2">硕士</option>
  92. <option value="3">博士</option>
  93. <option value="4">大专</option>
  94. <option value="5">中技</option>
  95. <option value="6">中专</option>
  96. <option value="7">高中以下</option>
  97. </select>
  98. </td>
  99. </tr>
  100. <tr>
  101. <td>
  102. <label for="zw_yjbys" class="control-label x85">应届毕业生:</label>
  103. <select name="zw_yjbys" id="zw_yjbys" style="width: 500px;height: 25px;">
  104. @if(isEmpty(post.zw_yjbys)){
  105. <option value="0">是</option>
  106. <option value="1">否</option>
  107. @}else if(post.zw_yjbys == '0'){
  108. <option value="0" selected>是</option>
  109. <option value="1">否</option>
  110. @}else if(post.zw_yjbys =='1'){
  111. <option value="0">是</option>
  112. <option value="1" selected>否</option>
  113. @}
  114. </select>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td>
  119. <label for="zw_gznx" class="control-label x85">工作年限:</label>
  120. <select name="zw_gznx" id="zw_gznx" style="width: 500px;height: 25px;">
  121. <option value="0">经验不限</option>
  122. <option value="1">无经验</option>
  123. <option value="2">1年以下</option>
  124. <option value="3">1-3年</option>
  125. <option value="4">3-5年</option>
  126. <option value="5">5-10年</option>
  127. <option value="6">10年以上</option>
  128. </select>
  129. </td>
  130. </tr>
  131. <tr>
  132. <td>
  133. <label for="zw_zwms" class="control-label x85">职位描述:</label>
  134. <textarea id="zw_zwms" name="zw_zwms" placeholder="请填写职位描述" style="height: 200px;resize:none;" cols="50" maxlength="500" >${post.zw_zwms!,xss}</textarea>
  135. </td>
  136. </tr>
  137. <tr>
  138. <td>
  139. <label for="zw_jnyq" class="control-label x85">技能要求:</label>
  140. <input type="text" name="zw_jnyq" id="zw_jnyq" value="${post.zw_jnyq!,xss}" placeholder="请填写技能要求!" data-rule="required" size="50" maxlength="50" >
  141. </td>
  142. </tr>
  143. <tr>
  144. <td>
  145. <label for="zw_zwldl" class="control-label x85">职位亮点:</label>
  146. <label><input type="checkbox" id="zw_zwldl" name="zw_zwld" value="1"/>五险一金</label>
  147. <label><input type="checkbox" id="zw_zwld2" name="zw_zwld" value="2"/>节日福利</label>
  148. <label><input type="checkbox" id="zw_zwld3" name="zw_zwld" value="3"/>带薪年假</label>
  149. <label><input type="checkbox" id="zw_zwld4" name="zw_zwld" value="4"/>现金补贴</label>
  150. </td>
  151. </tr>
  152. <tr>
  153. <td>
  154. <label for="zw_zprs" class="control-label x85">招聘人数:</label>
  155. <input type="text" name="zw_zprs" id="zw_zprs" onchange="manth()" value="${post.zw_zprs!,xss}" placeholder="请填写招聘人数!" data-rule="required" size="50" maxlength="10" >
  156. </td>
  157. </tr>
  158. <tr>
  159. <td>
  160. <label for="zw_fbsc" class="control-label x85">结束日期:</label>
  161. <input style="width:225px;margin-left:0px" name="zw_fbsc" id="zw_fbsc" style="width: 500px;height: 25px;" data-rule="required;" value="${post.zw_fbsc!,xss}" class="laydate-icon timeUstyle stateUTime"
  162. onclick="laydate({istime: true,format:'YYYY-MM-DD'})"/>
  163. </td>
  164. </tr>
  165. <tr>
  166. <td>
  167. <label for="zw_ssbm" class="control-label x85">所属部门:</label>
  168. <input type="text" name="zw_ssbm" id="zw_ssbm" value="${post.zw_ssbm!,xss}" placeholder="请填写所属部门!" data-rule="required" size="50" maxlength="10" >
  169. </td>
  170. </tr>
  171. </tbody>
  172. </table>
  173. </form>
  174. </div>
  175. <div class="bjui-pageFooter">
  176. <ul>
  177. <li><button type="submit" class="btn-default" style=" margin-right: 565px;" data-icon="save">保存</button></li>
  178. </ul>
  179. </div>
  180. <div id="layer_back_drop" class="layer_back_drop_class" style=""></div>
  181. <div id="base_area_layer" class="layer_class" init="true" >
  182. <iframe scrolling="auto" width="100%" height="100%" frameborder="0" id="iframe" ></iframe>
  183. </div>
  184. <input type="hidden" id="work_func">
  185. <input type="hidden" id="count" value="5">
  186. <script>
  187. $(function(){
  188. $("#zw_gzxz").find("option[value='${post.zw_gzxz!}']").attr("selected", 'selected');
  189. $("#zw_yxfw").find("option[value='${post.zw_yxfw!}']").attr("selected", 'selected');
  190. $("#zw_zdxl").find("option[value='${post.zw_zdxl!}']").attr("selected", 'selected');
  191. $("#zw_gznx").find("option[value='${post.zw_gznx!}']").attr("selected", 'selected');
  192. var boxObj = $("input:checkbox[name='zw_zwld']"); //获取所有的复选框
  193. var expresslist = '${post.zw_zwld!}'; //用el表达式获取在控制层存放的复选框的值为字符串类型
  194. var express = expresslist.split(','); //去掉它们之间的分割符“,”
  195. for (i = 0; i < boxObj.length; i++) {
  196. for (j = 0; j < express.length; j++) {
  197. if (boxObj[i].value == express[j]) //如果值与修改前的值相等
  198. {
  199. boxObj[i].checked = true;
  200. break;
  201. }
  202. }
  203. }
  204. });
  205. function manth(){
  206. var em = /^\d+$/;
  207. if(!em.test($('#zw_zprs').val())){
  208. alert('招聘人数只能填写数字,请重新输入');
  209. $('#zw_zprs').val("");
  210. return false;
  211. }
  212. }
  213. </script>
  214. <!--职能选择开始-->
  215. <!--<link href="${resPath}/bcrc/cssjs/base.css" rel="stylesheet" type="text/css">-->
  216. <link href="${resPath}/syrc/cssjs/big-window.css" rel="stylesheet" type="text/css">
  217. <script type="text/javascript">
  218. /* $(document).ready(function () {
  219. $("#result").click(function () {
  220. $("#result").positionSelect({
  221. containerId: "positionDiv",
  222. className: "big-window",
  223. nameId: "resultinput",
  224. required: true,
  225. maxCount: 5,
  226. onConfirm: null
  227. });
  228. });
  229. });*/
  230. </script>
  231. <!----><style>
  232. .zwxz{
  233. background: url(${resPath}/syrc/images/form_03.png) no-repeat 10px;
  234. position: absolute;
  235. width: 36px;
  236. height: 18px;
  237. line-height: 18px;
  238. font-size: 12px;
  239. color: #00457d;
  240. text-align: center;
  241. top: 5px;
  242. right: 0;
  243. border-left: 1px solid #ddd;}
  244. #positionDiv_bg{display: none!important;}
  245. </style>
  246. <!--<textarea id="result" cols="80" rows="10">点我,狠狠地点我。</textarea>-->
  247. <!----><div id="positionDiv" style=" position: fixed;">
  248. </div>
  249. <!-- 职位-->
  250. <!---->
  251. <div class="big-window bg-f0" id="position">
  252. <div class="title">
  253. <b>选择职位</b><span class="tip">(最多选择5项)</span> <a href="#" onclick="javascript:closeposition()">
  254. </a>
  255. </div>
  256. <div class="sele-tag">
  257. <dl>
  258. <dt>已选择:</dt>
  259. <dd>
  260. <a href="#">已选择的职位1</a>
  261. <a href="#">已选择的职已选择的职位位2</a>
  262. <a href="#">已选择已选择的职位的职位3</a>
  263. <a href="#">已已选择的职位选择的职位4</a>
  264. <a href="#">已已选择的职位选择的职位5</a>
  265. <a href="#" class="btn">确 定</a>
  266. </dd>
  267. </dl>
  268. </div>
  269. <div class="position-menu">
  270. <div class="menu">
  271. <ul>
  272. <li>销售|客服|市场</li>
  273. <li>财务|人力资源|行政</li>
  274. <li class="sele">项目|质量|高级管理</li>
  275. <li>IT|互联网|通信</li>
  276. <li>房产|建筑|物业管理</li>
  277. <li>金融</li>
  278. <li>采购|贸易|交通|物流</li>
  279. <li>生产|制造</li>
  280. <li>传媒|印刷|艺术|设计</li>
  281. <li>咨询|法律|教育|翻译</li>
  282. <li>服务业</li>
  283. <li>能源|环保|农业|科研</li>
  284. <li>兼职|实习|社工|其他</li>
  285. </ul>
  286. </div>
  287. <div class="sub-menu">
  288. <dl>
  289. <dt>电信/通信技术开发及应用</dt>
  290. <dd>
  291. <a href="#">互联网/电子商务 </a>
  292. <a href="#">计算机软件 </a>
  293. <a href="#">IT服务(系统/数据/维护) </a>
  294. <a href="#">电子技术/半导体/集成电路 </a>
  295. <a href="#">计算机硬件 </a>
  296. <a href="#">通信/电信/网络设备 </a>
  297. <a href="#">通信/电信运营、增值服务 </a>
  298. <a href="#">网络游戏</a>
  299. </dd>
  300. </dl>
  301. <dl>
  302. <dt>财务/审计/税务</dt>
  303. <dd>
  304. <a href="#">快速消费品(食品/饮料/烟酒/日化) </a>
  305. <a href="#">耐用消费品(服饰/纺织/皮革/家具/家电) </a>
  306. <a href="#">贸易/进出口 </a>
  307. <a href="#">零售/批发 </a>
  308. <a href="#">租赁服务 </a>
  309. </dd>
  310. </dl>
  311. <dl>
  312. <dt>交通运输服务</dt>
  313. <dd>
  314. <a href="#">互联网/电子商务 </a>
  315. <a href="#">计算机软件 </a>
  316. <a href="#">IT服务(系统/数据/维护) </a>
  317. <a href="#">电子技术/半导体/集成电路 </a>
  318. <a href="#">计算机硬件 </a>
  319. <a href="#">通信/电信/网络设备 </a>
  320. <a href="#">通信/电信运营、增值服务 </a>
  321. <a href="#">网络游戏</a>
  322. </dd>
  323. </dl>
  324. <dl>
  325. <dt>生物/制药/医疗器械</dt>
  326. <dd>
  327. <a href="#">快速消费品(食品/饮料/烟酒/日化) </a>
  328. <a href="#">耐用消费品(服饰/纺织/皮革/家具/家电) </a>
  329. <a href="#">贸易/进出口 </a>
  330. <a href="#">零售/批发 </a>
  331. <a href="#">租赁服务 </a>
  332. </dd>
  333. </dl>
  334. <dl>
  335. <dt>互联网产品/运营管理</dt>
  336. <dd>
  337. <a href="#">汽车/摩托车</a>
  338. <a href="#">大型设备/机电设备/重工业 </a>
  339. <a href="#">加工制造(原料加工/模具) </a>
  340. <a href="#">仪器仪表及工业自动化 </a>
  341. <a href="#">印刷/包装/造纸 </a>
  342. <a href="#">办公用品及设备 </a>
  343. <a href="#">医药/生物工程 </a>
  344. <a href="#">医疗设备/器械 </a>
  345. <a href="#">航空/航天研究与制造</a>
  346. </dd>
  347. </dl>
  348. <dl>
  349. <dt>房地产|建筑业</dt>
  350. <dd>
  351. <a href="#">房地产/建筑/建材/工程 </a>
  352. <a href="#">家居/室内设计/装饰装潢 </a>
  353. <a href="#">物业管理/商业中心</a>
  354. </dd>
  355. </dl>
  356. </div>
  357. </div>
  358. </div>
  359. <!--职能选择结束-->