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

修改时间控件

parent 4531484f
......@@ -654,7 +654,7 @@
maxDate = moment(new Date() - 3 * 24 * 60 * 60 * 1000);
} else {
curDate = new Date();
maxDate = new Date(curDate.getTime() + 60 * 24 * 60 * 60 * 1000);
maxDate = new Date(curDate.getTime() + 0 * 24 * 60 * 60 * 1000);
}
$.ajaxSetup({
async: false
......@@ -664,7 +664,7 @@
"showWeekNumbers": true,
"showISOWeekNumbers": true,
"startDate": curDate,
"endDate": new Date(curDate + 60 * 24 * 60 * 60 * 1000),
"endDate": new Date(curDate + 0 * 24 * 60 * 60 * 1000),
"maxDate": maxDate,
"timePickerSeconds": 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