techDemandDetailCtrl.js 724 B

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