123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <title>在线用户</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <script>
- document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");
- </script>
- <script>
- document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() +
- "' rel='stylesheet'>");
- </script>
- <script>
- document.write("<link href='../flowchart_app_imgcss/css/formeditZW.css?time=" + new Date().getTime() +
- "' rel='stylesheet'>");
- </script>
- <script>
- document.write("<link href='../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() +
- "' rel='stylesheet'>");
- </script>
- <script>
- document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");
- </script>
- <style>
- .upload {
- float: left;
- overflow: hidden;
- position: relative;
- }
- .deng {
- width: 20px;
- height: 20px;
- display:inline-block;
- border-radius:10px;
- }
- </style>
- </head>
- <body ng-controller="zxrstjCtrl as ctl" ng-cloak>
- <div>
- <div class="loading" ng-if="ctl.loading">
- <div class="loading-msg">
- <h3>数据加载中,请等待</h3>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- </div>
- </div>
- <div class="sp-page-mgn">
- <div class="sp-page-pad">
- <div class="sp-page" style="padding: 10px 30px;">
- <div class="sp-page-col sp-pull-left">
- <span class="sp-page-title">在线人数</span>
- </div>
- <div class="sp-page-col sp-pull-right">
- <span>{{ctl.onlineUsers}}人</span>
- </div>
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page">
- <!--<div class="col-md-2">
- <div style="width: 100%;" class="menu-list" tree-view tree-data="ctl.treeData"
- text-field="CNAME" get-list="ctl.getList($item)">
- </div>
- </div>-->
- <div class="col-md-12">
- <div class="sp-page-mgn">
- <table class="sp-table">
- <thead>
- <tr>
- <th style="width:60px;">序号</th>
- <th>登录用户</th>
- <th>所属部门</th>
- <th>最近活跃时间</th>
- <th>状态</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list">
- <td ng-bind="$index+1"></td>
- <td>
- <div class="sp-color-blue" ng-bind="item.USHOWNAME" ng-if="ctl.userId==item.USERID"></div>
- <div class="sp-color-blue pointer" ng-bind="item.USHOWNAME" ng-if="ctl.userId!=item.USERID" ng-click="ctl.creatRoom(item)"></div>
- </td>
- <td ng-bind="item.SECTNAME"></td>
- <td ng-bind="item.ACCESSTIME"></td>
- <td>
- <span class="deng" style="background-color:gray" ng-if="item.LOGINSTATE=='0'"></span>
- <span class="deng" style="background-color: #0BB745" ng-if="item.LOGINSTATE=='1'"></span>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
- <i class="fa fa-exclamation-circle"></i> 您好,暂无数据!
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/ng-template" id="/treeView.html">
- <ul>
- <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
- </ul>
- </script>
- <script type="text/ng-template" id="/treeItem.html">
- <p ng-class="{'pActive':item.checked}">
- <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
- <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('getList', item, $event);">
- {{item[textField]}}
- </span>
- <span class="edit-menu sp-color-gray">
- <i ng-if="item.LEVELS!=3"
- ng-click="warpCallback('getList', item, $event);" title="新增分类" class="fa fa-plus"></i>
- </span>
- </p>
- <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
- <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
- </ul>
- </script>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../apiurljs.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>
- document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() +
- '" type="text/javascript"></s' + 'cript>')
- </script>
- <script>
- document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' +
- 'cript>')
- </script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- <script src="../../AFrontEnd/js/special/spngvld.js"></script>
- </body>
- </html>
|