(1)音视频url日志字段修改

(2)所有日志传输层协议国际化修改
(3)部分国际化修改
This commit is contained in:
wangxin
2018-10-10 16:17:19 +08:00
parent 8cc18a96a7
commit 8d48d9a354
39 changed files with 386 additions and 80 deletions

View File

@@ -0,0 +1,27 @@
package com.nis.domain.log;
/**
* @ClassName:NtcStreamMediaLog
* @Description:TODO(这里用一句话描述这个类的作用)
* @author (wx)
* @date 2018年7月16日 下午3:11:42
* @version V1.0
*/
public class NtcStreamMediaLog extends BaseLogEntity<NtcStreamMediaLog> {
private static final long serialVersionUID = 1446933545638550170L;
protected String url;
protected String protocol;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
}

View File

@@ -20,7 +20,7 @@ import com.google.gson.reflect.TypeToken;
import com.nis.domain.FunctionServiceDict;
import com.nis.domain.Page;
import com.nis.domain.PageLog;
import com.nis.domain.log.MmAvUrlLog;
import com.nis.domain.log.NtcStreamMediaLog;
import com.nis.domain.maat.LogRecvData;
import com.nis.util.Constants;
import com.nis.util.DictUtils;
@@ -42,11 +42,11 @@ public class MmAvUrlLogController extends BaseController{
* @throws IOException
*/
@RequestMapping(value={"list",""})
public String list(Model model,@ModelAttribute("log")MmAvUrlLog entry,HttpServletRequest request, HttpServletResponse response) throws ClientProtocolException, IOException {
public String list(Model model,@ModelAttribute("log")NtcStreamMediaLog entry,HttpServletRequest request, HttpServletResponse response) throws ClientProtocolException, IOException {
try {
PageLog<MmAvUrlLog> page = new PageLog<MmAvUrlLog>(request, response);
PageLog<NtcStreamMediaLog> page = new PageLog<NtcStreamMediaLog>(request, response);
Map<String, Object> params=new HashMap<>();
params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo());
@@ -62,13 +62,13 @@ public class MmAvUrlLogController extends BaseController{
Gson gson = new GsonBuilder().create();
//gson泛型支持
LogRecvData<MmAvUrlLog> fromJson = gson.fromJson(jsonString, new TypeToken<LogRecvData<MmAvUrlLog>>(){}.getType());
LogRecvData<NtcStreamMediaLog> fromJson = gson.fromJson(jsonString, new TypeToken<LogRecvData<NtcStreamMediaLog>>(){}.getType());
if (fromJson.getStatus().intValue() == 200) {
Page<MmAvUrlLog> data = fromJson.getData();
Page<NtcStreamMediaLog> data = fromJson.getData();
page.setList(data.getList());
List<MmAvUrlLog> list = page.getList();
for (MmAvUrlLog l : list) {
List<NtcStreamMediaLog> list = page.getList();
for (NtcStreamMediaLog l : list) {
l.setFunctionId(entry.getFunctionId());
setLogAction(l,serviceList);
}
@@ -79,7 +79,7 @@ public class MmAvUrlLogController extends BaseController{
logger.error("查询音视频url日志失败", e);
addMessageLog(model, e.getMessage());
}
return "/log/ntc/mmAvUrlList";
return "/log/ntc/ntcStreamMedia";
}
}

View File

@@ -1201,3 +1201,6 @@ report_total=Total
message_type=Message Type
as=AS
route=Route
transport_layer_protocol=TLS Protocol
av_voip_monit=VoIP Monit
av_voip_reject=VoIP Reject

View File

@@ -1203,3 +1203,6 @@ report_total=Total
message_type=\u6D88\u606F\u7C7B\u578B
as=\u81EA\u6CBB\u7CFB\u7EDF\u53F7
route=\u8DEF\u7531\u4FE1\u606F
transport_layer_protocol=TLS Protocol
av_voip_monit=VoIP\u76D1\u6D4B
av_voip_reject=VoIP\u7BA1\u63A7

View File

@@ -1195,3 +1195,6 @@ report_total=\u5408\u8BA1
message_type=\u6D88\u606F\u7C7B\u578B
as=\u81EA\u6CBB\u7CFB\u7EDF\u53F7
route=\u8DEF\u7531\u4FE1\u606F
transport_layer_protocol=\u4F20\u8F93\u5C42\u534F\u8BAE
av_voip_monit=VoIP\u76D1\u6D4B
av_voip_reject=VoIP\u7BA1\u63A7

View File

@@ -111,7 +111,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -194,7 +194,7 @@ $(document).ready(function(){
<th><spring:message code='s2c_byte_num'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -174,7 +174,7 @@ $(document).ready(function(){
<th><spring:message code='found_time'/></th>
<th><spring:message code='entrance'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -97,7 +97,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -172,7 +172,7 @@
<th><spring:message code="found_time"/></th>
<th><spring:message code="entrance"/></th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -89,7 +89,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2 hidden">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -172,7 +172,7 @@ $(document).ready(function(){
<th><spring:message code='is_blcok'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -99,7 +99,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -194,7 +194,7 @@
<th><spring:message code="dns_sub"/></th> --%>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -179,7 +179,7 @@ $(document).ready(function(){
<th><spring:message code='ftp_content'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -97,7 +97,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -192,7 +192,7 @@
<th><spring:message code="website"/></th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -52,11 +52,11 @@
<form:option value=""><spring:message code="action"/></form:option>
<c:forEach items="${serviceList}" var="service"
varStatus="satus">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${(dict.itemCode eq service.action) && (service.action ne 128) && (service.action ne 32) && (service.action ne 96)}">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option>
<%-- <c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict"> --%>
<c:if test="${(service.action ne 128) && (service.action ne 32) && (service.action ne 96)}">
<form:option value="${service.action}"><spring:message code="${service.serviceName}"/></form:option>
</c:if>
</c:forEach>
<%-- </c:forEach> --%>
</c:forEach>
</form:select>
</div>
@@ -97,7 +97,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -173,7 +173,7 @@
<th><spring:message code="found_time"/></th>
<th><spring:message code="entrance"/></th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -88,7 +88,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -165,7 +165,7 @@ $(document).ready(function(){
<th><spring:message code='isakmp_mode'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol_type'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -101,7 +101,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<form:select path="transProto" class="selectpicker form-control select2">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="dict">
@@ -177,7 +177,7 @@
<th><spring:message code="user_name"/></th>
<th><spring:message code="clj_ip" /></th>
<th><spring:message code="protocol_type" /></th>
<th><spring:message code="transport_layer_protocol" /></th>
<th><spring:message code="addr_type" /></th>
<th><spring:message code="serverip" /></th>
<th><spring:message code="clientip" /></th>

View File

@@ -97,7 +97,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -180,7 +180,7 @@
<th><spring:message code="eml_key"/></th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code="addr_type" /></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -101,7 +101,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -101,7 +101,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -182,7 +182,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%--<th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol_type'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -99,7 +99,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -178,7 +178,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol_type'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -135,7 +135,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type" /></label>
<label><spring:message code="transport_layer_protocol" /></label>
<c:set var="select">
<spring:message code='select' />
</c:set>
@@ -239,7 +239,7 @@
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -101,7 +101,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -180,7 +180,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -181,7 +181,7 @@ $(document).ready(function(){
<%-- <th><spring:message code='av_protocol' /></th> --%>
<th><spring:message code='clj_ip' /></th>
<th><spring:message code='protocol_type' /></th>
<th><spring:message code='transport_layer_protocol' /></th>
<th><spring:message code='addr_type' /></th>
<th><spring:message code='serverip' /></th>
<th><spring:message code='clientip' /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -188,7 +188,7 @@ $(document).ready(function(){
<th><spring:message code='fd_type'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -188,7 +188,7 @@ $(document).ready(function(){
<th><spring:message code='fd_type'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -188,7 +188,7 @@ $(document).ready(function(){
<th><spring:message code='fd_type'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -0,0 +1,270 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<html>
<head>
<script type="text/javascript">
$(document).ready(function(){
//筛选功能
filterActionInit();
//reset
$("#resetBtn").on("click",function(){
$("select.selectpicker").each(function(){
$(this).selectpicker('val',$(this).find('option:first').val());
$(this).find("option").attr("selected",false);
$(this).find("option:first").attr("selected",true);
});
$(".Wdate").attr("value",'');
$(':input','#searchForm')
.not(':button,:submit,:reset,:hidden')
.attr("value",'');
$("#searchForm")[0].reset();
});
});
</script>
</head>
<body>
<div class="page-content">
<div class="theme-panel hidden-xs hidden-sm">
</div>
<h3 class="page-title">
<spring:message code="streaming_media"/>
</h3>
<h5 class="page-header"></h5>
<div class="col-md-12">
<div class="portlet">
<div class="portlet-body">
<div class="row" >
<form:form id="searchForm" modelAttribute="log" action="${ctx}/log/ntc/mmAvUrlLogs" method="post" class="form-search">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<input id="functionId" name="functionId" type="hidden" value="${log.functionId}"/>
<input id="isLogTotalSearch" name="isLogTotalSearch" type="hidden" value="${log.isLogTotalSearch}"/>
<!-- 筛选按钮展开状态-->
<input id="isFilterAction" name="isFilterAction" type="hidden" value="${log.isFilterAction }"/>
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
<!-- 搜索内容与操作按钮栏 -->
<div class="col-md-12">
<div class="pull-left">
<form:select path="action" class="selectpicker select2 input-small">
<form:option value=""><spring:message code="action"/></form:option>
<c:forEach items="${serviceList}" var="service"
varStatus="satus">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${(dict.itemCode eq service.action) && (service.action ne 128) && (service.action ne 32) && (service.action ne 96) }">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option>
</c:if>
</c:forEach>
</c:forEach>
</form:select>
</div>
<div class="pull-left">
<div class="input-group">
<div class="input-group-btn">
<span class="selectpicker form-control" ><spring:message code="begin_date"/></span>
</div>
<input id="searchFoundStartTime" name="searchFoundStartTime" type="text" readonly="readonly" class="form-control input-medium Wdate "
value="${log.searchFoundStartTime}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
</div>
</div>
<div class="pull-left">
<div class="input-group">
<div class="input-group-btn">
<span class="selectpicker form-control" ><spring:message code="end_date"/></span>
</div>
<input id="searchFoundEndTime" name="searchFoundEndTime" type="text" readonly="readonly" class="form-control input-medium Wdate "
value="${log.searchFoundEndTime}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
</div>
</div>
<div class="pull-left">
<button type="button" class="btn blue" onClick="return page()"> <i class="fa fa-search"></i> <spring:message code="search"/> </button>
<button type="button" class="btn btn-default" id="resetBtn"> <i class="fa fa-refresh"></i> <spring:message code="reset"/> </button>
<button type="button" class="btn btn-default" id="filter-btn"> <spring:message code="filter"></spring:message> <i class="fa fa-angle-double-down"></i></button>
</div>
<div class="pull-right">
<a class="btn btn-icon-only btn-default setfields tooltips"
data-container="body" data-placement="top" data-original-title=<spring:message code="custom_columns"/> href="javascript:;">
<i class="icon-wrench"></i>
</a>
</div>
</div>
<!-- 筛选搜索内容栏默认隐藏-->
<div class="col-md-12 filter-action-select-panle hide" >
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="dict">
<form:option value="${dict.itemCode}" ><spring:message code="${dict.itemValue}"/></form:option>
</c:forEach>
</form:select>
</div>
</div>
<%-- <div class="col-md-2">
<div class="form-group">
<label><spring:message code="direct"/></label>
<form:select path="direction" class="selectpicker select2 form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('IP_LOCATION')}" var="dict">
<form:option value="${dict.itemCode}"><spring:message code="${dict.itemValue}"/></form:option>
</c:forEach>
</form:select>
</div>
</div> --%>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="entrance"/></label>
<form:select path="entranceId" class="selectpicker form-control" data-live-search="true" data-live-search-placeholder="search">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('ENTRANCE')}" var="entrance" >
<form:option value="${entrance.itemCode}"><spring:message code="${entrance.itemValue}"></spring:message></form:option>
</c:forEach>
</form:select>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="clj_ip"/></label>
<input name="capIp" type="text" class="form-control" value="${log.capIp}"/>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="clientip"/></label>
<input id="sIp" name="sIp" class="form-control" type="text" value="${log.sIp}"/>
</div>
</div>
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="serverip"/></label>
<input id="dIp" name="dIp" class="form-control" type="text" value="${log.dIp}"/>
</div>
</div>
<div class="col-md-2">
<label><spring:message code="cfg_id"></spring:message></label>
<input name="cfgId" type="text" class="form-control logCfgId number" value="${log.cfgId }"/>
</div>
</div>
</div>
<!-- /筛选搜索内容栏 结束-->
</form:form>
</div>
<sys:message content="${message}"/>
<div class="table-responsive">
<table id="contentTable" class="table table-striped table-bordered table-condensed text-nowrap logTb">
<thead>
<tr>
<th><spring:message code='cfg_id'/></th>
<th><spring:message code="action"/></th>
<th><spring:message code='found_time'/></th>
<th><spring:message code='entrance'/></th>
<th><spring:message code='access_url'/></th>
<th><spring:message code='protocol'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>
<th><spring:message code='serverport'/></th>
<th><spring:message code='clientport'/></th>
<%-- <th><spring:message code='deviceid'/></th> --%>
<%-- <th><spring:message code='direct'/></th> --%>
<th><spring:message code='stream_type'/></th>
<%-- <th><spring:message code='nest_addr_list'/></th> --%>
<th><spring:message code='server_locate'/></th>
<th><spring:message code='client_locate'/></th>
<th><spring:message code='s_asn'/></th>
<th><spring:message code='d_asn'/></th>
<th><spring:message code='s_subscribe_id'/></th>
<th><spring:message code='d_subscribe_id'/></th>
<th><spring:message code='scene_file'/></th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="log" varStatus="status" step="1">
<tr>
<td>${log.cfgId } <a href="javascript:void(0)" name="viewLogInfo"><i class="icon-book-open"></i></a></td>
<td>
<c:forEach items="${fns:getDictList('SERVICE_ACTION')}" var="dict">
<c:if test="${dict.itemCode eq log.action}">
<spring:message code="${dict.itemValue}"/>
</c:if>
</c:forEach>
</td>
<td>${log.foundTime}</td>
<td>
<c:forEach items="${fns:getDictList('ENTRANCE')}" var="dict">
<c:if test="${dict.itemCode eq log.entranceId}">
<spring:message code="${dict.itemValue}"/>
</c:if>
</c:forEach>
</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http://')}">
${fn:substring(log.url,7,-1)}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http://') and !empty log.url}">
${log.url}
</c:if>
</td>
<td>${log.protocol}</td>
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
<td>${log.transProto}</td>
<td>
<c:forEach items="${fns:getDictList('IP_TYPE')}" var="dic">
<c:if test="${log.addrType==dic.itemCode}"><spring:message code="${dic.itemValue }"/></c:if>
</c:forEach>
</td>
<td title="${log.dIp }">${fns:abbr(log.dIp, 42)}</td>
<td title="${log.sIp }">${fns:abbr(log.sIp, 42)}</td>
<td>${log.dPort}</td>
<td>${log.sPort}</td>
<%-- <td>${log.deviceId}</td>
<td>
<c:forEach items="${fns:getDictList('IP_LOCATION')}" var="dic">
<c:if test="${log.direction==dic.itemCode}"><spring:message code="${dic.itemValue }"/></c:if>
</c:forEach>
</td> --%>
<td>
<c:forEach items="${fns:getDictList('LOG_STREAM_TYPE')}" var="dic">
<c:if test="${log.streamDir==dic.itemCode}"><spring:message code="${dic.itemValue }"/></c:if>
</c:forEach>
</td>
<%-- <td>
${log.addrList}
</td> --%>
<td>${log.serverLocate}</td>
<td>${log.clientLocate}</td>
<td>${log.sAsn}</td>
<td>${log.dAsn}</td>
<td>${log.sSubscribeId}</td>
<td>${log.dSubscribeId}</td>
<td>${log.sceneFile}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -180,7 +180,7 @@ $(document).ready(function(){
<th><spring:message code='tunnel_type'/></th>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol_type'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -114,7 +114,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -194,7 +194,7 @@
<th><spring:message code="p2p_keyword"/></th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>

View File

@@ -101,7 +101,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<form:select path="transProto" class="selectpicker form-control select2">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="dict">
@@ -175,7 +175,7 @@
<th><spring:message code="encrypt_mode" /></th>
<th><spring:message code="clj_ip" /></th>
<th><spring:message code="protocol_type" /></th>
<th><spring:message code="transport_layer_protocol" /></th>
<th><spring:message code="addr_type" /></th>
<th><spring:message code="serverip" /></th>
<th><spring:message code="clientip" /></th>

View File

@@ -102,7 +102,7 @@ $(document).ready(function(){
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<c:set var="select"><spring:message code='select'/></c:set>
<form:select path="transProto" class="selectpicker form-control" >
<form:option value=""><spring:message code="select"/></form:option>
@@ -182,7 +182,7 @@ $(document).ready(function(){
<th><spring:message code='tunnel_type'/></th> --%>
<th><spring:message code='clj_ip'/></th>
<th><spring:message code='protocol_type'/></th>
<th><spring:message code='transport_layer_protocol'/></th>
<th><spring:message code='addr_type'/></th>
<th><spring:message code='serverip'/></th>
<th><spring:message code='clientip'/></th>

View File

@@ -110,7 +110,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label><spring:message code="protocol_type"/></label>
<label><spring:message code="transport_layer_protocol"/></label>
<form:select path="transProto" class="selectpicker form-control select2">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="dict">
@@ -186,7 +186,7 @@
<th>CN</th>
<th><spring:message code="clj_ip" /></th>
<th><spring:message code="protocol_type" /></th>
<th><spring:message code="transport_layer_protocol" /></th>
<th><spring:message code="addr_type" /></th>
<th><spring:message code="serverip" /></th>
<th><spring:message code="clientip" /></th>

View File

@@ -84,7 +84,7 @@
<div class="row">
<div class="col-md-2">
<div class="form-group">
<label class="control-label"><spring:message code='protocol_type'/></label>
<label class="control-label"><spring:message code='transport_layer_protocol'/></label>
<form:select path="transProto" class="selectpicker form-control">
<form:option value=""><spring:message code="select"/></form:option>
<c:forEach items="${fns:getDictList('LOG_PROTOCOL')}" var="protocol" >
@@ -159,7 +159,7 @@
<th><spring:message code="entrance"/></th>
<th> URL &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
<th><spring:message code="clj_ip"/></th>
<th><spring:message code="protocol"/></th>
<th><spring:message code="transport_layer_protocol"/></th>
<th><spring:message code="server_ip"/></th>
<th><spring:message code="client_ip"/></th>
<th><spring:message code="server_port"/></th>