technicalBrokerRoute.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. app.config(['$stateProvider', function ($stateProvider) {
  2. $stateProvider
  3. /*技术经纪人任务列表*/
  4. .state('technicalBrokerTaskList', {
  5. cache: false,
  6. url: '/technicalBrokerTaskList',
  7. templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskList.html',
  8. controller: 'technicalBrokerTaskListCtrl',
  9. resolve: {
  10. technicalBrokerTaskList: function (LoadJsService) {
  11. return LoadJsService.loadSequence("technicalBrokerTaskListArgs");
  12. }
  13. },
  14. params: {act: ""}
  15. })
  16. /*技术经纪人培训列表详情页*/
  17. .state('technicalBrokerTaskListContent', {
  18. cache: false,
  19. url: '/technicalBrokerTaskListContent',
  20. templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskListContent.html',
  21. controller: 'technicalBrokerTaskListContentCtrl',
  22. resolve: {
  23. technicalBrokerTaskListContent: function (LoadJsService) {
  24. return LoadJsService.loadSequence("technicalBrokerTaskListContentArgs");
  25. }
  26. },
  27. params: {trainid: 0}
  28. })
  29. /*技术经纪人发起培训*/
  30. .state('technicalBrokerPublishTrain', {
  31. cache: false,
  32. url: '/technicalBrokerPublishTrain',
  33. templateUrl: 'modules/technicalBroker/views/technicalBrokerPublishTrain.html',
  34. controller: 'technicalBrokerPublishTrainCtrl',
  35. resolve: {
  36. technicalBrokerPublishTrain: function (LoadJsService) {
  37. return LoadJsService.loadSequence("technicalBrokerPublishTrainArgs");
  38. }
  39. }
  40. })
  41. /*技术经纪人编辑培训*/
  42. .state('technicalBrokerEditTrain', {
  43. cache: false,
  44. url: '/technicalBrokerEditTrain',
  45. templateUrl: 'modules/technicalBroker/views/technicalBrokerEditTrain.html',
  46. controller: 'technicalBrokerEditTrainCtrl',
  47. resolve: {
  48. technicalBrokerEditTrain: function (LoadJsService) {
  49. return LoadJsService.loadSequence("technicalBrokerEditTrainArgs");
  50. }
  51. },
  52. params: {trainid: 0}
  53. })
  54. /*发布技术经纪人任务*/
  55. .state('technicalBrokerPublishTask', {
  56. cache: false,
  57. url: '/technicalBrokerPublishTask',
  58. templateUrl: 'modules/technicalBroker/views/technicalBrokerPublishTask.html',
  59. controller: 'technicalBrokerPublishTaskCtrl',
  60. resolve: {
  61. technicalBrokerPublishTask: function (LoadJsService) {
  62. return LoadJsService.loadSequence("technicalBrokerPublishTaskArgs");
  63. }
  64. }
  65. })
  66. /*编辑技术经纪人任务*/
  67. .state('technicalBrokerEditTask', {
  68. cache: false,
  69. url: '/technicalBrokerEditTask',
  70. templateUrl: 'modules/technicalBroker/views/technicalBrokerEditTask.html',
  71. controller: 'technicalBrokerEditTaskCtrl',
  72. resolve: {
  73. technicalBrokerEditTask: function (LoadJsService) {
  74. return LoadJsService.loadSequence("technicalBrokerEditTaskArgs");
  75. }
  76. },
  77. params: {taskid: 0}
  78. })
  79. /*技术经纪人任务详情*/
  80. .state('technicalBrokerTaskDetail', {
  81. cache: false,
  82. url: '/technicalBrokerTaskDetail',
  83. templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskDetail.html',
  84. controller: 'technicalBrokerTaskDetailCtrl',
  85. resolve: {
  86. technicalBrokerTaskDetail: function (LoadJsService) {
  87. return LoadJsService.loadSequence("technicalBrokerTaskDetailArgs");
  88. }
  89. },
  90. params: {taskid: 0}
  91. })
  92. /*关于技术经纪人大模块的所有按钮*/
  93. .state('technicalBrokerButtonSummary', {
  94. cache: false,
  95. url: '/technicalBrokerButtonSummary',
  96. templateUrl: 'modules/technicalBroker/views/technicalBrokerButtonSummary.html',
  97. controller: 'technicalBrokerButtonSummaryCtrl',
  98. resolve: {
  99. technicalBrokerButtonSummary: function (LoadJsService) {
  100. return LoadJsService.loadSequence("technicalBrokerButtonSummaryArgs");
  101. }
  102. }
  103. })
  104. /*添加培训主办方*/
  105. .state('technicalBrokerAddMainSponsor', {
  106. cache: false,
  107. url: '/technicalBrokerAddMainSponsor',
  108. templateUrl: 'modules/technicalBroker/views/technicalBrokerAddMainSponsor.html',
  109. controller: 'technicalBrokerAddMainSponsorCtrl',
  110. resolve: {
  111. technicalBrokerAddMainSponsor: function (LoadJsService) {
  112. return LoadJsService.loadSequence("technicalBrokerAddMainSponsorCtrl");
  113. }
  114. }
  115. })
  116. /*录入企业信息及其列表展示*/
  117. .state('technicalBrokerEnterCompanyInfo', {
  118. cache: false,
  119. url: '/technicalBrokerEnterCompanyInfo',
  120. templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterCompanyInfo.html',
  121. controller: 'technicalBrokerEnterCompanyInfoCtrl',
  122. resolve: {
  123. technicalBrokerEnterCompanyInfo: function (LoadJsService) {
  124. return LoadJsService.loadSequence("technicalBrokerEnterCompanyInfoArgs");
  125. }
  126. },
  127. params: {comfrom: ''}
  128. })
  129. /*导出企业信息及其列表展示*/
  130. .state('technicalBrokerExportCompanyInfo', {
  131. cache: false,
  132. url: '/technicalBrokerExportCompanyInfo',
  133. templateUrl: 'modules/technicalBroker/views/technicalBrokerExportCompanyInfo.html',
  134. controller: 'technicalBrokerExportCompanyInfoCtrl',
  135. resolve: {
  136. technicalBrokerEnterCompanyInfo: function (LoadJsService) {
  137. return LoadJsService.loadSequence("technicalBrokerExportCompanyInfoArgs");
  138. }
  139. },
  140. params: {comfrom: ''}
  141. })
  142. /*录入企业信息的表单*/
  143. .state('technicalBrokerAddCompanyInfo', {
  144. cache: false,
  145. url: '/technicalBrokerAddCompanyInfo',
  146. templateUrl: 'modules/technicalBroker/views/technicalBrokerAddCompanyInfo.html',
  147. controller: 'technicalBrokerAddCompanyInfoCtrl',
  148. resolve: {
  149. technicalBrokerAddCompanyInfo: function (LoadJsService) {
  150. return LoadJsService.loadSequence("technicalBrokerAddCompanyInfoArgs");
  151. }
  152. },
  153. params: {taskid: 0, companyid: 0}
  154. })
  155. /*录入需求信息及其列表展示*/
  156. .state('technicalBrokerEnterDemandInfo', {
  157. cache: false,
  158. url: '/technicalBrokerEnterDemandInfo',
  159. templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterDemandInfo.html',
  160. controller: 'technicalBrokerEnterDemandInfoCtrl',
  161. resolve: {
  162. technicalBrokerEnterDemandInfo: function (LoadJsService) {
  163. return LoadJsService.loadSequence("technicalBrokerEnterDemandInfoCtrl");
  164. }
  165. }
  166. })
  167. /*录入需求信息的表单*/
  168. .state('technicalBrokerAddDemandInfo', {
  169. cache: false,
  170. url: '/technicalBrokerAddDemandInfo',
  171. templateUrl: 'modules/technicalBroker/views/technicalBrokerAddDemandInfo.html',
  172. controller: 'technicalBrokerAddDemandInfoCtrl',
  173. resolve: {
  174. technicalBrokerAddDemandInfo: function (LoadJsService) {
  175. return LoadJsService.loadSequence("technicalBrokerAddDemandInfoCtrl");
  176. }
  177. }
  178. })
  179. /*录入成果转化信息及其列表展示*/
  180. .state('technicalBrokerEnterTransformResult', {
  181. cache: false,
  182. url: '/technicalBrokerEnterTransformResult',
  183. templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterTransformResult.html',
  184. controller: 'technicalBrokerEnterTransformResultCtrl',
  185. resolve: {
  186. technicalBrokerEnterTransformResult: function (LoadJsService) {
  187. return LoadJsService.loadSequence("technicalBrokerEnterTransformResultCtrl");
  188. }
  189. }
  190. })
  191. /*录入成果转化信息的表单*/
  192. .state('technicalBrokerAddTransformInfo', {
  193. cache: false,
  194. url: '/technicalBrokerAddTransformInfo',
  195. templateUrl: 'modules/technicalBroker/views/technicalBrokerAddTransformInfo.html',
  196. controller: 'technicalBrokerAddTransformInfoCtrl',
  197. resolve: {
  198. technicalBrokerAddTransformInfo: function (LoadJsService) {
  199. return LoadJsService.loadSequence("technicalBrokerAddTransformInfoCtrl");
  200. }
  201. }
  202. })
  203. /*待接取任务列表*/
  204. .state('technicalBrokerNotReceiveTask', {
  205. cache: false,
  206. url: '/technicalBrokerNotReceiveTask',
  207. templateUrl: 'modules/technicalBroker/views/technicalBrokerNotReceiveTask.html',
  208. controller: 'technicalBrokerNotReceiveTaskCtrl',
  209. resolve: {
  210. technicalBrokerNotReceiveTask: function (LoadJsService) {
  211. return LoadJsService.loadSequence("technicalBrokerNotReceiveTaskArgs");
  212. }
  213. }
  214. })
  215. /*我的发布任务列表*/
  216. .state('technicalBrokerSelfPublishTask', {
  217. cache: false,
  218. url: '/technicalBrokerSelfPublishTask',
  219. templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfPublishTask.html',
  220. controller: 'technicalBrokerSelfPublishTaskCtrl',
  221. resolve: {
  222. technicalBrokerSelfPublishTask: function (LoadJsService) {
  223. return LoadJsService.loadSequence("technicalBrokerSelfPublishTaskArgs");
  224. }
  225. }
  226. })
  227. /*我接取的任务列表*/
  228. .state('technicalBrokerSelfReceiveTask', {
  229. cache: false,
  230. url: '/technicalBrokerSelfReceiveTask',
  231. templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfReceiveTask.html',
  232. controller: 'technicalBrokerSelfReceiveTaskCtrl',
  233. resolve: {
  234. technicalBrokerSelfReceiveTask: function (LoadJsService) {
  235. return LoadJsService.loadSequence("technicalBrokerSelfReceiveTaskArgs");
  236. }
  237. }
  238. })
  239. /*已报名人员列表*/
  240. .state('technicalBrokerRegisteredPerList', {
  241. cache: false,
  242. url: '/technicalBrokerRegisteredPerList',
  243. templateUrl: 'modules/technicalBroker/views/technicalBrokerRegisteredPerList.html',
  244. controller: 'technicalBrokerRegisteredPerListCtrl',
  245. resolve: {
  246. technicalBrokerRegisteredPerList: function (LoadJsService) {
  247. return LoadJsService.loadSequence("technicalBrokerRegisteredPerListArgs");
  248. }
  249. },
  250. params: {traidid: 0}
  251. })
  252. /*已报名的培训列表*/
  253. .state('technicalBrokerSelfSignUpTrain', {
  254. cache: false,
  255. url: '/technicalBrokerSelfSignUpTrain',
  256. templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfSignUpTrain.html',
  257. controller: 'technicalBrokerSelfSignUpTrainCtrl',
  258. resolve: {
  259. technicalBrokerSelfSignUpTrain: function (LoadJsService) {
  260. return LoadJsService.loadSequence("technicalBrokerSelfSignUpTrainArgs");
  261. }
  262. }
  263. })
  264. /*已接取任务的人员列表*/
  265. .state('technicalBrokerReceiveTaskPerList', {
  266. cache: false,
  267. url: '/technicalBrokerReceiveTaskPerList',
  268. templateUrl: 'modules/technicalBroker/views/technicalBrokerReceiveTaskPerList.html',
  269. controller: 'technicalBrokerReceiveTaskPerListCtrl',
  270. resolve: {
  271. technicalBrokerReceiveTaskPerList: function (LoadJsService) {
  272. return LoadJsService.loadSequence("technicalBrokerReceiveTaskPerListCtrl");
  273. }
  274. }
  275. })
  276. /*填写过企业信息的人查看企业信息*/
  277. .state('technicalBrokerCompanyInfo', {
  278. cache: false,
  279. url: '/technicalBrokerCompanyInfo',
  280. templateUrl: 'modules/technicalBroker/views/technicalBrokerCompanyInfo.html',
  281. controller: 'technicalBrokerCompanyInfoCtrl',
  282. resolve: {
  283. technicalBrokerCompanyInfo: function (LoadJsService) {
  284. return LoadJsService.loadSequence("technicalBrokerCompanyInfoArgs");
  285. }
  286. },
  287. params: {connid: 0}
  288. })
  289. /*编辑走企业录入信息*/
  290. .state('technicalBrokerEditCompanyInfo', {
  291. cache: false,
  292. url: '/technicalBrokerEditCompanyInfo',
  293. templateUrl: 'modules/technicalBroker/views/technicalBrokerEditCompanyInfo.html',
  294. controller: 'technicalBrokerEditCompanyInfoCtrl',
  295. resolve: {
  296. technicalBrokerEditCompanyInfo: function (LoadJsService) {
  297. return LoadJsService.loadSequence("technicalBrokerEditCompanyInfoArgs");
  298. }
  299. },
  300. params: {connid: 0}
  301. })
  302. }]);