123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <%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:"orderListPage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="col-xs-12">
- <div class="row">
- <a class="btn btn-xs btn-success" href="${contextPath}/VideoConference/toedit?pageNumber=${pageNumber!1}">
- <i class="icon-ok bigger-120">申请会议</i>
- </a>
- </div>
- </div>
- <div class="col-xs-12">
- <div class="row">
- <div class="table-responsive">
- <table id="sample-table-1"
- class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>序号</th>
- <th>会议名称</th>
- <th>会议室</th>
- <th>预计开始时间</th>
- <th>预计结束时间</th>
- <th>实际开始时间</th>
- <th>实际结束时间</th>
- <th>会议申请时间</th>
- <th>会议状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <%for(tempDate in dateList!){%>
- <tr title="${tempDate.meetingContent}">
- <td>${tempDateLP.index}</td>
- <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){%>
- 申请
- <%}else if(tempDate.state==1){%>
- 拒绝
- <%}else if(tempDate.state==2){%>
- 预约
- <%}else if(tempDate.state==3){%>
- 取消
- <%}else if(tempDate.state==4){%>
- 开始
- <%}else if(tempDate.state==5){%>
- 结束
- <%}%>
- </td>
- <td>
- <%if(tempDate.state==0){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
- <i class="icon-trash bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
- <i class="icon-group bigger-120"></i>
- </a>
- <%}else if(tempDate.state==1){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('delConference?id=${tempDate.id}', '您确定要删除这个会议么?')" data-toggle="tooltip" data-placement="auto" title="删除会议">
- <i class="icon-trash bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
- <i class="icon-group bigger-120"></i>
- </a>
- <%}else if(tempDate.state==2){%>
- <a class="btn btn-xs btn-info" href="${contextPath}/VideoConference/toeditOrderUserList?id=${tempDate.id}&pageNumber=${pageNumber}" data-toggle="tooltip" data-placement="auto" title="邀请列表">
- <i class="icon-group bigger-120"></i>
- </a>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('cancelConference?id=${tempDate.id}', '您确定要取消这个会议么?')" 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}', '您确定要结束这个会议么?')" 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="10">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div>
- <div class="pull-right">
- <%include("/VideoConference/commonPage/_paginate.html", {"currentPage": pageNumber!1, "totalPage": totalPage!1, "totalRow": totalRow!0, "actionUrl": contextPath+"/VideoConference/getOrderList?pageNumber=", "urlParas": urlParas!''}){}%>
- </div>
- <!-- /.table-responsive -->
- </div>
- </div>
- <%}%>
|