修复配置td title显示问题

http url界面增加配置来源信息
This commit is contained in:
duandongmei
2018-10-29 16:23:33 +08:00
parent a4bd74e5c2
commit d46051aebd
9 changed files with 186 additions and 112 deletions

View File

@@ -7,6 +7,13 @@
</title>
<script>
$(document).ready(function() {
/* $('#contentTable thead tr th input.i-checks').on('ifChecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定
$('#contentTable tbody tr td input.i-checks').iCheck('check');
});
$('#contentTable thead tr th input.i-checks').on('ifUnchecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定
$('#contentTable tbody tr td input.i-checks').iCheck('uncheck');
}); */
//reset
$("#resetBtn").on("click",function(){
$("select.selectpicker").each(function(){
@@ -20,8 +27,23 @@
.attr("value",'');
$("#searchForm")[0].reset();
});
$("#logToUrl").on("click",function(){
var checkboxes=$("#contentTable tbody tr td input.i-checks:checkbox");
if($(checkboxes).filter(":checked").length>0){
$("#http_url_modal").modal({
backdrop:"static",
keyboard:false,
show:true
});
}else{
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
return;
}
});
//筛选功能
filterActionInit();
});
</script>
</head>
@@ -38,7 +60,7 @@
<div class="portlet">
<div class="portlet-body">
<div class="row" >
<form:form id="searchForm" modelAttribute="log" action="${ctx}/log/ntc/http/list" method="post" class="form-search">
<form:form id="searchForm" modelAttribute="log" action="${ctx}/log/ntc/httpkey/list" 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}"/>
@@ -84,6 +106,7 @@
<button type="button" class="btn btn-default" id="filter-btn"> <spring:message code="filter"/><i class="fa fa-angle-double-down"></i></button>
</div>
<div class="pull-right">
<button type="button" class="btn btn-default" id="logToUrl"> <spring:message code="log_to_url"/></button>
<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>
@@ -175,6 +198,7 @@
<table id="contentTable" class="table table-striped table-bordered table-condensed text-nowrap logTb">
<thead>
<tr>
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
<th><spring:message code='cfg_id'/></th>
<th><spring:message code="action"/></th>
<th><spring:message code="found_time"/></th>
@@ -214,6 +238,7 @@
<tbody>
<c:forEach var="log" items="${page.list }">
<tr>
<td><a class="hidden"></a><input type="checkbox" class="i-checks child-checks" compileId="${log.cfgId }" url="${log.url}" value="${log.cfgId }"></td>
<td>${log.cfgId }
<a href="javascript:void(0)" name="viewLogInfo"><i class="icon-book-open"></i></a>
</td>
@@ -348,5 +373,7 @@
</div>
</div>
</div>
<!-- 转log to URLstart -->
<%@include file="/WEB-INF/include/form/multiHttpUrlModal.jsp" %>
</body>
</html>