angular.module('push') .controller('ActivityReportAccountCtrl', function ($scope, $stateParams, DockingService, UtilService) { var infoid = $stateParams.infoid; var role = $stateParams.role; var getKeeponRecordList = function () { $scope.showLoadingToast(); DockingService.getKeeponRecordList(infoid, role).then(function (response) { console.log(response); $scope.konrelist = response.list; $scope.hideLoadingToast(); }, function () { UtilService.showMess("网络不给力,请重试"); $scope.hideLoadingToast(); }) }; getKeeponRecordList(); $scope.goKeeponRecordInfo = function (id) { $scope.go("ActivtyReport", {konreid: id}); } });