去掉app流量趋势中app名称国际化
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<h3 class="page-title">
|
<h3 class="page-title">
|
||||||
<spring:message code="${appName}"></spring:message>
|
${appName}
|
||||||
</h3>
|
</h3>
|
||||||
<h5 class="page-header"></h5>
|
<h5 class="page-header"></h5>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
<script src="${pageContext.request.contextPath}/static/global/plugins/highcharts/js/no-data-to-display.js"></script>
|
<script src="${pageContext.request.contextPath}/static/global/plugins/highcharts/js/no-data-to-display.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var appName="<spring:message code='${appName}'/>";
|
var appName="${appName}";
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var starth = $("#beginDateh").val();
|
var starth = $("#beginDateh").val();
|
||||||
var endh = $("#endDateh").val();
|
var endh = $("#endDateh").val();
|
||||||
@@ -605,7 +605,7 @@
|
|||||||
var end=$("#endDate").val();
|
var end=$("#endDate").val();
|
||||||
var htmlTitle="";
|
var htmlTitle="";
|
||||||
htmlTitle+="<tr class='tr-title'>";
|
htmlTitle+="<tr class='tr-title'>";
|
||||||
htmlTitle+= "<th class='tc' colspan='1'>"+"<spring:message code='${appName}'/>"+"</th>";
|
htmlTitle+= "<th class='tc' colspan='1'>"+"${appName}"+"</th>";
|
||||||
htmlTitle+= "<th class='tc' colspan='2'>"+start+"--"+ end +"</th>";
|
htmlTitle+= "<th class='tc' colspan='2'>"+start+"--"+ end +"</th>";
|
||||||
htmlTitle+="</tr>"
|
htmlTitle+="</tr>"
|
||||||
$("#contentTable thead").prepend(htmlTitle);
|
$("#contentTable thead").prepend(htmlTitle);
|
||||||
@@ -616,7 +616,7 @@
|
|||||||
headings:true,
|
headings:true,
|
||||||
footers:true,
|
footers:true,
|
||||||
formats:[dataType],
|
formats:[dataType],
|
||||||
fileName:"<spring:message code='${appName}'></spring:message>"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds(),
|
fileName:"${appName}"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds(),
|
||||||
bootstrap:false
|
bootstrap:false
|
||||||
});
|
});
|
||||||
$("#myexport").click();
|
$("#myexport").click();
|
||||||
@@ -649,7 +649,7 @@
|
|||||||
map["titleTime"]=title;
|
map["titleTime"]=title;
|
||||||
map["heard"]=heard;
|
map["heard"]=heard;
|
||||||
map["book"]=data;
|
map["book"]=data;
|
||||||
map["titleCode"]="<spring:message code='${appName}'/>"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds();
|
map["titleCode"]="${appName}"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds();
|
||||||
var exports = JSON.stringify(map);
|
var exports = JSON.stringify(map);
|
||||||
aJaxImportPost("${ctx}/export/ajaxExport",{"exports":exports});
|
aJaxImportPost("${ctx}/export/ajaxExport",{"exports":exports});
|
||||||
}
|
}
|
||||||
@@ -1461,7 +1461,7 @@
|
|||||||
titleKey=["num1","num2","num3","num4"];
|
titleKey=["num1","num2","num3","num4"];
|
||||||
}
|
}
|
||||||
exportCsv({
|
exportCsv({
|
||||||
title:["<spring:message code='${appName}'/>",start+"--"+end],
|
title:["${appName}",start+"--"+end],
|
||||||
titleForKey:titleKey,
|
titleForKey:titleKey,
|
||||||
data:data
|
data:data
|
||||||
});
|
});
|
||||||
@@ -1489,7 +1489,7 @@
|
|||||||
var uri = 'data:text/csv;charset=utf-8,' + encodeURIComponent(blob);
|
var uri = 'data:text/csv;charset=utf-8,' + encodeURIComponent(blob);
|
||||||
var downloadLink = document.createElement("a");
|
var downloadLink = document.createElement("a");
|
||||||
downloadLink.href = window.URL.createObjectURL(blob);
|
downloadLink.href = window.URL.createObjectURL(blob);
|
||||||
downloadLink.download = "<spring:message code='${appName}'/>"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds()+".csv";
|
downloadLink.download = "${appName}"+nowDate.getFullYear()+(nowDate.getMonth()+1)+nowDate.getDate()+nowDate.getHours()+nowDate.getMinutes()+nowDate.getSeconds()+".csv";
|
||||||
downloadLink.style.display = 'none';
|
downloadLink.style.display = 'none';
|
||||||
document.body.appendChild(downloadLink);
|
document.body.appendChild(downloadLink);
|
||||||
downloadLink.click();
|
downloadLink.click();
|
||||||
|
|||||||
Reference in New Issue
Block a user