'use strict'; angular.module('app').config([ '$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $urlRouterProvider.otherwise('/app/main'); $stateProvider.state('app', { abstract : true, url : '/app', template : '
' }).state('app.main', { url : '/main', templateUrl : 'routes/main/main.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/main/main.js?v=' + new Date().getTime() ]); } ] } }) .state('app.std', { abstract : true, url : '/std', template : '' }).state('app.std.reg', { url : '/reg', templateUrl : 'routes/std/reg/std_reg.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/reg/std_reg.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.cert', { url : '/cert', templateUrl : 'routes/std/cert/std_cert.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/cert/std_cert.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.info', { url : '/info', templateUrl : 'routes/std/info/std_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/info/std_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.material', { url : '/material', templateUrl : 'routes/std/material/std_material.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/material/std_material.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.material_info', { url : '/material_info/:material_id', templateUrl : 'routes/std/material/std_material_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/material/std_material_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.binding', { url : '/binding', templateUrl : 'routes/std/binding/std_binding.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/binding/std_binding.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.unbinding', { url : '/unbinding', templateUrl : 'routes/std/unbinding/std_unbinding.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/unbinding/std_unbinding.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.admit', { url : '/admit', templateUrl : 'routes/std/admit/std_admit.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/admit/std_admit.js?v=' + new Date().getTime() ]); } ] } }) .state('app.enrol', { abstract : true, url : '/enrol', template : '' }).state('app.enrol.guide', { url : '/guide', templateUrl : 'routes/enrol/guide/enrol_guide.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/enrol/guide/enrol_guide.js?v=' + new Date().getTime() ]); } ] } }).state('app.enrol.list', { url : '/list', templateUrl : 'routes/enrol/list/enrol_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/enrol/list/enrol_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.enrol.info', { url : '/info/:enrol_id/:autopay', templateUrl : 'routes/enrol/info/enrol_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/enrol/info/enrol_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.enrol.doc', { url : '/doc/:enrol_id', templateUrl : 'routes/enrol/doc/enrol_doc.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/enrol/doc/enrol_doc.js?v=' + new Date().getTime() ]); } ] } }).state('app.enrol.ems', { url : '/ems/:enrol_id/:autopay', templateUrl : 'routes/enrol/ems/ems_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/enrol/ems/ems_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.appointment', { abstract : true, url : '/appointment', template : '' }).state('app.appointment.list', { url : '/list', templateUrl : 'routes/appointment/list/appointment_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/appointment/list/appointment_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.appointment.info', { url : '/info/:agent_id', templateUrl : 'routes/appointment/info/appointment_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/appointment/info/appointment_info.js?v=' + new Date().getTime() ]); } ] } }) .state('app.ticket', { abstract : true, url : '/ticket', template : '' }).state('app.ticket.list', { url : '/list', templateUrl : 'routes/ticket/list/ticket_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ticket/list/ticket_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.ticket.info', { url : '/info/:ly_ticket_id', templateUrl : 'routes/ticket/info/ticket_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ticket/info/ticket_info.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam', { abstract : true, url : '/exam', template : '' }) .state('app.exam.voide', { url : '/voide/:enrol_id/:read', templateUrl : 'routes/voide/exam/exam.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/voide/exam/exam.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam.result', { url : '/result/:enrol_id', templateUrl : 'routes/voide/result/result.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/voide/result/result.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam.upload', { url : '/upload/:enrol_id', templateUrl : 'routes/voide/upload/upload.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/voide/upload/upload.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam.list', { url : '/list', templateUrl : 'routes/exam/list/list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/exam/list/list.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam.checkin', { url : '/checkin/:agent_id/:aspect_id', templateUrl : 'routes/exam/checkin/checkin.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/exam/checkin/checkin.js?v=' + new Date().getTime() ]); } ] } }) .state('app.judge', { url : '/judge', templateUrl : 'routes/judge/judge.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/judge/judge.js?v=' + new Date().getTime() ]); } ] } }) .state('app.exam.wait', { url : '/wait/:agent_id/:aspect_id', templateUrl : 'routes/exam/wait/wait.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/exam/wait/wait.js?v=' + new Date().getTime() ]); } ] } }) .state('app.ym', { abstract : true, url : '/ym', template : '' }).state('app.ym.addr', { url : '/addr', templateUrl : 'routes/ym/addr/ym_addr.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/addr/ym_addr.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.mobile', { url : '/mobile', templateUrl : 'routes/ym/mobile/ym_mobile.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/mobile/ym_mobile.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.aspect_list', { url : '/aspect_list', templateUrl : 'routes/ym/list/ym_aspect_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/list/ym_aspect_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.std_admis', { url : '/std_admis', templateUrl : 'routes/ym/admis/std_admis.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/admis/std_admis.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.aspect_info', { url : '/aspect_info/:enrol_id', templateUrl : 'routes/ym/info/ym_aspect_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/info/ym_aspect_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.score', { url : '/score/:aspect_name/:batch', templateUrl : 'routes/ym/score/ym_score.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/score/ym_score.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.image', { url : '/image/:aspect_name', templateUrl : 'routes/ym/image/ym_image.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/ym/image/ym_image.js?v=' + new Date().getTime() ]); } ] } }).state('app.ym.batch', { url : '/batch', templateUrl : 'routes/score/ym/score_ym.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/score/ym/score_ym.js?v=' + new Date().getTime() ]); } ] } }) .state('app.reexam', { abstract : true, url : '/reexam', template : '' }).state('app.reexam.list', { url : '/list', templateUrl : 'routes/reexam/list/reexam_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/reexam/list/reexam_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.reexam.info', { url : '/info/:enrol_id', templateUrl : 'routes/reexam/info/reexam_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/reexam/info/reexam_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.wybinding', { url : '/wybinding', templateUrl : 'routes/std/wyBinding/wy_std_binding.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/wyBinding/wy_std_binding.js?v=' + new Date().getTime() ]); } ] } }).state('app.std.notice', { url : '/notice', templateUrl : 'routes/std/notice/std_notice.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/notice/std_notice.js?v=' + new Date().getTime() ]); } ] } }).state('app.reexam.search', { url : '/search', templateUrl : 'routes/reexam/search/search_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/reexam/search/search_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.zxappointment', { abstract : true, url : '/zxappointment', template : '' }).state('app.zxappointment.list', { url : '/list', templateUrl : 'routes/zxappointment/list/zx_appointment_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/zxappointment/list/zx_appointment_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.zxappointment.info', { url : '/info/:enrol_id/:aspect_id', templateUrl : 'routes/zxappointment/info/zx_appointment_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/zxappointment/info/zx_appointment_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.zxnotice', { abstract : true, url : '/zxnotice', template : '' }).state('app.zxnotice.info', { url : '/info/:flag', templateUrl : 'routes/score/notice/notice_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/zxappointment/notice/notice_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.score', { abstract : true, url : '/score', template : '' }).state('app.score.list', { url : '/list', templateUrl : 'routes/score/list/score_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/score/list/score_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.score.info', { url : '/info/:aspect_id', templateUrl : 'routes/score/info/score_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/score/info/score_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.score.xylist', { url : '/xylist', templateUrl : 'routes/score/list/score_list_xy.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/score/list/score_list_xy.js?v=' + new Date().getTime() ]); } ] } }).state('app.cyfz', { abstract : true, url : '/cyfz', template : '' }).state('app.cyfz.lq', { url : '/lq', templateUrl : 'routes/score/cyfz/cyfz_lq_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/score/cyfz/cyfz_lq_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.zxappoint', { abstract : true, url : '/zxappoint', template : '' }).state('app.zxappoint.list', { url : '/list', templateUrl : 'routes/zxappoint/list/zx_appoint_list.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/zxappoint/list/zx_appoint_list.js?v=' + new Date().getTime() ]); } ] } }).state('app.zxappoint.info', { url : '/info/:enrol_id/:aspect_id', templateUrl : 'routes/zxappoint/info/zx_appoint_info.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/zxappoint/info/zx_appoint_info.js?v=' + new Date().getTime() ]); } ] } }).state('app.wish', { abstract : true, url : '/wish', template : '' }).state('app.wish.std', { url : '/std/:aspect_id', templateUrl : 'routes/std/wish/std_wish.html?v=' + new Date().getTime(), resolve : { deps : [ '$ocLazyLoad', function($ocLazyLoad) { return $ocLazyLoad.load(['routes/std/wish/std_wish.js?v=' + new Date().getTime() ]); } ] } }) } ]);