tBusSpecialAttendList.jsp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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="tBusSpecialAttendList" checkbox="true" fitColumns="true" title="员工特殊考勤表" actionUrl="tBusSpecialAttendController.do?datagrid" idField="id" fit="true" queryMode="group">
  7. <t:dgCol title="员工" field="userid" queryMode="single" dictionary="t_s_base_user,id,realname" width="120"></t:dgCol>
  8. <t:dgCol title="数据库标识" field="id" hidden="true" query="false" queryMode="single" width="220"></t:dgCol>
  9. <t:dgCol title="考勤方式" field="attendtype" query="false" queryMode="single" dictionary="special_attendtype" width="120"></t:dgCol>
  10. <t:dgCol title="创建人名称" field="createName" hidden="false" queryMode="single" width="120"></t:dgCol>
  11. <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
  12. <t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd" hidden="false" queryMode="single" width="120"></t:dgCol>
  13. <t:dgCol title="更新人名称" field="updateName" hidden="false" queryMode="single" width="120"></t:dgCol>
  14. <t:dgCol title="更新人登录名称" field="updateBy" hidden="true" queryMode="single" width="120"></t:dgCol>
  15. <t:dgCol title="更新日期" field="updateDate" formatter="yyyy-MM-dd" hidden="false" queryMode="single" width="120"></t:dgCol>
  16. <t:dgCol title="所属部门" field="sysOrgCode" hidden="false" queryMode="single" width="120"></t:dgCol>
  17. <t:dgCol title="所属公司" field="sysCompanyCode" hidden="true" queryMode="single" width="120"></t:dgCol>
  18. <t:dgCol title="流程状态" field="bpmStatus" hidden="true" queryMode="single" dictionary="bpm_status" width="120"></t:dgCol>
  19. <t:dgCol title="操作" field="opt"></t:dgCol>
  20. <t:dgDelOpt title="移除" url="tBusSpecialAttendController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
  21. <t:dgToolBar title="添加" icon="icon-add" operationCode="add" url="tBusSpecialAttendController.do?goAdd" funname="add"></t:dgToolBar>
  22. <t:dgToolBar title="批量移除" icon="icon-remove" operationCode="remove" url="tBusSpecialAttendController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
  23. </t:datagrid>
  24. </div>
  25. </div>
  26. <script src = "webpage/cn/com/lzt/attendance/tBusSpecialAttendList.js"></script>
  27. <script>
  28. $(function() {
  29. var datagrid = $("#tBusSpecialAttendListtb");
  30. datagrid.prepend($("#pinjie1 div[name='pinjie2']").html());
  31. $("#pinjie1").html('');
  32. datagrid.children(".datagrid-toolbar").children("span:first").after($("#pinjiechaxun1 div[name='pinjiechaxun2']").html());
  33. $("#pinjiechaxun1").html('');
  34. });
  35. </script>
  36. <div id="pinjie1">
  37. <div name="pinjie2" style="padding:3px; height: auto" class="datagrid-toolbar">
  38. <div name="searchColums" style="margin:23px 0 18px 0;margin-top: 15px;margin-bottom: 8px;">
  39. <%-- <input type="hidden" id="orgCode" name="orgCode" value="${orgCode}"> --%>
  40. <table style="padding:0px" cellpadding="0" cellspacing="1" >
  41. <tbody>
  42. <tr height="50px">
  43. <td align="right" style="width: 74px;">
  44. <label class="Validform_label">
  45. 考勤方式:
  46. </label>
  47. </td>
  48. <td class="value">
  49. <t:dictSelect field="attendtype" type="list" extendJson="{class:'form-control',style:'width:120px'}"
  50. typeGroupCode="special_attendtype" hasLabel="false" title="考勤方式" datatype="*" ></t:dictSelect>
  51. </td>
  52. <td align="right" style="width: 74px;">
  53. <label class="Validform_label">
  54. 姓名:
  55. </label>
  56. </td>
  57. <td class="value">
  58. <input id="realname" name="realname" type="text" style="width: 157px; " class="inputxt" placeholder="支持模糊搜索">
  59. </td>
  60. </tr>
  61. </tbody>
  62. </table>
  63. </div>
  64. </div>
  65. </div>
  66. <div id="pinjiechaxun1">
  67. <div name="pinjiechaxun2" style="padding:3px; height: auto" class="datagrid-toolbar">
  68. <span style="float:right;margin-bottom:4px;">
  69. <span>
  70. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-search" id="tBusSpecialAttendListSearch" onclick="tBusSpecialAttendListsearch()">查询</a>
  71. </span>
  72. <span>
  73. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-reload " id="tBusSpecialAttendListRedo" onclick="searchReset('tBusSpecialAttendList')">重置</a>
  74. </span>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <script type="text/javascript">
  80. //导入
  81. function ImportXls() {
  82. openuploadwin('Excel导入', 'tBusSpecialAttendController.do?upload', "tBusSpecialAttendList");
  83. }
  84. //导出
  85. function ExportXls() {
  86. JeecgExcelExport("tBusSpecialAttendController.do?exportXls","tBusSpecialAttendList");
  87. }
  88. //模板下载
  89. function ExportXlsByT() {
  90. JeecgExcelExport("tBusSpecialAttendController.do?exportXlsByT","tBusSpecialAttendList");
  91. }
  92. //新增
  93. function add(title,url,id){
  94. window.location.href=url
  95. }
  96. //修改
  97. function update(title,url, id){
  98. updateNotCreateWin("修改",url, "tBusSpecialAttendList",false);
  99. }
  100. //查看
  101. function view(title,url, id){
  102. viewNotCreateWin("查看",url, "tBusSpecialAttendList",false)
  103. }
  104. </script>