demandRewardCheckCtrl.js 652 B

1234567891011121314151617181920
  1. /**
  2. * Created by pushkeji on 2018/8/10.
  3. */
  4. angular.module('push')
  5. .controller('demandRewardCheckCtrl', ['$scope', '$stateParams', 'AccountService', '$q', function ($scope, $stateParams, AccountService, $q, UserService) {
  6. var getTechDemandCheckList = function () {
  7. AccountService.techDemandCheckList().then(function (res) {
  8. if (res.code == 3350) {
  9. $scope.checkList = res.data;
  10. }
  11. })
  12. }
  13. getTechDemandCheckList();
  14. $scope.jumpToTechDemand = function (list) {
  15. $scope.go('techDemandCheckDetail', {id: list.id});
  16. }
  17. }]);