/** * Created by pushkeji on 2018/8/10. */ angular.module('push') .controller('techDemandDetailCtrl', ['$scope', '$stateParams', 'AccountService', '$q', 'UserService', function ($scope, $stateParams, AccountService, $q, UserService) { $scope.defaultLan = UserService.defaultLan; var getTechDemandList = function () { AccountService.techDemandList().then(function (res) { if (res.code == 3350) { $scope.checkList = res.data; } }) } getTechDemandList(); $scope.jumpToTechDemand = function (list) { $scope.go('techDemandCheck', {id: list.id, comefrom: 'techDemandDetail'}); } }]);