Commit 84620e31 authored by 徐州's avatar 徐州

修改时间控件

parent 4531484f
...@@ -654,7 +654,7 @@ ...@@ -654,7 +654,7 @@
maxDate = moment(new Date() - 3 * 24 * 60 * 60 * 1000); maxDate = moment(new Date() - 3 * 24 * 60 * 60 * 1000);
} else { } else {
curDate = new Date(); curDate = new Date();
maxDate = new Date(curDate.getTime() + 60 * 24 * 60 * 60 * 1000); maxDate = new Date(curDate.getTime() + 0 * 24 * 60 * 60 * 1000);
} }
$.ajaxSetup({ $.ajaxSetup({
async: false async: false
...@@ -664,7 +664,7 @@ ...@@ -664,7 +664,7 @@
"showWeekNumbers": true, "showWeekNumbers": true,
"showISOWeekNumbers": true, "showISOWeekNumbers": true,
"startDate": curDate, "startDate": curDate,
"endDate": new Date(curDate + 60 * 24 * 60 * 60 * 1000), "endDate": new Date(curDate + 0 * 24 * 60 * 60 * 1000),
"maxDate": maxDate, "maxDate": maxDate,
"timePickerSeconds": true, "timePickerSeconds": true,
"autoApply": true, "autoApply": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment