renshi-hetong-add.jsp 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>员工人事信息表</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script src="plug-in/layer/layer.js"></script>
  9. <script>
  10. function btn_ok(){
  11. $("#btnsub").click();
  12. }
  13. function callback(data){
  14. if(data.success){
  15. layer.alert(data.msg, function(index){
  16. window.location.href="personnelBaseArchivesManageController.do?list"
  17. layer.close(index);
  18. });
  19. }
  20. else{
  21. layer.alert(data.msg);
  22. }
  23. }
  24. </script>
  25. <script type="text/javascript">
  26. //编写自定义JS代码
  27. </script>
  28. </head>
  29. <body>
  30. <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="personnelBaseArchivesManageController.do?doAdd" tiptype="1" callback="callback">
  31. <input id="id" name="id" type="hidden" value="${personnelBaseArchivesManagePage.id }"/>
  32. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  33. <tr>
  34. <td align="right">
  35. <label class="Validform_label">
  36. 所属职务ID:
  37. </label>
  38. </td>
  39. <td class="value">
  40. <input id="belongDutiesid" name="belongDutiesid" type="text" style="width: 150px" class="searchbox-inputtext" ignore="ignore" onclick="inputClick(this,'id','t_bus_duties')"/>
  41. <span class="Validform_checktip"></span>
  42. <label class="Validform_label" style="display: none;">所属职务ID</label>
  43. </td>
  44. <td align="right">
  45. <label class="Validform_label">
  46. 合同有效期开始时间:
  47. </label>
  48. </td>
  49. <td class="value">
  50. <input id="contractStime" name="contractStime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" ignore="ignore" />
  51. <span class="Validform_checktip"></span>
  52. <label class="Validform_label" style="display: none;">合同有效期开始时间</label>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td align="right">
  57. <label class="Validform_label">
  58. 合同有效期结束时间:
  59. </label>
  60. </td>
  61. <td class="value">
  62. <input id="contractEtime" name="contractEtime" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()" ignore="ignore" />
  63. <span class="Validform_checktip"></span>
  64. <label class="Validform_label" style="display: none;">合同有效期结束时间</label>
  65. </td>
  66. <td align="right">
  67. <label class="Validform_label">
  68. 合同到期提醒:
  69. </label>
  70. </td>
  71. <td class="value">
  72. <t:dictSelect field="ifremind" type="checkbox" typeGroupCode="shifou_01" defaultVal="${personnelBaseArchivesManagePage.ifremind}" hasLabel="false" title="合同到期提醒"></t:dictSelect>
  73. <span class="Validform_checktip"></span>
  74. <label class="Validform_label" style="display: none;">合同到期提醒</label>
  75. </td>
  76. </tr>
  77. <tr>
  78. <td align="right">
  79. <label class="Validform_label">
  80. 是否续签合同:
  81. </label>
  82. </td>
  83. <td class="value">
  84. <t:dictSelect field="ifrenewed" type="checkbox" typeGroupCode="shifou_01" defaultVal="${personnelBaseArchivesManagePage.ifrenewed}" hasLabel="false" title="是否续签合同"></t:dictSelect>
  85. <span class="Validform_checktip"></span>
  86. <label class="Validform_label" style="display: none;">是否续签合同</label>
  87. </td>
  88. <td align="right">
  89. <label class="Validform_label">
  90. 在职状态:
  91. </label>
  92. </td>
  93. <td class="value">
  94. <t:dictSelect field="positionStatus" type="list" typeGroupCode="jobStatus" defaultVal="${personnelBaseArchivesManagePage.positionStatus}" hasLabel="false" title="在职状态"></t:dictSelect>
  95. <span class="Validform_checktip"></span>
  96. <label class="Validform_label" style="display: none;">在职状态</label>
  97. </td>
  98. </tr>
  99. <tr>
  100. <td align="right">
  101. <label class="Validform_label">
  102. 员工类型:
  103. </label>
  104. </td>
  105. <td class="value">
  106. <t:dictSelect field="userType" type="list" typeGroupCode="staffType" defaultVal="${personnelBaseArchivesManagePage.userType}" hasLabel="false" title="员工类型"></t:dictSelect>
  107. <span class="Validform_checktip"></span>
  108. <label class="Validform_label" style="display: none;">员工类型</label>
  109. </td>
  110. <td align="right">
  111. <label class="Validform_label">
  112. 是否自动转正:
  113. </label>
  114. </td>
  115. <td class="value">
  116. <t:dictSelect field="autoCorrection" type="checkbox" typeGroupCode="shifou_01" defaultVal="${personnelBaseArchivesManagePage.autoCorrection}" hasLabel="false" title="是否自动转正"></t:dictSelect>
  117. <span class="Validform_checktip"></span>
  118. <label class="Validform_label" style="display: none;">是否自动转正</label>
  119. </td>
  120. </tr>
  121. <tr>
  122. <td align="right">
  123. <label class="Validform_label">
  124. 试用期限:
  125. </label>
  126. </td>
  127. <td class="value">
  128. <t:dictSelect field="trialPeriod" type="list" typeGroupCode="shiyongqi" datatype="n" defaultVal="${personnelBaseArchivesManagePage.trialPeriod}" hasLabel="false" title="试用期限"></t:dictSelect>
  129. <span class="Validform_checktip"></span>
  130. <label class="Validform_label" style="display: none;">试用期限</label>
  131. </td>
  132. <td align="right">
  133. <label class="Validform_label">
  134. 是否为缴金人员:
  135. </label>
  136. </td>
  137. <td class="value">
  138. <t:dictSelect field="ifpayment" type="checkbox" typeGroupCode="shifou_01" defaultVal="${personnelBaseArchivesManagePage.ifpayment}" hasLabel="false" title="是否为缴金人员"></t:dictSelect>
  139. <span class="Validform_checktip"></span>
  140. <label class="Validform_label" style="display: none;">是否为缴金人员</label>
  141. </td>
  142. </tr>
  143. <tr>
  144. <td align="right">
  145. <label class="Validform_label">
  146. 所属岗位ID:
  147. </label>
  148. </td>
  149. <td class="value">
  150. <t:dictSelect field="inPostid" type="list" dictTable="t_bus_post" dictField="id" dictText="post_name" dictCondition="where delete_flag=0 and status=0" defaultVal="${personnelBaseArchivesManagePage.inPostid}" hasLabel="false" title="所属岗位ID"></t:dictSelect>
  151. <span class="Validform_checktip"></span>
  152. <label class="Validform_label" style="display: none;">所属岗位ID</label>
  153. </td>
  154. <td align="right">
  155. <label class="Validform_label">
  156. 管理类型:
  157. </label>
  158. </td>
  159. <td class="value">
  160. <t:dictSelect field="managerType" type="list" typeGroupCode="manageType" defaultVal="${personnelBaseArchivesManagePage.managerType}" hasLabel="false" title="管理类型"></t:dictSelect>
  161. <span class="Validform_checktip"></span>
  162. <label class="Validform_label" style="display: none;">管理类型</label>
  163. </td>
  164. </tr>
  165. <tr>
  166. <td height="50px" align="center" colspan="2">
  167. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  168. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  169. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  170. </td>
  171. </tr>
  172. </table>
  173. </t:formvalid>
  174. </body>
  175. <script src = "webpage/cn/com/lzt/personnelbasearchivesmanage/personnelBaseArchivesManage.js"></script>