| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <%@ 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="/shares/js/yw/master1/liger/skins/ynet/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/ligerDateEditor.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <style type="text/css">
- .aa{ background:red;}
- </style>
- <script type="text/javascript">//<![CDATA[
- var meeting_id = "${requestScope.meeting_id }";
- var grid = null;
- $(function () {
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '会议标题', name: 'meeting_title', width: 290 },
- { display: '姓名', name: 'name', width: 100},
- {
- display: '是否已签收', isAllowHide: false, width: 100,
- render: function (row)
- {
- if(row.meeting_user_type == 0){
- return '<font color=\"red\">未签收<font>';
- } else {
- return '已签收';
- }
- }
- },
- {
- display: '是否参加', isAllowHide: false,width: 100,
- render: function (row)
- {
- if(row.participate == 0){
- return '<font color=\"red\">不参加<font>';
- } else if(row.participate == 1) {
- return '本人参加';
- } else if(row.participate == 2) {
- return '他人代替';
- }
- }
- },
- { display: '代替参加会议的人', name: 'replace_person', width: 100},
- { display: '反馈内容', name: 'meeting_user_feedback', width: 290}
- ],
- pageSize:20,
- url: 'MeetingAction.do?task=signMeetingInfo&meeting_id=' + meeting_id + '&time=' + new Date().getTime(),
- //where : f_getWhere(),
- //data: $.extend(true,{},CustomersData),
- //onSuccess: ,
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.9%',
- height: '99%'
- });
- $("#pageloading").hide();
-
- $("#meeting_user_type").ligerComboBox({
- isShowCheckBox: true,
- isMultiSelect: true,
- data: [
- { text: '未签收', id: '0'},
- { text: '已签收', id: '1' }
- ],
- valueFieldID: 'meeting_user_type_',
- split :',',
- });
- $("#participate").ligerComboBox({
- isShowCheckBox: true,
- isMultiSelect: true,
- data: [
- { text: '不参加', id: '0' },
- { text: '本人参加', id: '1'},
- { text: '他人代替', id: '2'}
- ],
- valueFieldID: 'participate_',
- split :','
- });
- });
- function searchByKword(){
- var s = "";
- var meeting_user_type = document.getElementById("meeting_user_type_");
- var participate = document.getElementById("participate_");
-
- if(meeting_user_type.value != "" && typeof(meeting_user_type.value) != "undefined" ){
- s += "&meeting_user_type=" + encodeURI(encodeURI(meeting_user_type.value));
- }
- if(participate.value != "" && typeof(participate.value) != "undefined" ){
- s += "&participate=" + encodeURI(encodeURI(participate.value));
- }
- $(function () {
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '会议标题', name: 'meeting_title', width: 290 },
- { display: '姓名', name: 'name', width: 100},
- {
- display: '是否已签收', isAllowHide: false, width: 100,
- render: function (row)
- {
- if(row.meeting_user_type == 0){
- return '<font color=\"red\">未签收<font>';
- } else {
- return '已签收';
- }
- }
- },
- {
- display: '是否参加', isAllowHide: false,width: 100,
- render: function (row)
- {
- if(row.participate == 0){
- return '<font color=\"red\">不参加<font>';
- } else if(row.participate == 1) {
- return '本人参加';
- } else if(row.participate == 2) {
- return '他人代替';
- }
- }
- },
- { display: '代替参加会议的人', name: 'replace_person', width: 100},
- { display: '反馈内容', name: 'meeting_user_feedback', width: 290}
- ],
- pageSize:20,
- url: 'MeetingAction.do?task=signMeetingInfo&meeting_id=' + meeting_id + '&time=' + new Date().getTime() + s,
- //where : f_getWhere(),
- //data: $.extend(true,{},CustomersData),
- //onSuccess: ,
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.9%',
- height: '99%'
- });
- $("#pageloading").hide();
- });
- }
- //]]>
- </script>
- </head>
- <body >
- <div id="title" class="form-button">
- <form action="MeetingAction.do" method="post" target="_blank">
- <div id="deptBtn" class="form-button">
- <input type="submit" class="l-button" value="生成签到表" />
- <input type="hidden" id="task" name="task" value="printSignInfo">
- <input type="hidden" id="meeting_id" name="meeting_id" value="${requestScope.meeting_id }">
- </div>
- </form>
- </div>
- <div class="container-layout">
- <div class="default_search" style="margin-bottom: 0px;">
- <ul class="list_search">
- <li class="title" >签收情况:</li>
- <li class="text">
- <input type="text" name="meeting_user_type" id="meeting_user_type" >
- <input type="hidden" name="meeting_user_type_" id="meeting_user_type_" >
- </li>
- </ul>
- <ul class="list_search">
- <li class="title" >是否参会:</li>
- <li class="text">
- <input type="text" name="participate" id="participate">
- <input type="hidden" name="participate_" id="participate_" >
- </li>
- </ul>
- <ul>
- <li class="search-button">
- <input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询"/>
- </li>
- </ul>
- </div>
- <div id="searchbar" >
- <div style="clear: both;margin-right: 2px;margin-bottom:0px;margin-left:0px;margin-top:0px; padding: 0">
- <div id="maingrid4" style="margin:0; padding:0"></div>
- </div>
- </div>
- </div>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|