系统业务类型管理列表展示(待完善)
This commit is contained in:
116
src/main/webapp/WEB-INF/views/systemService/list.jsp
Normal file
116
src/main/webapp/WEB-INF/views/systemService/list.jsp
Normal file
@@ -0,0 +1,116 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8"%>
|
||||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>系统业务类型管理</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
function page(n,s){
|
||||
if(n) $("#pageNo").val(n);
|
||||
if(s) $("#pageSize").val(s);
|
||||
$("#searchForm").attr("action","${ctx}/sysService/list");
|
||||
$("#searchForm").submit();
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div class="page-content">
|
||||
<div class="theme-panel hidden-xs hidden-sm">
|
||||
<button type="button" class="btn btn-default" onclick="page()">刷新</button>
|
||||
<button type="button" class="btn btn-primary" onClick="javascript:window.location='${ctx}/sysService/form'">新增</button>
|
||||
</div>
|
||||
|
||||
<h3 class="page-title">
|
||||
业务管理
|
||||
</h3>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet box blue">
|
||||
<div class="portlet-title">
|
||||
<div class="caption">
|
||||
<i class="fa fa-cogs"></i>业务列表
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portlet-body">
|
||||
<form:form id="searchForm" modelAttribute="systemServiceInfo" action="${ctx}/sysService/list" method="post">
|
||||
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo }"/>
|
||||
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize }"/>
|
||||
<div class="row" >
|
||||
<div class="col-md-12">
|
||||
动作:
|
||||
<form:select path="action">
|
||||
<form:option value="">请选择</form:option>
|
||||
<form:option value="1">阻断</form:option>
|
||||
<form:option value="2">监测</form:option>
|
||||
<form:option value="5">封堵白名单</form:option>
|
||||
<form:option value="6">监测白名单</form:option>
|
||||
<form:option value="7">封堵监测白名单</form:option>
|
||||
<form:option value="8">灰名单</form:option>
|
||||
</form:select>
|
||||
类型:
|
||||
<form:select path="serviceType">
|
||||
<form:option value="">请选择</form:option>
|
||||
<form:option value="1">单域</form:option>
|
||||
<form:option value="2">多域</form:option>
|
||||
</form:select>
|
||||
名称:<form:input path="serviceName" htmlEscape="false" class="input-small"/>
|
||||
<button type="submit" onclick="return page();" class="btn btn-default btn-sm">
|
||||
<i class="fa fa-edit"></i> 搜索
|
||||
</button>
|
||||
</div>
|
||||
</form:form>
|
||||
</div>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>业务名称</th>
|
||||
<th style="width:8%">业务ID</th>
|
||||
<th>动作</th>
|
||||
<th>类型</th>
|
||||
<th>创建人</th>
|
||||
<th style="width:15%">创建时间</th>
|
||||
<th>描述</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${page.list }" var="ssi">
|
||||
<tr>
|
||||
<td>${ssi.serviceName }</td>
|
||||
<td>${ssi.serviceId }</d>
|
||||
<td>
|
||||
<c:if test="${1 eq ssi.action }">阻断</c:if>
|
||||
<c:if test="${2 eq ssi.action }">监测</c:if>
|
||||
<c:if test="${5 eq ssi.action }">封堵白名单</c:if>
|
||||
<c:if test="${6 eq ssi.action }">监测白名单</c:if>
|
||||
<c:if test="${7 eq ssi.action }">封堵监测白名单</c:if>
|
||||
<c:if test="${8 eq ssi.action }">灰名单</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${1 eq ssi.serviceType }">单域</c:if>
|
||||
<c:if test="${2 eq ssi.serviceType }">多域</c:if>
|
||||
</td>
|
||||
<td>${ssi.creator.loginId }</td>
|
||||
<td><fmt:formatDate value="${ssi.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
||||
<td>${ssi.serviceDesc }</td>
|
||||
<td>
|
||||
<span><a>修改</a></span>
|
||||
<span><a>删除</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="page">${page}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user