配置导入增加配置描述、关键字长度限制;部分报表导出文件名修改
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user