myOrderList.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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:"myOrderListPage",jsParam:jsParam,cssParam:cssParam}) {%>
  55. <div class="col-xs-12">
  56. <div class="row">
  57. <div class="table-responsive">
  58. <table id="sample-table-1"
  59. class="table table-striped table-bordered table-hover">
  60. <thead>
  61. <tr>
  62. <th>序号</th>
  63. <th>会议名称</th>
  64. <th>会议室</th>
  65. <th>预计开始时间</th>
  66. <th>预计结束时间</th>
  67. <th>实际开始时间</th>
  68. <th>实际结束时间</th>
  69. <th>会议状态</th>
  70. <th>操作</th>
  71. </tr>
  72. </thead>
  73. <tbody>
  74. <%for(tempDate in dateList!){%>
  75. <tr title="${tempDate.meetingContent}">
  76. <td>${tempDateLP.index}</td>
  77. <td>${tempDate.meetingName}</td>
  78. <td>${tempDate.roomName}</td>
  79. <td>${tempDate.orderStartTime}</td>
  80. <td>${tempDate.orderEndTime}</td>
  81. <td>${tempDate.startTime}</td>
  82. <td>${tempDate.endTime}</td>
  83. <td>
  84. <%if(tempDate.orderState==0){%>
  85. 申请
  86. <%}else if(tempDate.orderState==1){%>
  87. 拒绝
  88. <%}else if(tempDate.orderState==2){%>
  89. 预约
  90. <%}else if(tempDate.orderState==3){%>
  91. 取消
  92. <%}else if(tempDate.orderState==4){%>
  93. 开始
  94. <%}else if(tempDate.orderState==5){%>
  95. 结束
  96. <%}%>
  97. </td>
  98. <td>
  99. <%if(tempDate.orderState==4){%>
  100. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(3,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
  101. <i class="icon-fire bigger-120"></i>
  102. </a>
  103. <%}%>
  104. </td>
  105. </tr>
  106. <%}elsefor{%>
  107. <tr>
  108. <td colspan="9">没有记录!</td>
  109. </tr>
  110. <%}%>
  111. </tbody>
  112. </table>
  113. </div>
  114. <div class="pull-right">
  115. <%include("/VideoConference/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/VideoConference/getMyOrderList?pageNumber=", "urlParas": urlParas!''}){}%>
  116. </div>
  117. <!-- /.table-responsive -->
  118. </div>
  119. </div>
  120. <%}%>