123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <%var cssParam = {%>
- <%};%>
- <%var jsParam = {%>
- <script type="text/javascript">
- function openWindowOpt(optType, optId){
- var url = "${contextPath}/vcNew/";
- 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 freeOpenWindow(url, optParam){
- var param = "scrollbars=yes,status=no,resizable=no,location=no,toolbar=no,top=0,left=0,width=1024,height=768";
- if(optParam != ""){
- param = optParam;
- }
- window.open(url, "_blank", param);
- }
-
- function openDialog(url,msg){
- url = "${contextPath}/vcNew/" + 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 setUser(name, vcUserId){
- $("#name").val(name);
- $("#vcUserid").val(vcUserId);
- }
-
- function openDialogToAjax(url,msg){
- url = "${contextPath}/vcNew/" + 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_2.html", {nav: "会议邀请成员列表",meunsel:"orderListPage",jsParam:jsParam,cssParam:cssParam}) {%>
- <div class="col-xs-12">
- <div class="row">
- <form id="addForm" action="${contextPath}/vcNew/addInvitedUser" method="post" class="form-horizontal">
- <input type="hidden" name="pageNumber" value="${pageNumber!1}" />
- <input type="hidden" name="orderUser.orderid" value="${orderid!}" />
- <input type="hidden" name="orderUser.vcUserid" id="vcUserid" value="" />
- 角色:
- <select name="orderUser.userType" >
- <option value="2">专家</option>
- <option value="1">主讲人</option>
- <option value="3">观众</option>
- </select>
- 姓名:<input type="text" name="name" id="name" placeholder="请输入名称" value="" readonly="readonly"/>
- <a class="btn btn-xs btn-success" href="javascript:freeOpenWindow('${contextPath}/vcNew/getNotInvitedUserList?pageNumber=${pageNumber!1}&optCode=sel&id=${orderid!}', '')">
- <i class="icon-user bigger-120">选择成员</i>
- </a>
- <button class="btn btn-xs btn-primary" onclick="document.getElementById('addForm').submit();"><i class="icon-ok bigger-120">添加邀请</i></button>
- </form>
- </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>
- </tr>
- </thead>
- <tbody>
- <%for(tempDate in userList!){%>
- <tr>
- <td>${tempDateLP.index}</td>
- <td>${tempDate.userName}</td>
- <td>${tempDate.cardnumber}</td>
- <td>${tempDate.phone}</td>
- <td>
- <%if(tempDate.userType==1){%>
- 主讲人
- <%}else if(tempDate.userType==2){%>
- 专家
- <%}else if(tempDate.userType==3){%>
- 观众
- <%}%>
- </td>
- <td>
- <%if(tempDate.state==0){%>
- 未参与
- <%}else if(tempDate.state==1){%>
- 已参与
- <%}%>
- </td>
- <td>
- <%if(tempDate.state==0){%>
- <a class="btn btn-xs btn-info" href="javascript:openDialog('delInvitedUser?id=${tempDate.id}&pageNumber=${pageNumber!1}', '您确定要删除对${tempDate.userName}的邀请么?')" data-toggle="tooltip" data-placement="auto" title="删除邀请">
- <i class="icon-trash bigger-120"></i>
- </a>
- <%}%>
- </td>
- </tr>
- <%}elsefor{%>
- <tr>
- <td colspan="10">没有记录!</td>
- </tr>
- <%}%>
- </tbody>
- </table>
- </div>
- <!-- /.table-responsive -->
- </div>
- </div>
- <%}%>
|