Add user management
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
window.app.controller('DistributionReportController', DistributionReportController);
|
||||
|
||||
DistributionReportController.$inject = ['$scope', 'reportSvc', 'downloadSvc'];
|
||||
function DistributionReportController($scope, reportSvc, downloadSvc) {
|
||||
var vm = this;
|
||||
vm.loadData = reportSvc.loadDistributionReport;
|
||||
vm.query = reportSvc.distributionQuery;
|
||||
vm.distributionData = reportSvc.distributionData;
|
||||
vm.export = function (params) {
|
||||
reportSvc.exportDistributionReport(params)
|
||||
.success(downloadSvc.success);
|
||||
}
|
||||
}
|
||||
window.app.controller('DistributionReportController',
|
||||
function($scope, reportSvc, downloadSvc) {
|
||||
var vm = this;
|
||||
vm.loadData = reportSvc.loadDistributionReport;
|
||||
vm.query = reportSvc.distributionQuery;
|
||||
vm.distributionData = reportSvc.distributionData;
|
||||
vm.export = function(params) {
|
||||
reportSvc.exportDistributionReport(params)
|
||||
.success(downloadSvc.success);
|
||||
}
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user