调度报表优化,支持时间区间筛选;

pull/4/head
xuxueli 7 years ago
parent 0e1ef7f3ed
commit 01f5ed2206

@ -84,7 +84,7 @@
<div class="progress">
<div class="progress-bar" style="width: 100%"></div>
</div>
<span class="progress-description"></span>
<span class="progress-description">线</span>
</div>
</div>
</div>

@ -20,10 +20,10 @@ $(function () {
//'最近1小时': [moment().subtract(1, 'hours'), moment()],
'': [moment().startOf('day'), moment().endOf('day')],
'': [moment().subtract(1, 'days').startOf('day'), moment().subtract(1, 'days').endOf('day')],
'7': [moment().subtract(7, 'days'), moment()],
'30': [moment().subtract(1, 'months'), moment()],
'': [moment().startOf('month'), moment().endOf('month')],
'': [moment().subtract(1, 'months').startOf('month'), moment().subtract(1, 'months').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()]
},
locale : {
format: 'YYYY-MM-DD HH:mm:ss',

Loading…
Cancel
Save