From 48142e9f7888f6777ee7384334f4b22de0c1e885 Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 31 Jan 2019 09:22:16 +0800 Subject: [PATCH] fix org commission year --- src/main/ui/static/config/orgcommission/orgcommission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ui/static/config/orgcommission/orgcommission.js b/src/main/ui/static/config/orgcommission/orgcommission.js index 2ef6f53e9..c9225b69c 100644 --- a/src/main/ui/static/config/orgcommission/orgcommission.js +++ b/src/main/ui/static/config/orgcommission/orgcommission.js @@ -97,7 +97,7 @@ define(['angular','../../analysis/org/analysis-org'], function (angular) { }) }) }; - $scope.availableYears = [new Date().getFullYear() - 1, new Date().getFullYear()]; + $scope.availableYears = [new Date().getFullYear() - 2,new Date().getFullYear() - 1, new Date().getFullYear()]; $scope.params = {}; $scope.months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; $scope.loadAvailableMonths = function (year) {