route.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. starter.config(function ($stateProvider) {
  2. $stateProvider.state('pay', {
  3. url: '/index',
  4. templateUrl: 'templates/pay.html',
  5. controller: 'PayCtrl'
  6. })
  7. .state('payman', {
  8. url: '/payman',
  9. templateUrl: 'templates/payman.html'
  10. })
  11. .state('typeset', {
  12. url: '/typeset',
  13. templateUrl: 'templates/typeset.html',
  14. controller: 'TypeSetCtrl'
  15. })
  16. .state('auditstepset', {
  17. url: '/auditstepset',
  18. templateUrl: 'templates/auditstepset.html',
  19. controller: 'AuditStepSetCtrl'
  20. })
  21. .state('addtype', {
  22. url: '/addtype/:id',
  23. templateUrl: 'templates/addtype.html',
  24. controller: 'AddTypeCtrl'
  25. })
  26. .state('pay-record', {
  27. url: '/pay-record/:type&:id',
  28. templateUrl: 'templates/pay-record.html',
  29. controller: 'PayRecordCtrl'
  30. })
  31. .state('pay-bill', {
  32. url: '/pay-bill/:type&:id',
  33. templateUrl: 'templates/pay-bill.html',
  34. controller: 'PayBillCtrl'
  35. })
  36. .state('auditstep', {
  37. url: '/auditstep/:id',
  38. templateUrl: 'templates/auditstep.html',
  39. controller: 'AuditStepCtrl'
  40. })
  41. .state('seestepmflist', {
  42. url: '/seestepmflist',
  43. templateUrl: 'templates/seestepmflist.html',
  44. controller: 'SeeStepMfListCtrl'
  45. })
  46. .state('billlist', {
  47. url: '/billlist/:type',
  48. templateUrl: 'templates/billlist.html',
  49. controller: 'BillListCtrl'
  50. })
  51. .state('paybilldetails', {
  52. url: '/paybilldetails/:id',
  53. templateUrl: 'templates/paybilldetails.html',
  54. controller: 'PayBillDetailsCtrl'
  55. })
  56. .state('billapprove', {
  57. url: '/billapprove/:type',
  58. templateUrl: 'templates/billapprove.html',
  59. controller: 'BillApproveCtrl'
  60. })
  61. .state('billapproved', {
  62. url: '/billapproved/:type',
  63. templateUrl: 'templates/billapproved.html',
  64. controller: 'BillApprovedCtrl'
  65. })
  66. .state('billpay', {
  67. url: '/billpay/:type',
  68. templateUrl: 'templates/billpay.html',
  69. controller: 'BillPayCtrl'
  70. })
  71. .state('pay-analyse', {
  72. url: '/pay-analyse',
  73. templateUrl: 'templates/pay-analyse.html',
  74. controller: 'PayAnalyseCtrl'
  75. })
  76. });