Upd:城市合伙人查询年份固定由2017年至当前年

master
dulingling 4 years ago
parent a450d50615
commit 616834a194

@ -97,7 +97,11 @@ define(['angular','../../analysis/org/analysis-org'], function (angular) {
})
})
};
$scope.availableYears = [new Date().getFullYear() - 2,new Date().getFullYear() - 1, new Date().getFullYear()];
$scope.availableYears = [new Date().getFullYear()];
//当前年至2017年年份
for (var i = 1; i < new Date().getFullYear()-2017+1; i++) {
$scope.availableYears.push(new Date().getFullYear() - i);
}
$scope.params = {};
$scope.months = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
$scope.loadAvailableMonths = function (year) {
@ -197,4 +201,4 @@ define(['angular','../../analysis/org/analysis-org'], function (angular) {
});
});

Loading…
Cancel
Save