|
|
@ -2,7 +2,7 @@
|
|
|
|
* Created by davep on 2016-07-27.
|
|
|
|
* Created by davep on 2016-07-27.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angular) {
|
|
|
|
define(['angular', 'uiRouter', 'jstz', 'uiBootstrap', 'angularEcharts'], function (angular) {
|
|
|
|
'use strict';
|
|
|
|
'use strict';
|
|
|
|
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
|
|
|
|
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
|
|
|
|
var app = angular.module('dashboardApp', ['ui.router', 'ui.bootstrap', 'ngEcharts']);
|
|
|
|
var app = angular.module('dashboardApp', ['ui.router', 'ui.bootstrap', 'ngEcharts']);
|
|
|
@ -25,7 +25,8 @@ define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angul
|
|
|
|
params: function () {
|
|
|
|
params: function () {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
begin: $filter('date')(new Date(), 'yyyyMMdd'),
|
|
|
|
begin: $filter('date')(new Date(), 'yyyyMMdd'),
|
|
|
|
end: $filter('date')(new Date(), 'yyyyMMdd')
|
|
|
|
end: $filter('date')(new Date(), 'yyyyMMdd'),
|
|
|
|
|
|
|
|
timezone: jstz.determine().name()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|