Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6675cb37
authored
Dec 05, 2017
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调度报表优化,支持时间区间筛选;
parent
01f5ed22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
xxl-job-admin/src/main/webapp/static/js/index.js
xxl-job-admin/src/main/webapp/static/js/index.js
View file @
6675cb37
...
...
@@ -6,7 +6,7 @@
$
(
function
()
{
// 过滤时间
var
_startDate
=
moment
().
subtract
(
1
,
'months'
);
var
_startDate
=
moment
().
subtract
(
1
,
'months'
);
// 默认,最近一月
var
_endDate
=
moment
();
$
(
'#filterTime'
).
daterangepicker
({
autoApply
:
false
,
...
...
@@ -23,7 +23,7 @@ $(function () {
'本月'
:
[
moment
().
startOf
(
'month'
),
moment
().
endOf
(
'month'
)],
'上个月'
:
[
moment
().
subtract
(
1
,
'months'
).
startOf
(
'month'
),
moment
().
subtract
(
1
,
'months'
).
endOf
(
'month'
)],
'最近1周'
:
[
moment
().
subtract
(
1
,
'weeks'
),
moment
()],
'最近1月'
:
[
moment
().
subtract
(
1
,
'months'
),
moment
()
]
'最近1月'
:
[
_startDate
,
_endDate
]
},
locale
:
{
format
:
'YYYY-MM-DD HH:mm:ss'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment