| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>考核组列表</title>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript">
- var grid = null;
- $(function() {
- loadTypeTree("by_people", {
- type : "usersingle",
- backId : "by_people_id",
- backName : "by_people_name",
- tab:"1"
- });
- loadTypeTree("to_people", {
- type : "usersingle",
- backId : "to_people_id",
- backName : "to_people_name",
- tab:"1"
- });
-
- searchByKword();
- });
-
- function initGrid(params) {
- var columns = [
-
- {
- display : '考核组名称',
- name : 'group_name',
- width : 200
- }, {
- display : '考核人',
- name : 'to_people_names',
- width : 300,
- render:function(row,index,value){
- var html="<font title='"+value+"'>"+value+"</font>";
- return html;
- }
- }, {
- display : '被考核人',
- name : 'by_people_names',
- width : 300,
- render:function(row,index,value){
- var html="<font title='"+value+"'>"+value+"</font>";
- return html;
- }
- }, {
- display : '考核组状态',
- name : 'state',
- width : 100,
- render:function(row,index,value){
- var html=$("#state option[value="+value+"]").text();
- return html;
- }
- }];
- grid = $("#maingrid4")
- .ligerGrid(
- {
- columns : columns,
- pageSize : 20,
- url : 'pfmAssessGroupAction.do?task=pagelist&time=' + new Date().getTime() + params,
- pageParmName:'p', //页索引参数名,(提交给服务器)
- pagesizeParmName:'pSize', //页记录数参数名,(提交给服务器)
- width : '99.9%',
- height : '99%',
- checkbox : true
- });
- $("#pageloading").hide();
- }
-
- //查询
- function searchByKword() {
- var s = "";
- var group_name = $("#group_name").val();//
- if (group_name != "" && typeof (group_name) != "undefined") {
- s += "&group_name=" + encodeURI(encodeURI(group_name));
- }
- var to_people_id = $("#to_people_id").val();//
- if (to_people_id != "" && typeof (to_people_id) != "undefined") {
- s += "&to_people_id=" + to_people_id;
- }
- var by_people_id = $("#by_people_id").val();//
- if (by_people_id != "" && typeof (by_people_id) != "undefined") {
- s += "&by_people_id=" + by_people_id;
- }
- var state = "2";//
- if (state != "" && typeof (state) != "undefined") {
- s += "¬_state=" + state;
- }
- initGrid(s);
- }
- function f_select() {
- var rows = grid.getCheckedRows();
- return rows;
- }
- </script>
- </head>
- <body>
- <%@ include file="/include/message.jsp"%>
- <div class="l-content">
- <div class="default_search" style="margin: 0;">
- <ul >
- <li class="title">考核组名称:</li>
- <li class="text">
- <input type="text" name="group_name" id="group_name" />
- </li>
- </ul>
- <ul >
- <li style="vertical-align:middle;margin-left:15px;">
- <input type="text" name="to_people_name" id="to_people_name" />
- <input type="hidden" name="to_people_id" id="to_people_id"/>
- <input type="button" class="l-button" value="选择考核人" id="to_people"/>
- </li>
- </ul>
- <ul>
- <li style="vertical-align:middle;margin-left:15px;">
- <input type="text" name="by_people_name" id="by_people_name" />
- <input type="hidden" name="by_people_id" id="by_people_id" />
- <input type="button" class="l-button" value="选择被考核人" id="by_people" style="width:100px;"/>
- </li>
- </ul>
- <ul >
- <li class="search-button"><input type="button" class='l-button'
- name="search" onclick="searchByKword()" value="查询" />
- </li>
- </ul>
- </div>
- <div class="default_search" style="margin: 0;display:none">
- <ul style="width: 250px;">
- <li class="title">状态:</li>
- <li class="text">
- <select id="state" name="state" style="width:100px;">
- <option value="" selected="selected">-请选择-</option>
- <c:forEach items="${stateList }" var="item">
- <option value="${item.dvalue }" >${item.dname }</option>
- </c:forEach>
- </select>
- </li>
- </ul>
-
- </div>
- <div style="clear:both;"></div>
- <div id="searchbar">
- <div style="overflow: hidden; clear: both;">
- <div id="maingrid4" style="margin: 0; padding: 0"></div>
- </div>
- </div>
- </div>
- </body>
- </html>
|