|
@@ -0,0 +1,338 @@
|
|
|
+<%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 -->
|
|
|
+<%}%>
|