| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%String meeting_id = request.getParameter("meeting_id");%>
- <!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/css/yw/master1/reset.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 type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/page.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/common.js"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="/shares/js/yw/core/deptUserTree.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/searchBox.js"></script>
- <script type="text/javascript">
- $(function () {
- searchByKword();
- });
- function search(s){
- var p = $("#p").val();
- var pSize = getPize();
- var param={"p":p,"pSize":pSize};
- sendAsyncAjax(param, "MTMeetingAction.do?task=signMeetingInfo"+s, "json", function(data) {
- var num = data.Total;
- page(num,pSize,p);
- var datas = data.Rows;
- var item_name = $('#contentDiv');
- $(item_name).empty();//初始化table,清空table
- var html = '';
- if(datas.length == 0){
- html += '<div align="center" valign="middle">';
- html += '<div class="info_ico"><img src="/shares/images/master1/ooopic.png" width="173" height="173" /></div>';
- html += '<div class="info_f1">未查询到相关信息!</div>';
- html += '</div>';
- }else{
- var j=0;
- for (var i = 0; i < datas.length; i++){
- var arr = datas[i];
- var bdiv = 1;
- bdiv = 1 + j;
- if (j < 7) {j++} else {j = 0;};
- html += '<div class="tr_cont_new mar4 f5_new">';
- //html+= '<a href="#" onclick="details('+arr["meeting_id"]+')">';
- html += '<div class="wdrw_tiao_new bn'+bdiv+' fl"></div>';
- html += '<div class="tr_rw_d_new fl">';
- html+= '<p><img src="/shares/images/master1/rw_ico_menu.png" width="17" height="15" />';
- if(arr.meeting_user_type == 0){
- html+= '【<font color="red">未签收</font>】';
- }else{
- html+= '【已签收】';
- }
- html+= ''+arr.name+' ';
- if(arr.participate == 0){
- html+= '<font color="red">不参加</font>';
- }else if(arr.participate == 1){
- html+= '本人参加';
- }else if(arr.participate == 2){
- html+= '他人参加';
- }
- if(arr.replace_person != null){
- html+= ' '+arr.replace_person+'';
- }
- html+= '</p>';
- html+= '<p class="mar5">'+arr.meeting_title+'</p>';
- html+= '</div>';
- // html+= '</a>';
- html+= '<div class="tr_rw_btn_new fr">';
- //html+= '<div class="div_btn"><input class="btn_c" name="" onclick="del('+arr["meeting_id"]+')" type="button" value="删除"/></div>';
- //html+= '<div class="div_btn"><input class="btn_c" name="" onclick="signFor('+arr["meeting_id"]+')" type="button" value="签收情况"/></div>';
- html+= '</div>';
- html+= '</div>';
- }
- }
- $(item_name).html(html);
- });
- }
-
- var dialog = "";
- //新增
- function add(id){
- dialog = $.ligerDialog.open({ height: 420,width:550,title:"新增新闻",url: 'mtNews.do?task=toAddNews'});
- }
-
- //詳情
- function details(id){
- item('MTMeetingAction.do?task=info&meeting_id='+id+'');
- //openMsg("编辑新闻","${pageContext.request.contextPath }/mtNews.do?task=toEdit&news_id="+id+"&tabid="+ getCurrentTabId()+"","400","500");
- //dialog = $.ligerDialog.open({ height: 420,width:550,title:"编辑新闻",url: 'mtNews.do?task=toEdit&news_id='+id+''});
- }
-
- //签收情況
- function signFor(id){
- item('MTMeetingAction.do?task=infoSign&meeting_id='+id+'');
- //dialog = $.ligerDialog.open({ height: 500,width:650,title:"新闻查看",url: 'mtNews.do?task=info&news_id='+id+''});
- }
-
- //删除
- function del(id){
- if (confirm("确定要删除吗?")) {
- $.ajax({
- type : "POST",
- url:'MTMeetingAction.do?task=del',
- data : {"meeting_id":id},
- success: function (data) {
- alert("删除成功");
- searchByKword();
- },
- error: function(data){
- alert("删除失败");
- searchByKword();
- }
- });
- }
- }
-
- //置顶
- function topRow(id){
- if (confirm("确定要置顶吗?")) {
- $.ajax({
- type : "POST",
- url:'mtNews.do?task=topNews',
- data : {"news_id":id},
- success: function (data) {
- alert("置顶成功");
- searchByKword();
- },
- error: function(data){
- alert("置顶失败");
- searchByKword();
- }
- });
- }
- }
-
- //查询
- function searchByKword(){
- var meeting_id = "${requestScope.meeting_id }";
- //var news_title = document.getElementById("news_title");
- //var news_type_id = document.getElementById("news_type_id");
- var news_sort = document.getElementById("news_sort");
- var s = "";
- /* if(news_title.value != "" && typeof(news_title.value) != "undefined" ){
- s += "&news_title=" + encodeURI(encodeURI(news_title.value));
- } */
- /* if(news_type_id.value != "" && typeof(news_type_id.value) != "undefined" ){
- s += "&news_type_id=" + encodeURI(encodeURI(news_type_id.value));
- } */
- if(news_sort.value != "" && typeof(news_sort.value) != "undefined" ){
- s += "&news_sort=" + encodeURI(encodeURI(news_sort.value));
- }
- s += "&meeting_id=" + meeting_id;
- search(s);
- }
-
- //查询全部
- function searchAll(){
- $("#news_title").val("");
- $("#news_type_id").val("");
- $("#news_sort").val("");
- var s = "";
- submitItemName(s);
- }
-
- //获取焦点
- $(document).ready(function() {
- $("[id='news_title']").focus();
- });
-
- </script>
- </head>
- <span style="float:none;"></span>
- <body>
- <input type="hidden" id="news_sort" name="news_sort" value="${news_sort}">
- <div class="tc_b">
- <div id="left" style="float:left;width:100%;">
- <div class="tc_r">
- <div class="tr_con b5 f4">
- <div class="fl">
- <img src="/shares/images/master1/wdrw_ico.png" width="25" height="31" /> 会议签收情况
- </div>
- <!-- <div class="div_ck_k fr">
- <input class="div_cx fl" name="" type="text" />
- <input class="btn_ck fl" type="button" id="button" />
- </div> -->
- </div>
- <div class="tr_right_bg">
- <div id="contentDiv"></div>
- <jsp:include page="/yw/master1/page.jsp">
- <jsp:param name="functionName" value="searchByKword"/>
- <jsp:param name="p" value="1"/>
- <jsp:param name="pSize" value="7"/>
- </jsp:include>
- </div>
- </div>
- </div>
- <%@ include file="/yw/master1_oa/meeting/leftSignMeeting.jsp"%>
- </div>
- </body>
- </html>
|