infoSignMeeting2.jsp 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  7. <title>用品列表</title>
  8. <link href="/shares/js/yw/master1/liger/skins/ynet/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  9. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  10. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  11. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
  12. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
  13. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
  14. <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerCheckBox.js" type="text/javascript"></script>
  15. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  16. <script type="text/javascript" src="/shares/js/constant.js"></script>
  17. <script type="text/javascript" src="/shares/js/common.js"></script>
  18. <style type="text/css">
  19. .aa{ background:red;}
  20. </style>
  21. <script type="text/javascript">//<![CDATA[
  22. var meeting_id = "${requestScope.meeting_id }";
  23. var grid = null;
  24. $(function () {
  25. grid = $("#maingrid4").ligerGrid({
  26. columns: [
  27. { display: '会议标题', name: 'meeting_title', width: 290 },
  28. { display: '姓名', name: 'name', width: 100},
  29. {
  30. display: '是否已签收', isAllowHide: false, width: 100,
  31. render: function (row)
  32. {
  33. if(row.meeting_user_type == 0){
  34. return '<font color=\"red\">未签收<font>';
  35. } else {
  36. return '已签收';
  37. }
  38. }
  39. },
  40. {
  41. display: '是否参加', isAllowHide: false,width: 100,
  42. render: function (row)
  43. {
  44. if(row.participate == 0){
  45. return '<font color=\"red\">不参加<font>';
  46. } else if(row.participate == 1) {
  47. return '本人参加';
  48. } else if(row.participate == 2) {
  49. return '他人代替';
  50. }
  51. }
  52. },
  53. { display: '代替参加会议的人', name: 'replace_person', width: 100},
  54. { display: '反馈内容', name: 'meeting_user_feedback', width: 290}
  55. ],
  56. pageSize:20,
  57. url: 'MeetingAction.do?task=signMeetingInfo&meeting_id=' + meeting_id + '&time=' + new Date().getTime(),
  58. //where : f_getWhere(),
  59. //data: $.extend(true,{},CustomersData),
  60. //onSuccess: ,
  61. pageParmName: 'p', //页索引参数名,(提交给服务器)
  62. pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
  63. width: '99.9%',
  64. height: '99%'
  65. });
  66. $("#pageloading").hide();
  67. $("#meeting_user_type").ligerComboBox({
  68. isShowCheckBox: true,
  69. isMultiSelect: true,
  70. data: [
  71. { text: '未签收', id: '0'},
  72. { text: '已签收', id: '1' }
  73. ],
  74. valueFieldID: 'meeting_user_type_',
  75. split :',',
  76. });
  77. $("#participate").ligerComboBox({
  78. isShowCheckBox: true,
  79. isMultiSelect: true,
  80. data: [
  81. { text: '不参加', id: '0' },
  82. { text: '本人参加', id: '1'},
  83. { text: '他人代替', id: '2'}
  84. ],
  85. valueFieldID: 'participate_',
  86. split :','
  87. });
  88. });
  89. function searchByKword(){
  90. var s = "";
  91. var meeting_user_type = document.getElementById("meeting_user_type_");
  92. var participate = document.getElementById("participate_");
  93. if(meeting_user_type.value != "" && typeof(meeting_user_type.value) != "undefined" ){
  94. s += "&meeting_user_type=" + encodeURI(encodeURI(meeting_user_type.value));
  95. }
  96. if(participate.value != "" && typeof(participate.value) != "undefined" ){
  97. s += "&participate=" + encodeURI(encodeURI(participate.value));
  98. }
  99. $(function () {
  100. grid = $("#maingrid4").ligerGrid({
  101. columns: [
  102. { display: '会议标题', name: 'meeting_title', width: 290 },
  103. { display: '姓名', name: 'name', width: 100},
  104. {
  105. display: '是否已签收', isAllowHide: false, width: 100,
  106. render: function (row)
  107. {
  108. if(row.meeting_user_type == 0){
  109. return '<font color=\"red\">未签收<font>';
  110. } else {
  111. return '已签收';
  112. }
  113. }
  114. },
  115. {
  116. display: '是否参加', isAllowHide: false,width: 100,
  117. render: function (row)
  118. {
  119. if(row.participate == 0){
  120. return '<font color=\"red\">不参加<font>';
  121. } else if(row.participate == 1) {
  122. return '本人参加';
  123. } else if(row.participate == 2) {
  124. return '他人代替';
  125. }
  126. }
  127. },
  128. { display: '代替参加会议的人', name: 'replace_person', width: 100},
  129. { display: '反馈内容', name: 'meeting_user_feedback', width: 290}
  130. ],
  131. pageSize:20,
  132. url: 'MeetingAction.do?task=signMeetingInfo&meeting_id=' + meeting_id + '&time=' + new Date().getTime() + s,
  133. //where : f_getWhere(),
  134. //data: $.extend(true,{},CustomersData),
  135. //onSuccess: ,
  136. pageParmName: 'p', //页索引参数名,(提交给服务器)
  137. pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
  138. width: '99.9%',
  139. height: '99%'
  140. });
  141. $("#pageloading").hide();
  142. });
  143. }
  144. //]]>
  145. </script>
  146. </head>
  147. <body >
  148. <div id="title" class="form-button">
  149. <form action="MeetingAction.do" method="post" target="_blank">
  150. <div id="deptBtn" class="form-button">
  151. <input type="submit" class="l-button" value="生成签到表" />
  152. <input type="hidden" id="task" name="task" value="printSignInfo">
  153. <input type="hidden" id="meeting_id" name="meeting_id" value="${requestScope.meeting_id }">
  154. </div>
  155. </form>
  156. </div>
  157. <div class="container-layout">
  158. <div class="default_search" style="margin-bottom: 0px;">
  159. <ul class="list_search">
  160. <li class="title" >签收情况:</li>
  161. <li class="text">
  162. <input type="text" name="meeting_user_type" id="meeting_user_type" >
  163. <input type="hidden" name="meeting_user_type_" id="meeting_user_type_" >
  164. </li>
  165. </ul>
  166. <ul class="list_search">
  167. <li class="title" >是否参会:</li>
  168. <li class="text">
  169. <input type="text" name="participate" id="participate">
  170. <input type="hidden" name="participate_" id="participate_" >
  171. </li>
  172. </ul>
  173. <ul>
  174. <li class="search-button">
  175. <input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询"/>
  176. </li>
  177. </ul>
  178. </div>
  179. <div id="searchbar" >
  180. <div style="clear: both;margin-right: 2px;margin-bottom:0px;margin-left:0px;margin-top:0px; padding: 0">
  181. <div id="maingrid4" style="margin:0; padding:0"></div>
  182. </div>
  183. </div>
  184. </div>
  185. <%@ include file="/include/message.jsp"%>
  186. </body>
  187. </html>