userList.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 freeOpenWindow(url, optParam){
  18. var param = "scrollbars=yes,status=no,resizable=no,location=no,toolbar=no,top=0,left=0,width=1024,height=768";
  19. if(optParam != ""){
  20. param = optParam;
  21. }
  22. window.open(url, "_blank", param);
  23. }
  24. function openDialog(url,msg){
  25. url = "${contextPath}/VideoConference/" + url;
  26. bootbox.dialog({
  27. title: "系统提示",
  28. message: msg,
  29. locale:"zh_CN",
  30. buttons: {
  31. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  32. ok: {label: "确定",className: "btn-success",
  33. callback: function() {
  34. window.location.href = url;
  35. }
  36. }
  37. }
  38. });
  39. }
  40. function openDialogToAjax(url,msg){
  41. url = "${contextPath}/VideoConference/" + url;
  42. bootbox.dialog({
  43. title: "系统提示",
  44. message: msg,
  45. locale:"zh_CN",
  46. buttons: {
  47. cancel: {label: "取消",className: "btn-cancel",callback: function() {}},
  48. ok: {label: "确定",className: "btn-success",
  49. callback: function() {
  50. // Ajax操作
  51. }
  52. }
  53. }
  54. });
  55. }
  56. function setUser(name, vcUserId){
  57. $("#name", window.opener.document).val(name);
  58. $("#vcUserid", window.opener.document).val(vcUserId);
  59. window.close();
  60. }
  61. <%if(""!=msg!""){%>
  62. alert('${msg}');
  63. <%}%>
  64. </script>
  65. <%};%>
  66. <%layout("/VideoConference/commonPage/_layout_2.html", {nav: "视频会议中心用户列表",meunsel:"orderListPage",jsParam:jsParam,cssParam:cssParam}) {%>
  67. <div class="row">
  68. <div class="table-responsive">
  69. <table id="sample-table-1" class="table table-striped table-bordered table-hover">
  70. <thead>
  71. <tr>
  72. <th>序号</th>
  73. <th>姓名</th>
  74. <th>身份证号码</th>
  75. <th>联系电话</th>
  76. <th>操作</th>
  77. </tr>
  78. </thead>
  79. <tbody>
  80. <%for(tempDate in userList!){%>
  81. <tr>
  82. <td>${tempDateLP.index}</td>
  83. <td>${tempDate.name}</td>
  84. <td>${tempDate.cardnumber}</td>
  85. <td>${tempDate.phone}</td>
  86. <td>
  87. <%if(optCode=="sel"){%>
  88. <a class="btn btn-xs btn-info" href="javascript:setUser('${tempDate.name}', ${tempDate.id})" data-toggle="tooltip" data-placement="auto" title="选择用户">
  89. <i class="icon-user bigger-120"></i>
  90. </a>
  91. <%}%>
  92. </td>
  93. </tr>
  94. <%}elsefor{%>
  95. <tr>
  96. <td colspan="10">没有记录!</td>
  97. </tr>
  98. <%}%>
  99. </tbody>
  100. </table>
  101. </div>
  102. <!-- /.table-responsive -->
  103. </div>
  104. <%}%>