list.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <title>访问日志</title>
  9. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  11. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  13. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. </head>
  15. <body ng-controller="listCtrl as ctl" ng-cloak>
  16. <div class="sp-page-mgn">
  17. <div class="sp-page-pad">
  18. <div class="sp-page-tab">
  19. <div class="sp-page-col">
  20. <div class="sp-page-title">访问日志</div>
  21. </div>
  22. <div class="sp-page-tab-right">
  23. <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-click="ctl.openSearchLayer()"><i class="fa fa-search sp-mr-5"></i>查 询</a>
  24. <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()"><i class="fa fa-refresh sp-mr-5"></i>刷 新</a>
  25. </div>
  26. </div>
  27. <div class="sp-page">
  28. <table class="sp-table">
  29. <thead>
  30. <tr>
  31. <th width="50">序号</th>
  32. <th>日志标题</th>
  33. <th>请求地址</th>
  34. <th width="150">日志类型</th>
  35. <th width="150">操作用户</th>
  36. <th width="180">操作时间</th>
  37. <th width="150">客户端ip</th>
  38. <th width="150">设备名称</th>
  39. <th width="150">浏览器名称</th>
  40. <th width="180">响应时间</th>
  41. </tr>
  42. </thead>
  43. <tbody>
  44. <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
  45. <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+($index+1)"></td>
  46. <td ng-bind="item.TITLE"></td>
  47. <td ng-bind="item.REQUESTURL"></td>
  48. <td ng-bind="item.LOGTYPE"></td>
  49. <td ng-bind="item.USERTYPE"></td>
  50. <td ng-bind="item.CTIME2"></td>
  51. <td ng-bind="item.CLIENTIP"></td>
  52. <td ng-bind="item.PCNAME"></td>
  53. <td ng-bind="item.BROWSERNAME"></td>
  54. <td ng-bind="item.RESPONSETIME2"></td>
  55. </tr>
  56. </tbody>
  57. </table>
  58. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip==0" ng-cloak>
  59. <i class="fa fa-exclamation-circle sp-mr-10" style="color:#FEA625;"></i>您好,暂未查询到相关信息!
  60. </div>
  61. <div class="sp-page" ng-show="ctl.noDataTip == 1">
  62. <div class="sp-page-col sp-pull-right">
  63. <div class="sp-lh-34">
  64. &nbsp;&nbsp;每页
  65. <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
  66. ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"
  67. ng-change="ctl.changePageOption()"></select>
  68. </div>
  69. </div>
  70. <div class="sp-page-col sp-pull-right">
  71. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  72. on-page-change="ctl.getData(newPageNumber)">
  73. </dir-pagination-controls>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <div class="sp-layer" id="layer_search" style="width: 500px;">
  80. <div class="sp-layer-head" style="background:#2176d6">
  81. <div class="sp-page sp-text-center sp-font16">
  82. 查&nbsp;&nbsp;询
  83. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  84. ×
  85. </div>
  86. </div>
  87. </div>
  88. <div class="sp-layer-body">
  89. <table class="sp-grid-job">
  90. <tbody>
  91. <tr>
  92. <td class="sp-text-center">
  93. 日志标题
  94. </td>
  95. <td>
  96. <input type="text" class="sp-input" placeholder="请输入关键字" ng-model="ctl.search.TITLE" />
  97. </td>
  98. </tr>
  99. <tr>
  100. <td class="sp-text-center">
  101. 日志类型
  102. </td>
  103. <td>
  104. <select class="sp-select" ng-model="ctl.search.LOGTYPE">
  105. <option value="">全部</option>
  106. <option value="查询日志">查询日志</option>
  107. <option value="修改日志">修改日志</option>
  108. <option value="接入日志">接入日志</option>
  109. <option value="登陆登出">登陆登出</option>
  110. </select>
  111. </td>
  112. </tr>
  113. </tbody>
  114. </table>
  115. <div class="sp-line-txt sp-text-center sp-pt-10">
  116. <a class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-search sp-mr-5"></i>查 询</a>
  117. <a class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeSeach()"><i class="fa fa-close sp-mr-5"></i>重 置</a>
  118. </div>
  119. </div>
  120. </div>
  121. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  122. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  123. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  124. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  125. <script src="../../apiurljs.js"></script>
  126. <script src="../../js/sm4.js"></script>
  127. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  128. <script>document.write('<scri' + 'pt src="js/list.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  129. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  130. </body>
  131. </html>