log_total链接加到配置ID上
实时报表-合计所有数据 mail和ftp选block时隐藏内容封堵
This commit is contained in:
@@ -23,6 +23,23 @@
|
|||||||
}); */
|
}); */
|
||||||
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
||||||
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
||||||
|
|
||||||
|
var action=$("input[name='action']:checked").val();
|
||||||
|
if(action==16){
|
||||||
|
$("#keywords").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("#keywords").removeClass("hidden");
|
||||||
|
}
|
||||||
|
|
||||||
|
$(".action").on("change", function() {
|
||||||
|
var action=$("input[name='action']:checked").val();
|
||||||
|
if(action==16){
|
||||||
|
$("#keywords").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("#keywords").removeClass("hidden");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$("#cfgFrom").validate(
|
$("#cfgFrom").validate(
|
||||||
{
|
{
|
||||||
errorPlacement : function(error, element) {
|
errorPlacement : function(error, element) {
|
||||||
@@ -299,7 +316,7 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${region.configServiceType eq 'keywords' }">
|
<c:if test="${region.configServiceType eq 'keywords' }">
|
||||||
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
||||||
<h4 class="form-section">
|
<h4 class="form-section" id="keywords">
|
||||||
<spring:message code="${region.configRegionValue}" />
|
<spring:message code="${region.configRegionValue}" />
|
||||||
<small> <span
|
<small> <span
|
||||||
class="glyphicon glyphicon-plus ${tabName}Add"
|
class="glyphicon glyphicon-plus ${tabName}Add"
|
||||||
|
|||||||
@@ -17,9 +17,22 @@
|
|||||||
/* $("#cancel").on("click", function() {
|
/* $("#cancel").on("click", function() {
|
||||||
window.history.back();
|
window.history.back();
|
||||||
});*/
|
});*/
|
||||||
|
|
||||||
|
var action=$("input[name='action']:checked").val()
|
||||||
|
if(action==16){
|
||||||
|
$("#NTC_MAIL_BODY").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("#NTC_MAIL_BODY").removeClass("hidden");
|
||||||
|
}
|
||||||
$(".action").on("change", function() {
|
$(".action").on("change", function() {
|
||||||
$("#serviceId").val($(this).attr("serviceId"));
|
$("#serviceId").val($(this).attr("serviceId"));
|
||||||
$("#protocolId").val($(this).attr("protocolId"));
|
$("#protocolId").val($(this).attr("protocolId"));
|
||||||
|
var action=$("input[name='action']:checked").val()
|
||||||
|
if(action==16){
|
||||||
|
$("#NTC_MAIL_BODY").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("#NTC_MAIL_BODY").removeClass("hidden");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$("#fileInfo").on('click',function(){
|
$("#fileInfo").on('click',function(){
|
||||||
$("#file").trigger("click");
|
$("#file").trigger("click");
|
||||||
@@ -269,7 +282,7 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${region.regionType eq 3 }">
|
<c:if test="${region.regionType eq 3 }">
|
||||||
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
||||||
<h4 class="form-section">
|
<h4 class="form-section" id="${region.configRegionValue}" >
|
||||||
<spring:message code="${region.configRegionValue}" />
|
<spring:message code="${region.configRegionValue}" />
|
||||||
<small> <span
|
<small> <span
|
||||||
class="glyphicon glyphicon-plus ${tabName}Add"
|
class="glyphicon glyphicon-plus ${tabName}Add"
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ background:#3d3d3d;
|
|||||||
<a href="${ctx}/sys/help" id="helpHref" target="mainFrame" >
|
<a href="${ctx}/sys/help" id="helpHref" target="mainFrame" >
|
||||||
<i class="icon-question font-sharp"></i>
|
<i class="icon-question font-sharp"></i>
|
||||||
<span class="username username-hide-on-mobile" id="help">
|
<span class="username username-hide-on-mobile" id="help">
|
||||||
help
|
<spring:message code="help" />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
$("#myexport").click();
|
$("#myexport").click();
|
||||||
$("caption").remove();
|
$("caption").remove();
|
||||||
totaltb(pato,size);
|
//totaltb(pato,size);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@@ -253,10 +253,10 @@ function customColumnClick(){
|
|||||||
|
|
||||||
//合计table中某一段数据
|
//合计table中某一段数据
|
||||||
function totaltb(paNo,paSize){
|
function totaltb(paNo,paSize){
|
||||||
if(paSize>0){
|
/* if(paSize>0){
|
||||||
size=paSize;
|
size=paSize;
|
||||||
pato=paNo;
|
pato=paNo;
|
||||||
}
|
} */
|
||||||
$('#total').remove();
|
$('#total').remove();
|
||||||
var reportBusinessType=$("#reportBusinessType").val()
|
var reportBusinessType=$("#reportBusinessType").val()
|
||||||
var tableId="tagTable";
|
var tableId="tagTable";
|
||||||
@@ -285,10 +285,10 @@ function customColumnClick(){
|
|||||||
s=2;
|
s=2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(paNo > 1){
|
/* if(paNo > 1){
|
||||||
row=(paNo-1)*paSize+1;
|
row=(paNo-1)*paSize+1;
|
||||||
}
|
} */
|
||||||
for (var i = row; i < rows.length; i++) {
|
for (var i = 1; i < rows.length; i++) {
|
||||||
for (var j = s; j <rows[i].cells.length ; j++) {
|
for (var j = s; j <rows[i].cells.length ; j++) {
|
||||||
if(list[j]!=null){
|
if(list[j]!=null){
|
||||||
list[j-s]=parseInt(rows[i].cells[j].innerHTML)+parseInt(list[j-s]);
|
list[j-s]=parseInt(rows[i].cells[j].innerHTML)+parseInt(list[j-s]);
|
||||||
@@ -296,10 +296,10 @@ function customColumnClick(){
|
|||||||
list[j-s]=parseInt(rows[i].cells[j].innerHTML);
|
list[j-s]=parseInt(rows[i].cells[j].innerHTML);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
num++;
|
/* num++;
|
||||||
if(num == paSize){
|
if(num == paSize){
|
||||||
break;
|
break;
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
if(rows.length > 1){
|
if(rows.length > 1){
|
||||||
var trtotal="";
|
var trtotal="";
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ var GetLogTotal=function(_data){
|
|||||||
for(var i=0;i<data.length;i++){
|
for(var i=0;i<data.length;i++){
|
||||||
if($(this).attr("compileId")==data[i].compileId){
|
if($(this).attr("compileId")==data[i].compileId){
|
||||||
$(this).attr("id",i+"logTotal");
|
$(this).attr("id",i+"logTotal");
|
||||||
$(this).html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].sum+"<a>");
|
$(this).html(data[i].sum);
|
||||||
|
$(this).parent("tr").find("td:eq(1)").html("<a href='javascript:;' onclick='toLogSearch("+i+")'>"+data[i].compileId+"<a>");
|
||||||
hasLog=true;
|
hasLog=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user