配置导入增加配置描述、关键字长度限制;部分报表导出文件名修改

This commit is contained in:
zhangwenqing
2018-12-27 17:28:44 +08:00
parent 1948fd6763
commit 09705aca19
7 changed files with 62 additions and 5 deletions

View File

@@ -121,9 +121,36 @@ $(document).ready(function() {
var action = "";
}
var reportType = $("[name=reportType]").find('[value=' + "${bean.reportType}" + ']').text() + "_";
var reportTime = "${bean.reportTime}";
return cfgName + action + reportType + reportTime;
//var reportTime = "${bean.reportTime}";
return cfgName + action + reportType + getStringFormatDate();
}
function getStringFormatDate() {
var date = new Date();
var year = date.getFullYear();
var month = date.getMonth() + 1;
var strDate = date.getDate();
var hours = date.getHours();
var minutes = date.getMinutes();
var seconds = date.getSeconds();
if (month >= 1 && month <= 9) {
month = "0" + month;
}
if (strDate >= 0 && strDate <= 9) {
strDate = "0" + strDate;
}
if (hours >= 1 && hours <= 9) {
hours = "0" + hours;
}
if (minutes >= 1 && minutes <= 9) {
minutes = "0" + minutes;
}
if (seconds >= 1 && seconds <= 9) {
seconds = "0" + seconds;
}
var currentdate = year+""+ month+""+strDate+""+ hours+""+ minutes+""+seconds;
return currentdate;
}
var reportDate=0;
function changeReportType(reportType) {