index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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:"indexPage",jsParam:jsParam,cssParam:cssParam}) {%>
  55. <div class="row">
  56. <div class="col-sm-12">
  57. <div class="space-6"></div>
  58. <div class="widget-box transparent">
  59. <div class="widget-header widget-header-flat">
  60. <h4 class="lighter">
  61. <i class="icon-user orange"></i>
  62. 今天要<a href="${contextPath}/VideoConference/getOrderList?pageNumber=1">召开的会议</a>
  63. </h4>
  64. <div class="widget-toolbar">
  65. <a href="#" data-action="collapse">
  66. <i class="icon-chevron-up"></i>
  67. </a>
  68. </div>
  69. </div>
  70. <div class="widget-body">
  71. <div class="widget-main no-padding">
  72. <table class="table table-bordered table-striped">
  73. <thead class="thin-border-bottom">
  74. <tr>
  75. <th>
  76. <i class="icon-caret-right blue"></i>
  77. 会议名称
  78. </th>
  79. <th>
  80. <i class="icon-caret-right blue"></i>
  81. 会议室
  82. </th>
  83. <th>
  84. <i class="icon-caret-right blue"></i>
  85. 预计开始时间
  86. </th>
  87. <th class="hidden-480">
  88. <i class="icon-caret-right blue"></i>
  89. 预计结束时间
  90. </th>
  91. <th>
  92. <i class="icon-caret-right blue"></i>
  93. 实际开始时间
  94. </th>
  95. <th class="hidden-480">
  96. <i class="icon-caret-right blue"></i>
  97. 实际结束时间
  98. </th>
  99. <th class="hidden-480">
  100. <i class="icon-caret-right blue"></i>
  101. 会议申请时间
  102. </th>
  103. <th class="hidden-480">
  104. <i class="icon-caret-right blue"></i>
  105. 会议状态
  106. </th>
  107. <th class="hidden-480">
  108. <i class="icon-caret-right blue"></i>
  109. 操作
  110. </th>
  111. </tr>
  112. </thead>
  113. <tbody>
  114. <%for(tempDate in hostOrderList!){%>
  115. <tr title="${tempDate.meetingContent}">
  116. <td>
  117. ${tempDate.meetingName}
  118. </td>
  119. <td>
  120. ${tempDate.roomName}
  121. </td>
  122. <td>
  123. ${tempDate.orderStartTime}
  124. </td>
  125. <td>
  126. ${tempDate.orderEndTime}
  127. </td>
  128. <td>
  129. ${tempDate.startTime}
  130. </td>
  131. <td>
  132. ${tempDate.endTime}
  133. </td>
  134. <td>
  135. ${tempDate.createDate}
  136. </td>
  137. <td>
  138. <%if(tempDate.state==0){%>
  139. <span class="label label-success arrowed-in arrowed-in-right">申请</span>
  140. <%}else if(tempDate.state==1){%>
  141. <span class="label label-success arrowed-in arrowed-in-right">拒绝</span>
  142. <%}else if(tempDate.state==2){%>
  143. <span class="label label-warning arrowed arrowed-right">预约</span>
  144. <%}else if(tempDate.state==3){%>
  145. <span class="label arrowed"><s>取消</s></span>
  146. <%}else if(tempDate.state==4){%>
  147. <span class="label arrowed"><s>开始</s></span>
  148. <%}else if(tempDate.state==5){%>
  149. <span class="label arrowed"><s>结束</s></span>
  150. <%}%>
  151. </td>
  152. <td>
  153. <%if(tempDate.state==0){%>
  154. <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}&optPage=0', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
  155. <i class="icon-trash bigger-120"></i>
  156. </a>
  157. <%}else if(tempDate.state==1){%>
  158. <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}&optPage=0', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
  159. <i class="icon-trash bigger-120"></i>
  160. </a>
  161. <%}else if(tempDate.state==2){%>
  162. <a class="btn btn-xs btn-info" href="javascript:openDialog('cancelConference?id=${tempDate.id}&optPage=0', '您确定要取消这个会议么?')" data-toggle="tooltip" data-placement="auto" title="取消会议">
  163. <i class="icon-edit bigger-120"></i>
  164. </a>
  165. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(1,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="开始会议">
  166. <i class="icon-fire bigger-120"></i>
  167. </a>
  168. <%}else if(tempDate.state==3){%>
  169. <%}else if(tempDate.state==4){%>
  170. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(2,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
  171. <i class="icon-fire bigger-120"></i>
  172. </a>
  173. <a class="btn btn-xs btn-info" href="javascript:openDialog('endConference?id=${tempDate.id}&optPage=0', '您确定要结束这个会议么?')" data-toggle="tooltip" data-placement="auto" title="结束会议">
  174. <i class="icon-edit bigger-120"></i>
  175. </a>
  176. <%}else if(tempDate.state==5){%>
  177. <%}%>
  178. </td>
  179. </tr>
  180. <%}elsefor{%>
  181. <tr>
  182. <td colspan="8">今天没有要召开的会议!</td>
  183. </tr>
  184. <%}%>
  185. </tbody>
  186. </table>
  187. </div><!-- /widget-main -->
  188. </div><!-- /widget-body -->
  189. </div><!-- /widget-box -->
  190. </div><!-- /col-sm-5 -->
  191. </div><!-- /row -->
  192. <div class="row">
  193. <div class="col-sm-12">
  194. <div class="space-6"></div>
  195. <div class="widget-box transparent">
  196. <div class="widget-header widget-header-flat">
  197. <h4 class="lighter">
  198. <i class="icon-group orange"></i>
  199. 今天要<a href="${contextPath}/VideoConference/getMyOrderList?pageNumber=1">参与的会议</a>
  200. </h4>
  201. <div class="widget-toolbar">
  202. <a href="#" data-action="collapse">
  203. <i class="icon-chevron-up"></i>
  204. </a>
  205. </div>
  206. </div>
  207. <div class="widget-body">
  208. <div class="widget-main no-padding">
  209. <table class="table table-bordered table-striped">
  210. <thead class="thin-border-bottom">
  211. <tr>
  212. <th>
  213. <i class="icon-caret-right blue"></i>
  214. 会议名称
  215. </th>
  216. <th>
  217. <i class="icon-caret-right blue"></i>
  218. 会议室
  219. </th>
  220. <th>
  221. <i class="icon-caret-right blue"></i>
  222. 预计开始时间
  223. </th>
  224. <th class="hidden-480">
  225. <i class="icon-caret-right blue"></i>
  226. 预计结束时间
  227. </th>
  228. <th>
  229. <i class="icon-caret-right blue"></i>
  230. 实际开始时间
  231. </th>
  232. <th>
  233. <i class="icon-caret-right blue"></i>
  234. 会议状态
  235. </th>
  236. <th>
  237. <i class="icon-caret-right blue"></i>
  238. 进入会议室
  239. </th>
  240. </tr>
  241. </thead>
  242. <tbody>
  243. <%for(tempDate in participateOrderList!){%>
  244. <tr title="${tempDate.meetingContent}">
  245. <td>
  246. ${tempDate.meetingName}
  247. </td>
  248. <td>
  249. ${tempDate.roomName}
  250. </td>
  251. <td>
  252. ${tempDate.orderStartTime}
  253. </td>
  254. <td>
  255. ${tempDate.orderEndTime}
  256. </td>
  257. <td>
  258. ${tempDate.startTime}
  259. </td>
  260. <td>
  261. <%if(tempDate.orderState==0){%>
  262. <span class="label label-success arrowed-in arrowed-in-right">申请</span>
  263. <%}else if(tempDate.orderState==1){%>
  264. <span class="label label-success arrowed-in arrowed-in-right">拒绝</span>
  265. <%}else if(tempDate.orderState==2){%>
  266. <span class="label label-warning arrowed arrowed-right">预约</span>
  267. <%}else if(tempDate.orderState==3){%>
  268. <span class="label arrowed"><s>取消</s></span>
  269. <%}else if(tempDate.orderState==4){%>
  270. <span class="label arrowed"><s>开始</s></span>
  271. <%}else if(tempDate.orderState==5){%>
  272. <span class="label arrowed"><s>结束</s></span>
  273. <%}%>
  274. </td>
  275. <td>
  276. <%if(tempDate.orderState==4){%>
  277. <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(3,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
  278. <i class="icon-fire bigger-120"></i>
  279. </a>
  280. <%}%>
  281. </td>
  282. </tr>
  283. <%}elsefor{%>
  284. <tr>
  285. <td colspan="7">今天没有要参与的会议!</td>
  286. </tr>
  287. <%}%>
  288. </tbody>
  289. </table>
  290. </div><!-- /widget-main -->
  291. </div><!-- /widget-body -->
  292. </div><!-- /widget-box -->
  293. </div><!-- /col-sm-5 -->
  294. </div><!-- /row -->
  295. <%}%>