technicalBrokerEnterTransformResultCtrl.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. angular.module('push')
  2. .controller('technicalBrokerEnterTransformResultCtrl', function ($scope,ActivityService,$stateParams) {
  3. // 获取参与成果列表
  4. var getJoinComList = function () {
  5. $scope.showLoadingToast();
  6. ActivityService.getJoinComList().then(function (response) {
  7. // console.log(response);
  8. $scope.transformResultList = response.transformResultList;
  9. $scope.hideLoadingToast();
  10. }, function () {
  11. $scope.hideLoadingToast();
  12. })
  13. };
  14. //getJoinComList();
  15. //获取企业信息列表
  16. $scope.transformResultList=[
  17. {logo:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2102756011,2989429775&fm=27&gp=0.jpg",
  18. transformResultname:"成果A",
  19. transformResultLabel:"启动"
  20. },
  21. {logo:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2427437564,310554570&fm=27&gp=0.jpg",
  22. transformResultname:"成果B",
  23. transformResultLabel:"进行中"
  24. },
  25. {logo:"https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=733963650,3633348335&fm=27&gp=0.jpg",
  26. transformResultname:"成果C",
  27. transformResultLabel:"启动"
  28. },
  29. {logo:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1477507599,2478418295&fm=27&gp=0.jpg",
  30. transformResultname:"成果D",
  31. transformResultLabel:"进行中"
  32. },
  33. {logo:"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=376390060,3966999180&fm=27&gp=0.jpg",
  34. transformResultname:"成果E",
  35. transformResultLabel:"完成"
  36. }
  37. ];
  38. //进入成
  39. $scope.goDetail = function (transformResultId) {
  40. $scope.go("", {transformResultId: transformResultId});
  41. };
  42. $scope.goEnterResultInfo=function () {
  43. $scope.go("technicalBrokerAddTransformInfo");
  44. }
  45. });