clockList.jsp 2.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  4. <div class="easyui-layout" fit="true">
  5. <div region="center" style="padding:0px;border:0px">
  6. <t:datagrid name="alarmList" checkbox="false" fitColumns="true" title="考勤管理" actionUrl="userClockController.do?datagrid" idField="id" fit="true" queryMode="group" pageSize="20" >
  7. <t:dgCol title="主键" field="id" hidden="true" queryMode="single" width="120"></t:dgCol>
  8. <t:dgCol title="考勤编码" field="code" query="true" align="center" queryMode="single" width="180"></t:dgCol>
  9. <t:dgCol title="员工工号" field="userNum" query="true" align="center" queryMode="single" width="180"></t:dgCol>
  10. <%--隐藏的员工姓名模糊搜索条件--%>
  11. <t:dgCol title="员工姓名" field="user_id_str" hidden="true" query="true" queryMode="single" width="180" ></t:dgCol>
  12. <t:dgCol title="员工姓名" field="user_id" dictionary="t_s_base_user,id,realname" align="center" queryMode="single" width="180" ></t:dgCol>
  13. <t:dgCol title="所属部门" field="depart" query="true" queryMode="single" align="center" dictionary="t_s_depart,id,departname, and org_type != '1' " width="250"></t:dgCol>
  14. <t:dgCol title="岗位" field="post" query="true" queryMode="single" align="center" dictionary="t_bus_post,id,post_name, and delete_flag = '0' and status = '0'" width="200" ></t:dgCol>
  15. <t:dgCol title="打卡时间" field="clock_time" formatter="yyyy-MM-dd hh:mm:ss" align="center" query="true" queryMode="group" dictionary="alarmType" width="180" ></t:dgCol>
  16. <t:dgToolBar title="导出" icon="icon-put" operationCode="put" url="userClockController.do?ExportXls" funname="ExportXls"></t:dgToolBar>
  17. <%-- <t:dgToolBar title="同步" icon="icon-refresh" url="userClockController.do?Refresh" funname="refresh"></t:dgToolBar>--%>
  18. </t:datagrid>
  19. </div>
  20. </div>
  21. <script type="text/javascript">
  22. function refresh(){
  23. }
  24. function ExportXls() {
  25. JeecgExcelExport("userClockController.do?exportXls","alarmList");
  26. }
  27. </script>
  28. <style type="text/css">
  29. /*上传时间范围查询~样式*/
  30. .datagrid-toolbar form > span:nth-last-child(1) > span:nth-last-child(2) {
  31. width: 8px !important;
  32. }
  33. </style>