userSelect4Supervisor.jsp 1.9 KB

1234567891011121314151617181920212223242526272829303132
  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. <link rel="stylesheet" type="text/css" href="plug-in/ztree/css/zTreeStyle.css">
  5. <script type="text/javascript" src="plug-in/ztree/js/jquery.ztree.core-3.5.min.js"></script>
  6. <script type="text/javascript" src="plug-in/ztree/js/jquery.ztree.excheck-3.5.min.js"></script>
  7. <%--update-start--Author:wangkun Date:20160327 TASK #956 【UI标签】封装选择用户标签--%>
  8. <script type="text/javascript">
  9. function initCheck(data){
  10. var ids = "${ids}";
  11. var idArr = ids.split(",");
  12. for(var i=0;i<idArr.length;i++){
  13. if(idArr[i]!=""){
  14. $("#userList1").datagrid("selectRecord",idArr[i]);
  15. }
  16. }
  17. }
  18. </script>
  19. <body style="overflow-y: hidden" scroll="no">
  20. <t:datagrid checkbox="false" name="userList1" title="common.user.select" actionUrl="userController.do?datagrid_supervisor" onLoadSuccess="initCheck"
  21. fit="true" fitColumns="true" showRefresh="false" idField="id" queryMode="group" sortName="createDate" sortOrder="desc">
  22. <t:dgCol title="common.id" field="id" hidden="true"></t:dgCol>
  23. <t:dgCol title="员工工号" field="userName" sortable="false" width="50"></t:dgCol>
  24. <t:dgCol title="员工姓名" field="realName" query="true" width="50"></t:dgCol>
  25. <t:dgCol title="员工岗位" field="userKey" dictionary="t_bus_post,id,post_name, and delete_flag = '0' and status = '0'" query="true" width="50"></t:dgCol>
  26. <t:dgCol title="状态" field="positionStatus" dictionary="jobStatus" width="50"></t:dgCol>
  27. <t:dgCol title="入职时间" field="contractStime" width="50" formatter="yyyy-MM-dd"></t:dgCol>
  28. <%-- <t:dgCol title="common.status" sortable="true" field="ContractStime" replace="common.active_1,common.inactive_0,super.admin_-1" ></t:dgCol> --%>
  29. </t:datagrid>
  30. </body>