| 1234567891011121314151617181920212223242526272829303132 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <link rel="stylesheet" type="text/css" href="plug-in/ztree/css/zTreeStyle.css">
- <script type="text/javascript" src="plug-in/ztree/js/jquery.ztree.core-3.5.min.js"></script>
- <script type="text/javascript" src="plug-in/ztree/js/jquery.ztree.excheck-3.5.min.js"></script>
- <%--update-start--Author:wangkun Date:20160327 TASK #956 【UI标签】封装选择用户标签--%>
- <script type="text/javascript">
- function initCheck(data){
- var ids = "${ids}";
- var idArr = ids.split(",");
- for(var i=0;i<idArr.length;i++){
- if(idArr[i]!=""){
- $("#userList1").datagrid("selectRecord",idArr[i]);
- }
- }
- }
- </script>
- <body style="overflow-y: hidden" scroll="no">
- <t:datagrid checkbox="false" name="userList1" title="common.user.select" actionUrl="userController.do?datagrid_supervisor" onLoadSuccess="initCheck"
- fit="true" fitColumns="true" showRefresh="false" idField="id" queryMode="group" sortName="createDate" sortOrder="desc">
- <t:dgCol title="common.id" field="id" hidden="true"></t:dgCol>
- <t:dgCol title="员工工号" field="userName" sortable="false" width="50"></t:dgCol>
- <t:dgCol title="员工姓名" field="realName" query="true" width="50"></t:dgCol>
- <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>
- <t:dgCol title="状态" field="positionStatus" dictionary="jobStatus" width="50"></t:dgCol>
- <t:dgCol title="入职时间" field="contractStime" width="50" formatter="yyyy-MM-dd"></t:dgCol>
- <%-- <t:dgCol title="common.status" sortable="true" field="ContractStime" replace="common.active_1,common.inactive_0,super.admin_-1" ></t:dgCol> --%>
- </t:datagrid>
- </body>
|