orderList.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <%var cssParam = {%>
  2. <%};%>
  3. <%var jsParam = {%>
  4. <script type="text/javascript">
  5. function openWindowOpt(optType, optId){
  6. var url = "${contextPath}/VideoConference/";
  7. var param = "scrollbars=yes,status=no,resizable=no,location=no,toolbar=no,top=0,left=0,width=1024,height=768";
  8. if(optType == 1){
  9. url = url + "beginConference?id=" + optId;
  10. }else if(optType == 2){
  11. url = url + "beginConference?id=" + optId;
  12. }else{
  13. url = url + "joinConference?opttype=other&id=" + optId;
  14. }
  15. window.open(url, "_blank", param);
  16. }
  17. function openDialog(url,msg){
  18. url = "${contextPath}/VideoConference/" + url;
  19. bootbox.dialog({
  20. title: "系统提示",
  21. message: msg,
  22. locale:"zh_CN",
  23. buttons: {
  24. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  25. ok: {label: "确定",className: "btn-success",
  26. callback: function() {
  27. window.location.href = url;
  28. }
  29. }
  30. }
  31. });
  32. }
  33. function openDialogToAjax(url,msg){
  34. url = "${contextPath}/VideoConference/" + url;
  35. bootbox.dialog({
  36. title: "系统提示",
  37. message: msg,
  38. locale:"zh_CN",
  39. buttons: {
  40. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  41. ok: {label: "确定",className: "btn-success",
  42. callback: function() {
  43. // Ajax操作
  44. }
  45. }
  46. }
  47. });
  48. }
  49. <%if(""!=msg!""){%>
  50. alert('${msg}');
  51. <%}%>
  52. </script>
  53. <%};%>
  54. <%layout("/VideoConference/commonPage/_layout.html", {nav: "我主持的会议",meunsel:"orderListPage",jsParam:jsParam,cssParam:cssParam}) {%>
  55. <div class="col-xs-12">
  56. <div class="row">
  57. <a class="btn btn-xs btn-success" href="${contextPath}/VideoConference/toedit?pageNumber=${pageNumber!1}">
  58. <i class="icon-ok bigger-120">申请会议</i>
  59. </a>
  60. </div>
  61. </div>
  62. <div class="col-xs-12">
  63. <div class="row">
  64. <div class="table-responsive">
  65. <table id="sample-table-1"
  66. class="table table-striped table-bordered table-hover">
  67. <thead>
  68. <tr>
  69. <th>序号</th>
  70. <th>会议名称</th>
  71. <th>会议室</th>
  72. <th>预计开始时间</th>
  73. <th>预计结束时间</th>
  74. <th>实际开始时间</th>
  75. <th>实际结束时间</th>
  76. <th>会议申请时间</th>
  77. <th>会议状态</th>
  78. <th>操作</th>
  79. </tr>
  80. </thead>
  81. <tbody>
  82. <%for(tempDate in dateList!){%>
  83. <tr title="${tempDate.meetingContent}">
  84. <td>${tempDateLP.index}</td>
  85. <td>${tempDate.meetingName}</td>
  86. <td>${tempDate.roomName}</td>
  87. <td>${tempDate.orderStartTime}</td>
  88. <td>${tempDate.orderEndTime}</td>
  89. <td>${tempDate.startTime}</td>
  90. <td>${tempDate.endTime}</td>
  91. <td>${tempDate.createDate}</td>
  92. <td>
  93. <%if(tempDate.state==0){%>
  94. 申请
  95. <%}else if(tempDate.state==1){%>
  96. 拒绝
  97. <%}else if(tempDate.state==2){%>
  98. 预约
  99. <%}else if(tempDate.state==3){%>
  100. 取消
  101. <%}else if(tempDate.state==4){%>
  102. 开始
  103. <%}else if(tempDate.state==5){%>
  104. 结束
  105. <%}%>
  106. </td>
  107. <td>
  108. <%if(tempDate.state==0){%>
  109. <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
  110. <i class="icon-trash bigger-120"></i>
  111. </a>
  112. <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
  113. <i class="icon-group bigger-120"></i>
  114. </a>
  115. <%}else if(tempDate.state==1){%>
  116. <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
  117. <i class="icon-trash bigger-120"></i>
  118. </a>
  119. <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
  120. <i class="icon-group bigger-120"></i>
  121. </a>
  122. <%}else if(tempDate.state==2){%>
  123. <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
  124. <i class="icon-group bigger-120"></i>
  125. </a>
  126. <a class="btn btn-xs btn-info" href="javascript:openDialog('cancelConference?id=${tempDate.id}', '您确定要取消这个会议么?')" data-toggle="tooltip" data-placement="auto" title="取消会议">
  127. <i class="icon-edit bigger-120"></i>
  128. </a>
  129. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(1,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="开始会议">
  130. <i class="icon-fire bigger-120"></i>
  131. </a>
  132. <%}else if(tempDate.state==3){%>
  133. <%}else if(tempDate.state==4){%>
  134. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(2,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
  135. <i class="icon-fire bigger-120"></i>
  136. </a>
  137. <a class="btn btn-xs btn-info" href="javascript:openDialog('endConference?id=${tempDate.id}', '您确定要结束这个会议么?')" data-toggle="tooltip" data-placement="auto" title="结束会议">
  138. <i class="icon-edit bigger-120"></i>
  139. </a>
  140. <%}else if(tempDate.state==5){%>
  141. <%}%>
  142. </td>
  143. </tr>
  144. <%}elsefor{%>
  145. <tr>
  146. <td colspan="10">没有记录!</td>
  147. </tr>
  148. <%}%>
  149. </tbody>
  150. </table>
  151. </div>
  152. <div class="pull-right">
  153. <%include("/VideoConference/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/VideoConference/getOrderList?pageNumber=", "urlParas": urlParas!''}){}%>
  154. </div>
  155. <!-- /.table-responsive -->
  156. </div>
  157. </div>
  158. <%}%>