userAttendanceDetail-update.jsp 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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="userAttendanceDetailController.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="userAttendanceDetailController.do?doUpdate" tiptype="1" callback="callback">
  31. <input id="id" name="id" type="hidden" value="${userAttendanceDetailPage.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="attendanceId" name="attendanceId" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.attendanceId}'/>
  41. <span class="Validform_checktip"></span>
  42. <label class="Validform_label" style="display: none;">考勤ID</label>
  43. </td>
  44. </tr>
  45. <tr>
  46. <td align="right">
  47. <label class="Validform_label">
  48. 状态:
  49. </label>
  50. </td>
  51. <td class="value">
  52. <input id="status" name="status" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.status}'/>
  53. <span class="Validform_checktip"></span>
  54. <label class="Validform_label" style="display: none;">状态</label>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td align="right">
  59. <label class="Validform_label">
  60. 出勤时间:
  61. </label>
  62. </td>
  63. <td class="value">
  64. <input id="attendanceDate" name="attendanceDate" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.attendanceDate}'/>
  65. <span class="Validform_checktip"></span>
  66. <label class="Validform_label" style="display: none;">出勤时间</label>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td align="right">
  71. <label class="Validform_label">
  72. 退勤时间:
  73. </label>
  74. </td>
  75. <td class="value">
  76. <input id="retreatDate" name="retreatDate" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.retreatDate}'/>
  77. <span class="Validform_checktip"></span>
  78. <label class="Validform_label" style="display: none;">退勤时间</label>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td align="right">
  83. <label class="Validform_label">
  84. 班次ID:
  85. </label>
  86. </td>
  87. <td class="value">
  88. <input id="dutyId" name="dutyId" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.dutyId}'/>
  89. <span class="Validform_checktip"></span>
  90. <label class="Validform_label" style="display: none;">班次ID</label>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td align="right">
  95. <label class="Validform_label">
  96. 基准时间:
  97. </label>
  98. </td>
  99. <td class="value">
  100. <input id="datumDate" name="datumDate" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.datumDate}'/>
  101. <span class="Validform_checktip"></span>
  102. <label class="Validform_label" style="display: none;">基准时间</label>
  103. </td>
  104. </tr>
  105. <tr>
  106. <td align="right">
  107. <label class="Validform_label">
  108. 时间差值:
  109. </label>
  110. </td>
  111. <td class="value">
  112. <input id="timeDifference" name="timeDifference" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.timeDifference}'/>
  113. <span class="Validform_checktip"></span>
  114. <label class="Validform_label" style="display: none;">时间差值</label>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td align="right">
  119. <label class="Validform_label">
  120. 微调类型:
  121. </label>
  122. </td>
  123. <td class="value">
  124. <input id="fineTuningType" name="fineTuningType" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.fineTuningType}'/>
  125. <span class="Validform_checktip"></span>
  126. <label class="Validform_label" style="display: none;">微调类型</label>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td align="right">
  131. <label class="Validform_label">
  132. 时间微调:
  133. </label>
  134. </td>
  135. <td class="value">
  136. <input id="timeFineTuning" name="timeFineTuning" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.timeFineTuning}'/>
  137. <span class="Validform_checktip"></span>
  138. <label class="Validform_label" style="display: none;">时间微调</label>
  139. </td>
  140. </tr>
  141. <tr>
  142. <td align="right">
  143. <label class="Validform_label">
  144. 调整理由:
  145. </label>
  146. </td>
  147. <td class="value">
  148. <input id="adjustReason" name="adjustReason" type="text" style="width: 150px" ignore="ignore" value='${userAttendanceDetailPage.adjustReason}'/>
  149. <span class="Validform_checktip"></span>
  150. <label class="Validform_label" style="display: none;">调整理由</label>
  151. </td>
  152. </tr>
  153. <tr>
  154. <td height="50px" align="center" colspan="2" >
  155. <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
  156. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  157. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
  158. </td>
  159. </tr>
  160. </table>
  161. </t:formvalid>
  162. </body>
  163. <script src = "webpage/cn/com/lzt/userattendancedetail/userAttendanceDetail.js"></script>