123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <!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 http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Expires" content="0" />
- <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>
- </head>
- <body ng-controller="logCtrl as ctl">
- <div class="wrapper wrapper-content animated fadeInDown">
- <div class="row">
- <div class="col-md-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="col-md-12">
- <div class="sp-page">
- <div class="sp-page-col">
- <div class="sp-page-title">
- <span>日志管理</span>
- </div>
- </div>
- <div class="sp-page-col sp-pull-right">
- <span class="sp-btn-gray sp-btn-radius" ng-click="ctl.logKanBan()"><i class="fa fa-file sp-mr-5"></i>日志看板</span>
- <span class="sp-btn-gray sp-btn-radius" ng-click="ctl.openLayer()"><i class="fa fa-search sp-mr-5"></i>筛 选</span>
- <span class="sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()"><i class="fa fa-refresh sp-mr-5"></i>刷 新</span>
- <span class="sp-btn-gray sp-btn-radius" ng-click="ctl.btnDelDate()"><i class="fa fa-trash sp-mr-5"></i>删除日志</span>
- </div>
- </div>
-
- <div class="sp-page sp-mt-10">
- <table class="sp-table">
- <thead>
- <tr>
- <th style="width:60px;">序号</th>
- <th>登录人员</th>
- <th>操作功能</th>
- <th>IP地址</th>
- <th>方式</th>
- <th style="width: 200px;">登录时间</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.rows|itemsPerPage:ctl.itemsPerPage"
- total-items="ctl.total_count">
- <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+($index+1)"></td>
- <td>
- <a class="sp-color-blue" ng-bind="item.LOGUSER"></a>
- </td>
- <td style="width: 200px;">
- <span style="width: 120px;display: inline-block" ng-bind="item.LOGFUNC"></span>
- <span ng-click="ctl.openAddFuncLayer(item)" style="padding:2px 6px; border: 1px solid #18b566; color: #18b566; border-radius: 3px;cursor: pointer" class="ng-hide" ng-show="item.LOGFUNC=='[需加功能标签]'">添加</span>
- <span ng-click="ctl.openEditFuncLayer(item)" style="padding:2px 6px; border: 1px solid #1f90d8; color: #1f90d8; border-radius: 3px;cursor: pointer" class="ng-hide" ng-show="item.LOGFUNC!='[需加功能标签]'">修改</span>
- </td>
- <td ng-bind="item.LOGIP"></td>
- <td ng-bind="item.REMARK"></td>
- <td ng-bind="item.LOGTIME"></td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- <div class="sp-page" ng-show="ctl.noDataTip != 0">
- <div class="sp-page-col sp-pull-right">
- <div class="sp-lh-34">
- 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions" ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
- </div>
- </div>
- <div class="sp-page-col sp-pull-right">
- <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
- on-page-change="ctl.getData(newPageNumber)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" data-title="筛选" id="layer_search" style="width:500px;">
- <div class="sp-layer-body">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td>登录用户</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.LOGUSER" placeholder="请输入关键字" />
- </td>
- </tr>
- <tr>
- <td style="width:100px;">系统功能</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.LOGFUNC" placeholder="请输入关键字" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnSearch()"><i class="fa fa-search sp-mr-5"></i>查 询</a>
- <a class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeSeach()">
- <i class="fa fa-close sp-mr-5"></i>重 置
- </a>
- </div>
- </div>
- </div>
- <div class="sp-layer" data-title="删除日志" id="layer_delLog" style="width: 500px;">
- <div class="sp-layer-body">
- <table class="sp-grid-job">
- <tr>
- <td>请选择</td>
- <td>
- <select ng-model="ctl.delDateSelect">
- <option ng-repeat="item in ctl.logDate" value="{{item.CVAL}}">{{item.CNAME}}</option>
- </select>
- </td>
- </tr>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnDelDateTrue()">
- <i class="fa fa-check sp-mr-5"></i>确定删除</button>
- <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnCancel()">
- <i class="fa fa-close sp-mr-5"></i>取消删除</button>
- </div>
- </div>
- </div>
- <!-- 新建、编辑操作功能 -->
- <div class="sp-layer" id="layer_func" style="width: 500px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- <span ng-bind="ctl.func.TITLE"></span>
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td>功能链接</td>
- <td><input type="text" readonly ng-model="ctl.func.logfuncurl" /></td>
- </tr>
- <tr>
- <td>API说明</td>
- <td><input type="text" readonly ng-model="ctl.func.logapi" /></td>
- </tr>
- <tr>
- <td>功能名称</td>
- <td><input type="text" ng-model="ctl.func.logfunc" /></td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnDataSave()">
- <i class="fa fa-check sp-mr-5"></i>保 存
- </button>
- <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnDataCancel()">
- <i class="fa fa-close sp-mr-5"></i>取 消
- </button>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.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/log.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- </body>
- </html>
|