app.config(['$stateProvider', function ($stateProvider) { $stateProvider /*技术经纪人任务列表*/ .state('technicalBrokerTaskList', { cache: false, url: '/technicalBrokerTaskList', templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskList.html', controller: 'technicalBrokerTaskListCtrl', resolve: { technicalBrokerTaskList: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerTaskListArgs"); } }, params: {act: ""} }) /*技术经纪人培训列表详情页*/ .state('technicalBrokerTaskListContent', { cache: false, url: '/technicalBrokerTaskListContent', templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskListContent.html', controller: 'technicalBrokerTaskListContentCtrl', resolve: { technicalBrokerTaskListContent: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerTaskListContentArgs"); } }, params: {trainid: 0} }) /*技术经纪人发起培训*/ .state('technicalBrokerPublishTrain', { cache: false, url: '/technicalBrokerPublishTrain', templateUrl: 'modules/technicalBroker/views/technicalBrokerPublishTrain.html', controller: 'technicalBrokerPublishTrainCtrl', resolve: { technicalBrokerPublishTrain: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerPublishTrainArgs"); } } }) /*技术经纪人编辑培训*/ .state('technicalBrokerEditTrain', { cache: false, url: '/technicalBrokerEditTrain', templateUrl: 'modules/technicalBroker/views/technicalBrokerEditTrain.html', controller: 'technicalBrokerEditTrainCtrl', resolve: { technicalBrokerEditTrain: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEditTrainArgs"); } }, params: {trainid: 0} }) /*发布技术经纪人任务*/ .state('technicalBrokerPublishTask', { cache: false, url: '/technicalBrokerPublishTask', templateUrl: 'modules/technicalBroker/views/technicalBrokerPublishTask.html', controller: 'technicalBrokerPublishTaskCtrl', resolve: { technicalBrokerPublishTask: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerPublishTaskArgs"); } } }) /*编辑技术经纪人任务*/ .state('technicalBrokerEditTask', { cache: false, url: '/technicalBrokerEditTask', templateUrl: 'modules/technicalBroker/views/technicalBrokerEditTask.html', controller: 'technicalBrokerEditTaskCtrl', resolve: { technicalBrokerEditTask: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEditTaskArgs"); } }, params: {taskid: 0} }) /*技术经纪人任务详情*/ .state('technicalBrokerTaskDetail', { cache: false, url: '/technicalBrokerTaskDetail', templateUrl: 'modules/technicalBroker/views/technicalBrokerTaskDetail.html', controller: 'technicalBrokerTaskDetailCtrl', resolve: { technicalBrokerTaskDetail: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerTaskDetailArgs"); } }, params: {taskid: 0} }) /*关于技术经纪人大模块的所有按钮*/ .state('technicalBrokerButtonSummary', { cache: false, url: '/technicalBrokerButtonSummary', templateUrl: 'modules/technicalBroker/views/technicalBrokerButtonSummary.html', controller: 'technicalBrokerButtonSummaryCtrl', resolve: { technicalBrokerButtonSummary: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerButtonSummaryArgs"); } } }) /*添加培训主办方*/ .state('technicalBrokerAddMainSponsor', { cache: false, url: '/technicalBrokerAddMainSponsor', templateUrl: 'modules/technicalBroker/views/technicalBrokerAddMainSponsor.html', controller: 'technicalBrokerAddMainSponsorCtrl', resolve: { technicalBrokerAddMainSponsor: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerAddMainSponsorCtrl"); } } }) /*录入企业信息及其列表展示*/ .state('technicalBrokerEnterCompanyInfo', { cache: false, url: '/technicalBrokerEnterCompanyInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterCompanyInfo.html', controller: 'technicalBrokerEnterCompanyInfoCtrl', resolve: { technicalBrokerEnterCompanyInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEnterCompanyInfoArgs"); } }, params: {comfrom: ''} }) /*导出企业信息及其列表展示*/ .state('technicalBrokerExportCompanyInfo', { cache: false, url: '/technicalBrokerExportCompanyInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerExportCompanyInfo.html', controller: 'technicalBrokerExportCompanyInfoCtrl', resolve: { technicalBrokerEnterCompanyInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerExportCompanyInfoArgs"); } }, params: {comfrom: ''} }) /*录入企业信息的表单*/ .state('technicalBrokerAddCompanyInfo', { cache: false, url: '/technicalBrokerAddCompanyInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerAddCompanyInfo.html', controller: 'technicalBrokerAddCompanyInfoCtrl', resolve: { technicalBrokerAddCompanyInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerAddCompanyInfoArgs"); } }, params: {taskid: 0, companyid: 0} }) /*录入需求信息及其列表展示*/ .state('technicalBrokerEnterDemandInfo', { cache: false, url: '/technicalBrokerEnterDemandInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterDemandInfo.html', controller: 'technicalBrokerEnterDemandInfoCtrl', resolve: { technicalBrokerEnterDemandInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEnterDemandInfoCtrl"); } } }) /*录入需求信息的表单*/ .state('technicalBrokerAddDemandInfo', { cache: false, url: '/technicalBrokerAddDemandInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerAddDemandInfo.html', controller: 'technicalBrokerAddDemandInfoCtrl', resolve: { technicalBrokerAddDemandInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerAddDemandInfoCtrl"); } } }) /*录入成果转化信息及其列表展示*/ .state('technicalBrokerEnterTransformResult', { cache: false, url: '/technicalBrokerEnterTransformResult', templateUrl: 'modules/technicalBroker/views/technicalBrokerEnterTransformResult.html', controller: 'technicalBrokerEnterTransformResultCtrl', resolve: { technicalBrokerEnterTransformResult: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEnterTransformResultCtrl"); } } }) /*录入成果转化信息的表单*/ .state('technicalBrokerAddTransformInfo', { cache: false, url: '/technicalBrokerAddTransformInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerAddTransformInfo.html', controller: 'technicalBrokerAddTransformInfoCtrl', resolve: { technicalBrokerAddTransformInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerAddTransformInfoCtrl"); } } }) /*待接取任务列表*/ .state('technicalBrokerNotReceiveTask', { cache: false, url: '/technicalBrokerNotReceiveTask', templateUrl: 'modules/technicalBroker/views/technicalBrokerNotReceiveTask.html', controller: 'technicalBrokerNotReceiveTaskCtrl', resolve: { technicalBrokerNotReceiveTask: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerNotReceiveTaskArgs"); } } }) /*我的发布任务列表*/ .state('technicalBrokerSelfPublishTask', { cache: false, url: '/technicalBrokerSelfPublishTask', templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfPublishTask.html', controller: 'technicalBrokerSelfPublishTaskCtrl', resolve: { technicalBrokerSelfPublishTask: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerSelfPublishTaskArgs"); } } }) /*我接取的任务列表*/ .state('technicalBrokerSelfReceiveTask', { cache: false, url: '/technicalBrokerSelfReceiveTask', templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfReceiveTask.html', controller: 'technicalBrokerSelfReceiveTaskCtrl', resolve: { technicalBrokerSelfReceiveTask: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerSelfReceiveTaskArgs"); } } }) /*已报名人员列表*/ .state('technicalBrokerRegisteredPerList', { cache: false, url: '/technicalBrokerRegisteredPerList', templateUrl: 'modules/technicalBroker/views/technicalBrokerRegisteredPerList.html', controller: 'technicalBrokerRegisteredPerListCtrl', resolve: { technicalBrokerRegisteredPerList: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerRegisteredPerListArgs"); } }, params: {traidid: 0} }) /*已报名的培训列表*/ .state('technicalBrokerSelfSignUpTrain', { cache: false, url: '/technicalBrokerSelfSignUpTrain', templateUrl: 'modules/technicalBroker/views/technicalBrokerSelfSignUpTrain.html', controller: 'technicalBrokerSelfSignUpTrainCtrl', resolve: { technicalBrokerSelfSignUpTrain: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerSelfSignUpTrainArgs"); } } }) /*已接取任务的人员列表*/ .state('technicalBrokerReceiveTaskPerList', { cache: false, url: '/technicalBrokerReceiveTaskPerList', templateUrl: 'modules/technicalBroker/views/technicalBrokerReceiveTaskPerList.html', controller: 'technicalBrokerReceiveTaskPerListCtrl', resolve: { technicalBrokerReceiveTaskPerList: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerReceiveTaskPerListCtrl"); } } }) /*填写过企业信息的人查看企业信息*/ .state('technicalBrokerCompanyInfo', { cache: false, url: '/technicalBrokerCompanyInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerCompanyInfo.html', controller: 'technicalBrokerCompanyInfoCtrl', resolve: { technicalBrokerCompanyInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerCompanyInfoArgs"); } }, params: {connid: 0} }) /*编辑走企业录入信息*/ .state('technicalBrokerEditCompanyInfo', { cache: false, url: '/technicalBrokerEditCompanyInfo', templateUrl: 'modules/technicalBroker/views/technicalBrokerEditCompanyInfo.html', controller: 'technicalBrokerEditCompanyInfoCtrl', resolve: { technicalBrokerEditCompanyInfo: function (LoadJsService) { return LoadJsService.loadSequence("technicalBrokerEditCompanyInfoArgs"); } }, params: {connid: 0} }) }]);