123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- <%var cssParam = {%>
- <%};%>
- <%var jsParam = {%>
- <script type="text/javascript">
- function openWindowOpt(optType, optId){
- var url = "${contextPath}/VideoConference/";
- var param = "scrollbars=yes,status=no,resizable=no,location=no,toolbar=no,top=0,left=0,width=1024,height=768";
- if(optType == 1){
- url = url + "beginConference?id=" + optId;
- }else if(optType == 2){
- url = url + "beginConference?id=" + optId;
- }else{
- url = url + "joinConference?opttype=other&id=" + optId;
- }
- window.open(url, "_blank", param);
- }
-
- function openDialog(url,msg){
- url = "${contextPath}/VideoConference/" + url;
- bootbox.dialog({
- title: "系统提示",
- message: msg,
- locale:"zh_CN",
- buttons: {
- cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- window.location.href = url;
- }
- }
- }
- });
- }
-
- function openDialogToAjax(url,msg){
- url = "${contextPath}/VideoConference/" + url;
- bootbox.dialog({
- title: "系统提示",
- message: msg,
- locale:"zh_CN",
- buttons: {
- cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
- ok: {label: "确定",className: "btn-success",
- callback: function() {
- // Ajax操作
- }
- }
- }
- });
- }
- <%if(""!=msg!""){%>
- alert('${msg}');
- <%}%>
- </script>
- <%};%>
- <%layout("/VideoConference/commonPage/_layout.html", {nav: "",meunsel:"indexPage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="row">
- <div class="col-sm-12">
- <div class="space-6"></div>
- <div class="widget-box transparent">
- <div class="widget-header widget-header-flat">
- <h4 class="lighter">
- <i class="icon-user orange"></i>
- 今天要<a href="${contextPath}/VideoConference/getOrderList?pageNumber=1">召开的会议</a>
- </h4>
- <div class="widget-toolbar">
- <a href="#" data-action="collapse">
- <i class="icon-chevron-up"></i>
- </a>
- </div>
- </div>
- <div class="widget-body">
- <div class="widget-main no-padding">
- <table class="table table-bordered table-striped">
- <thead class="thin-border-bottom">
- <tr>
- <th>
- <i class="icon-caret-right blue"></i>
- 会议名称
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 会议室
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 预计开始时间
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 预计结束时间
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 实际开始时间
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 实际结束时间
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 会议申请时间
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 会议状态
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 操作
- </th>
- </tr>
- </thead>
-
- <tbody>
- <%for(tempDate in hostOrderList!){%>
- <tr title="${tempDate.meetingContent}">
- <td>
- ${tempDate.meetingName}
- </td>
-
- <td>
- ${tempDate.roomName}
- </td>
-
- <td>
- ${tempDate.orderStartTime}
- </td>
-
- <td>
- ${tempDate.orderEndTime}
- </td>
-
- <td>
- ${tempDate.startTime}
- </td>
-
- <td>
- ${tempDate.endTime}
- </td>
-
- <td>
- ${tempDate.createDate}
- </td>
-
- <td>
- <%if(tempDate.state==0){%>
- <span class="label label-success arrowed-in arrowed-in-right">申请</span>
- <%}else if(tempDate.state==1){%>
- <span class="label label-success arrowed-in arrowed-in-right">拒绝</span>
- <%}else if(tempDate.state==2){%>
- <span class="label label-warning arrowed arrowed-right">预约</span>
- <%}else if(tempDate.state==3){%>
- <span class="label arrowed"><s>取消</s></span>
- <%}else if(tempDate.state==4){%>
- <span class="label arrowed"><s>开始</s></span>
- <%}else if(tempDate.state==5){%>
- <span class="label arrowed"><s>结束</s></span>
- <%}%>
- </td>
-
- <td>
- <%if(tempDate.state==0){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}&optPage=0', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
- <i class="icon-trash bigger-120"></i>
- </a>
- <%}else if(tempDate.state==1){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}&optPage=0', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
- <i class="icon-trash bigger-120"></i>
- </a>
- <%}else if(tempDate.state==2){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('cancelConference?id=${tempDate.id}&optPage=0', '您确定要取消这个会议么?')" data-toggle="tooltip" data-placement="auto" title="取消会议">
- <i class="icon-edit bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(1,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="开始会议">
- <i class="icon-fire bigger-120"></i>
- </a>
- <%}else if(tempDate.state==3){%>
- <%}else if(tempDate.state==4){%>
- <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(2,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
- <i class="icon-fire bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('endConference?id=${tempDate.id}&optPage=0', '您确定要结束这个会议么?')" data-toggle="tooltip" data-placement="auto" title="结束会议">
- <i class="icon-edit bigger-120"></i>
- </a>
- <%}else if(tempDate.state==5){%>
- <%}%>
- </td>
-
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="8">今天没有要召开的会议!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div><!-- /widget-main -->
- </div><!-- /widget-body -->
- </div><!-- /widget-box -->
- </div><!-- /col-sm-5 -->
- </div><!-- /row -->
- <div class="row">
- <div class="col-sm-12">
- <div class="space-6"></div>
- <div class="widget-box transparent">
- <div class="widget-header widget-header-flat">
- <h4 class="lighter">
- <i class="icon-group orange"></i>
- 今天要<a href="${contextPath}/VideoConference/getMyOrderList?pageNumber=1">参与的会议</a>
- </h4>
- <div class="widget-toolbar">
- <a href="#" data-action="collapse">
- <i class="icon-chevron-up"></i>
- </a>
- </div>
- </div>
- <div class="widget-body">
- <div class="widget-main no-padding">
- <table class="table table-bordered table-striped">
- <thead class="thin-border-bottom">
- <tr>
- <th>
- <i class="icon-caret-right blue"></i>
- 会议名称
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 会议室
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 预计开始时间
- </th>
-
- <th class="hidden-480">
- <i class="icon-caret-right blue"></i>
- 预计结束时间
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 实际开始时间
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 会议状态
- </th>
-
- <th>
- <i class="icon-caret-right blue"></i>
- 进入会议室
- </th>
- </tr>
- </thead>
-
- <tbody>
- <%for(tempDate in participateOrderList!){%>
- <tr title="${tempDate.meetingContent}">
- <td>
- ${tempDate.meetingName}
- </td>
-
- <td>
- ${tempDate.roomName}
- </td>
-
- <td>
- ${tempDate.orderStartTime}
- </td>
-
- <td>
- ${tempDate.orderEndTime}
- </td>
-
- <td>
- ${tempDate.startTime}
- </td>
-
- <td>
- <%if(tempDate.orderState==0){%>
- <span class="label label-success arrowed-in arrowed-in-right">申请</span>
- <%}else if(tempDate.orderState==1){%>
- <span class="label label-success arrowed-in arrowed-in-right">拒绝</span>
- <%}else if(tempDate.orderState==2){%>
- <span class="label label-warning arrowed arrowed-right">预约</span>
- <%}else if(tempDate.orderState==3){%>
- <span class="label arrowed"><s>取消</s></span>
- <%}else if(tempDate.orderState==4){%>
- <span class="label arrowed"><s>开始</s></span>
- <%}else if(tempDate.orderState==5){%>
- <span class="label arrowed"><s>结束</s></span>
- <%}%>
- </td>
-
- <td>
- <%if(tempDate.orderState==4){%>
- <a class="btn btn-xs btn-info" href="javascript:openWindowOpt(3,'${tempDate.id}')" data-toggle="tooltip" data-placement="auto" title="进入会议室">
- <i class="icon-fire bigger-120"></i>
- </a>
- <%}%>
- </td>
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="7">今天没有要参与的会议!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div><!-- /widget-main -->
- </div><!-- /widget-body -->
- </div><!-- /widget-box -->
- </div><!-- /col-sm-5 -->
- </div><!-- /row -->
- <%}%>
|