去掉app流量趋势中app名称国际化
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<h3 class="page-title">
|
||||
<spring:message code="${appName}"></spring:message>
|
||||
${appName}
|
||||
</h3>
|
||||
<h5 class="page-header"></h5>
|
||||
<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 type="text/javascript">
|
||||
var appName="<spring:message code='${appName}'/>";
|
||||
var appName="${appName}";
|
||||
$(document).ready(function() {
|
||||
var starth = $("#beginDateh").val();
|
||||
var endh = $("#endDateh").val();
|
||||
@@ -605,7 +605,7 @@
|
||||
var end=$("#endDate").val();
|
||||
var htmlTitle="";
|
||||
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+="</tr>"
|
||||
$("#contentTable thead").prepend(htmlTitle);
|
||||
@@ -616,7 +616,7 @@
|
||||
headings:true,
|
||||
footers:true,
|
||||
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
|
||||
});
|
||||
$("#myexport").click();
|
||||
@@ -649,7 +649,7 @@
|
||||
map["titleTime"]=title;
|
||||
map["heard"]=heard;
|
||||
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);
|
||||
aJaxImportPost("${ctx}/export/ajaxExport",{"exports":exports});
|
||||
}
|
||||
@@ -1461,7 +1461,7 @@
|
||||
titleKey=["num1","num2","num3","num4"];
|
||||
}
|
||||
exportCsv({
|
||||
title:["<spring:message code='${appName}'/>",start+"--"+end],
|
||||
title:["${appName}",start+"--"+end],
|
||||
titleForKey:titleKey,
|
||||
data:data
|
||||
});
|
||||
@@ -1489,7 +1489,7 @@
|
||||
var uri = 'data:text/csv;charset=utf-8,' + encodeURIComponent(blob);
|
||||
var downloadLink = document.createElement("a");
|
||||
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';
|
||||
document.body.appendChild(downloadLink);
|
||||
downloadLink.click();
|
||||
|
||||
Reference in New Issue
Block a user