logs.html 3.2 KB
<div class="pageheader notab">
	<h1 class="pagetitle">系统管理-日志管理</h1>
	<span class="pagedesc">管理V商城中的操作日志</span>
	<ul class="hornav">
        <li ng-if="logType == '1'" class="current"><a href="javascript:void(0);">系统操作</a>
        <li ng-if="logType == '1'"><a href="#logRecord/2">系统异常</a>
        <li ng-if="logType == '2'" ><a href="#logRecord/1">系统操作</a>
        <li ng-if="logType == '2'" class="current"><a href="javascript:void(0);">系统异常</a>
    </ul>
</div>
<!--pageheader-->
<paging>
<div id="contentwrapper" class="contentwrapper">
	<div id="basicform" class="subcontent">
		<div class="contenttitle2">
			<h3>系统操作日志</h3>
		</div>
		<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3" ng-if="logType == '1'">
			<thead>
				<tr align="center">
					<th class="head0">日志序号</th>
					<th class="head0" style="width: 80px;">操作人用户名</th>
					<th class="head0" style="width: 70px;">操作人昵称</th>
					<th class="head0">操作</th>
					<th class="head0">操作方法</th>
					<th class="head0">请求IP</th>
					<th class="head0" style="width: 70px;">操作时间</th>
				</tr>
			</thead>
			<tbody>
				<tr class="gradeX" ng-repeat="log in logs" align="center">
					<td>{{log.id}}</td>
					<td>{{log.operationUsername}}</td>
					<td>{{log.operationNickname}}</td>
					<td>{{log.description}}</td>
					<td>{{log.operationMethod}}</td>
					<td>{{log.requestIp}}</td>
					<td>{{log.createDate}}</td>
				</tr>
			</tbody>
		</table>
		<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3" ng-if="logType == '2'">
			<thead>
				<tr align="center">
					<th class="head0">日志序号</th>
					<th class="head0" style="width: 80px;">操作人用户名</th>
					<th class="head0" style="width: 70px;">操作人昵称</th>
					<th class="head0">操作</th>
					<th class="head0">操作方法</th>
					<th class="head0">请求IP</th>
					<th class="head0">异常代码</th>
					<th class="head0" style="width: 70px;">操作时间</th>
				</tr>
			</thead>
			<tbody>
				<tr class="gradeX" ng-repeat="log in logs" align="center">
					<td>{{log.id}}</td>
					<td>{{log.operationUsername}}</td>
					<td>{{log.operationNickname}}</td>
					<td>{{log.description}}</td>
					<td>{{log.operationMethod}}</td>
					<td>{{log.requestIp}}</td>
					<td>{{log.exceptionCode}}</td>
					<td>{{log.createDate}}</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>
<div class="angular_pager" style="margin-left: 20px;">
	<ul class="pagination" num-pages="numPages" current-page="currentPage" on-select-page="selectPage(page)">
	    <li ng-class="{disabled: noPrevious()}"> <a ng-click="selectPrevious()">&laquo;</a>
	    </li>
	    <li ng-repeat="page in pages" ng-class="{active: isActive(page)}"> <a ng-click="selectPage(page)">{{page}}</a>
	    </li>
	    <li ng-class="{disabled: noNext()}"> <a ng-click="selectNext()">&raquo;</a>
	    </li>
	    <li><span style="position: relative;top: 5px;margin-left: 10px;font-size: 14px;">共:<b style="color: red;">{{numPages}}</b>页,当前第<b style="color: red;">{{currentPage}}</b>页;总记录数:<b style="color: red;">{{totalRecord}}</b></span></li>
	</ul>
</div>
</paging>