editEmploy.jsp 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK"/>
  8. <title>评价</title>
  9. <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
  10. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  11. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
  12. <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
  13. <script type="text/javascript" src="/shares/js/file.js"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  15. <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></script>
  16. <!-- 选择窗口需要加载的js文件 start-->
  17. <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
  18. <script type="text/javascript" src="/shares/js/constant.js"></script>
  19. <script type="text/javascript" src="/shares/js/common.js"></script>
  20. <script type="text/javascript">
  21. $(function (){
  22. });
  23. //保存
  24. function saveEmploy(){
  25. // var rs = $.validate({name:"her.probation_start_date",model:[{type:"require",msg:"日期不能为空!",msgBox:'msgbox1'}]});
  26. var rs = $.validate({name:"her.probation_start_date",model:[{type:"require",msg:"日期不能为空!"}]});
  27. rs &=$.validate({name :"her.probation_end_date",model :[{type:"require",msg:"日期不能为空!"}]});
  28. if(!rs)return;
  29. $("#addEmployForm").submit();
  30. }
  31. </script>
  32. <style type="text/css">
  33. .file-style{
  34. width: 550px;
  35. }
  36. .file-style input[type='file'] {
  37. width:300px ;
  38. height:24px;
  39. line-height:22px;
  40. vertical-align: bottom;
  41. background-color: #fff;
  42. border: 1px solid #cccccc;
  43. margin-top: 2px;
  44. margin-bottom: 2px;
  45. }
  46. /*打分*/
  47. .starWrapper{border:1px solid #FFCC00;padding:5px;width:70px;}
  48. .starWrapper img{cursor:pointer;}
  49. </style>
  50. </style>
  51. </head>
  52. <body>
  53. <form id="addEmployForm" action="hrEmployRecordAction.do" method="post">
  54. <div id="title" class="form-button">
  55. <input id="btnSave" type="button" class="l-button" value="保存" onclick="saveEmploy()"/>
  56. <input type="button" value="关闭" class="l-button" onclick="closeWindow();"/>
  57. </div>
  58. <div class="container-layout">
  59. <div class="forum-container">
  60. <center>
  61. <span style="font-size:30px;">员工录用申请</span>
  62. </center>
  63. <table class="l-table-edit line">
  64. <tr>
  65. <td class="l-table-edit-text" width="18%">姓名:</td>
  66. <td class="l-table-edit-td" width="32%">
  67. ${hes.staff_name }
  68. <input type="hidden" id="her.iemploy_staff_id" name="her.iemploy_staff_id" value="${her.iemploy_staff_id }"/>
  69. </td>
  70. <td class="l-table-edit-text" width="18%">职位:</td>
  71. <td class="l-table-edit-td" width="32%">
  72. ${hes.to_employ_position_name }
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="l-table-edit-text" width="18%">预计到岗时间:</td>
  77. <td class="l-table-edit-td" width="32%">
  78. <input type="text" id="her.duty_date" name="her.duty_date" value="${her.duty_date }" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/>
  79. </td>
  80. <td class="l-table-edit-text" width="18%">工作方式:</td>
  81. <td class="l-table-edit-td" width="32%">
  82. <select id="her.work_type" name="her.work_type" >
  83. <c:forEach var="item" items="${typeList}">
  84. <option
  85. <c:if test="${item.dvalue eq requestScope.her.work_type}">
  86. selected="selected"
  87. </c:if>
  88. value="${item.dvalue }" >
  89. ${item.dname }
  90. </option>
  91. </c:forEach>
  92. </select>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td class="l-table-edit-text">暂定实习/试用期开始时间<FONT COLOR="red">*</FONT>:</td>
  97. <td class="l-table-edit-td">
  98. <input type="text" id="her.probation_start_date" name="her.probation_start_date" value="${her.probation_start_date }" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'her.probation_end_date\',{d:-1})}'})"/>
  99. <!-- <span id="msgbox1"></span> -->
  100. <!-- 至 -->
  101. <%-- <input type="text" id="her.probation_end_date" name="her.probation_end_date" value="${her.probation_end_date }" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'her.probation_start_date\',{d:1})}'})"/> --%>
  102. </td>
  103. <td class="l-table-edit-text">暂定实习/试用期结束时间<FONT COLOR="red">*</FONT>:</td>
  104. <td class="l-table-edit-td" >
  105. <%-- <input type="text" id="her.probation_start_date" name="her.probation_start_date" value="${her.probation_start_date }" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'her.probation_end_date\',{d:-1})}'})"/> --%>
  106. <!-- <span id="msgbox1"></span> -->
  107. <!-- 至 -->
  108. <input type="text" id="her.probation_end_date" name="her.probation_end_date" value="${her.probation_end_date }" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'her.probation_start_date\',{d:1})}'})"/>
  109. </td>
  110. </tr>
  111. <tr>
  112. <td class="l-table-edit-text">实习薪资:</td>
  113. <td class="l-table-edit-td">
  114. <input type="text" id="her.practice_salary" name="her.practice_salary" value="${money}" />
  115. </td>
  116. <td class="l-table-edit-text">试用薪资:</td>
  117. <td class="l-table-edit-td">
  118. <input type="text" id="her.probation_salary" name="her.probation_salary" value="${money2}" />
  119. </td>
  120. </tr>
  121. <tr>
  122. <td class="l-table-edit-text">转正薪资:</td>
  123. <td class="l-table-edit-td" colspan="3">
  124. <input type="text" id="her.formal_salary" name="her.formal_salary" value="${money3}" />
  125. </td>
  126. </tr>
  127. </table>
  128. <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
  129. <input type="hidden" id="task" name="task" value="editEmploy">
  130. <input type="hidden" id="universalid" name="universalid" value="${her.universalid}">
  131. <input type="hidden" id="audit_status" name="audit_status" value="${her.audit_status}">
  132. <input type="hidden" id="flow_ins_id" name="flow_ins_id" value="${her.flow_ins_id}">
  133. </center>
  134. </div>
  135. </div>
  136. </form>
  137. <%@include file="/include/message.jsp"%>
  138. </body>
  139. </html>