1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683 |
- 'use strict';
- /**
- * Config for the router
- */
- app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvider', '$controllerProvider', '$compileProvider', '$filterProvider', '$provide', '$ocLazyLoadProvider', 'JS_REQUIRES',
- function ($authProvider, $httpProvider, $stateProvider, $urlRouterProvider, $controllerProvider, $compileProvider, $filterProvider, $provide, $ocLazyLoadProvider, jsRequires) {
- $httpProvider.interceptors.push([
- '$injector',
- function ($injector) {
- return {
- request: function (req) {
- $injector.invoke([
- '$http',
- function ($http) {
- // console.log(req);
- }
- ]);
- return req;
- },
- response: function (resp) {
- $injector.invoke([
- '$http','$state',
- function ($http,$state) {}
- ]);
- return resp;
- },
- responseError: function (resp) {
- $injector.invoke([
- '$http',
- '$state',
- function ($http,$state) {
- if(resp.status == 444 && window.location.hash !== '#/login/signin'){
- $state.go('login.signin');
- }
- }
- ]);
- return $injector.get('$q').reject(resp);
- }
- };
- }
- ]);
- //$authProvider,
- app.controller = $controllerProvider.register;
- app.directive = $compileProvider.directive;
- app.filter = $filterProvider.register;
- app.factory = $provide.factory;
- app.service = $provide.service;
- app.constant = $provide.constant;
- app.value = $provide.value;
- $authProvider.configure({
- // apiUrl: 'http://192.168.2.63/service',
- // apiUrl: 'http://localhost/service',//本地
- // apiUrl: 'http://192.168.3.101/service', //101
- apiUrl: 'http://' + location.host + '/service', //139
- // tokenValidationPath: '/auth/validate_token',
- signOutUrl: '/auth/logout2',
- emailSignInPath: '/auth/loginEncrypt',
- // confirmationSuccessUrl: window.location.href,
- // passwordResetPath: '/auth/password',
- // passwordUpdatePath: '/auth/password',
- // passwordResetSuccessUrl: window.location.href,
- storage: 'cookies',
- forceValidateToken: true,
- validateOnPageLoad: true,
- // authProviderPaths: {
- // local: '/auth/login'
- // },
- // tokenFormat: {
- // "access-token": "{{ token }}",
- // // client: "{{ clientId }}",
- // expiry: "{{ expiry }}"
- // // uid: "{{ uid }}"
- // },
- cookieOps: {
- // path: "/",
- expires: 9999,
- expirationUnit: 'seconds',
- // secure: false,
- // domain: 'dashitech.com'
- },
- // handleLoginResponse: function(response, authscope) {
- // var authData = {
- // };
- // // console.log(response);
- // // console.log(authscope);
- // // if(response.sessionId==null){
- // // authData.error = 400;
- // // }else{
- // response.data.user.menu = response.data.menu;
- // authData = {
- // auth_token: 123456,
- // // client_id: 1,
- // expiry: response.data.expiry
- // // uid: response.data.user.id
- // };
- // angular.extend(authData,response.data.user);
- // return authData;
- // // }
- // // return authData;
- // },
- parseExpiry: function (headers) {
- // convert from UTC ruby (seconds) to UTC js (milliseconds)
- return 1e3 * parseInt(headers['expiry'], 10) || null
- },
- handleLoginResponse: function (response, authscope) {
- // console.log(response);
- var authData = {
- };
- var heads = authscope.retrieveData("auth_headers")
- if (response.state == "201") {
- if (!response.data.user) {
- response.data.user = {};
- }
- response.data.user.menu = response.data.menu;
- // authData = {
- // auth_token: heads['access-token'],
- // expiry: heads['expiry']
- // };
- // if (response.data.user.loginExtension) {
- // $rootScope.start(response.data.user.loginExtension);
- // }
- angular.extend(authData, response.data.user);
- // return authData;
- } else if (response.state == "200") {
- if (!response.data.user) {
- response.data.user = {};
- }
- response.data.user.menu = response.data.menu;
- // authData = {
- // auth_token: heads['access-token'],
- // expiry: heads['expiry']
- // };
- angular.extend(authData, response.data.user);
- // return authData;
- } else if (response.state == "500") {
- authData.error = 500;
- } else {
- authData.error = 400;
- }
- // }
- return authData;
- },
- handleAccountUpdateResponse: function (response) {
- return response;
- },
- handleTokenValidationResponse: function (response) {
- var authData = {
- };
- if (response.state == 200) {
- if (!response.data.user) {
- response.data.user = {};
- }
- response.data.user['menu'] = response.data.menu;
- // if (response.data.user.loginExtension) {
- // $rootScope.start(response.data.loginExtension);
- // }
- // sessionStorage.userdata = JSON.stringify(response.data.user);
- angular.extend(authData, response.data.user);
- } else {
- authData.error = 501;
- }
- return authData;
- }
- });
- // LAZY MODULES
- $ocLazyLoadProvider.config({
- debug: false,
- events: true,
- modules: jsRequires.modules
- });
- // APPLICATION ROUTES
- // -----------------------------------
- // if (!$httpProvider.defaults.headers.get) {
- // $httpProvider.defaults.headers.get = {};
- // }
- // $httpProvider.defaults.headers.common["X-Requested-with"] = 'XMLHttpRequest';
- // $httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
- // $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
- // For any unmatched url, redirect to /app/dashboard
- // $urlRouterProvider.otherwise("/app/knowledge/forum");
- $urlRouterProvider.otherwise("/login/signin");
- //
- // Set up the states
- $stateProvider.state('app', {
- url: "/app",
- templateUrl: "assets/views/app.html",
- resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'ladda', 'angular-ladda', 'chatCtrl'),
- abstract: true
- // }).state('app.dashboard', {
- // url: "/dashboard{userinform}",
- // templateUrl: "assets/views/dashboard/newdash.html",
- // resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'ngTable', 'ckeditor', 'jquery-sparkline', 'sortable', 'ui.mask', 'api-check', 'formly', 'moment', 'mwl.calendar', 'angularFormly', 'customformCtrl', 'newdashCtrl'),
- // title: 'dashboard.MAIN',
- // ncyBreadcrumb: {
- // label: 'Dashboard'
- // }
- }).state('app.dashboard', {
- url: "/dashboard{userinform}",
- templateUrl: "assets/views/dashboard/newdash.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'ngTable', 'ckeditor', 'jquery-sparkline', 'sortable', 'ui.mask', 'api-check', 'formly', 'moment', 'mwl.calendar', 'calendarCtrl', 'angularFormly', 'customformCtrl', 'newdashCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- })
- .state('app.newOrder', {
- url: "/newOrder",
- templateUrl: "assets/views/newOrder.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'newOrderCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- })
- .state('app.D3new', {
- url: "/D3new",
- templateUrl: "assets/views/means/D3new.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'D3a', 'D3new'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- })
- .state('childpape', {
- url: '/childpape/{starttime}/{endtime}/{model}',
- templateUrl: "assets/views/report/childpape.html",
- resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'ui.grid', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'childpapeCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- })
- .state('cmdbmap', {
- url: "/cmdbmap",
- templateUrl: "assets/views/means/D3two.html",
- resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'ui.grid', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'D3a', 'D3new'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- }).state('cmdbcontrast', {
- url: '/cmdbcontrast/{model}',
- templateUrl: "assets/views/means/cmdbcontrast.html",
- resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'Timeline', 'cmdbcontrastCtrl'),
- title: 'means.LIST',
- pdKey: 'applicationForm',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- }).state('dashlefttop', {
- url: "/dashlefttop",
- templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-lefttop.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'largedashboardCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- })
- .state('dashleftbottom', {
- url: "/dashleftbottom",
- templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-leftbottom.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.mask', 'largedashboardCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- }).state('dashrighttop', {
- url: "/dashrighttop",
- templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-righttop.html",
- resolve: loadSequence('jquery-sparkline', 'moment', 'ladda', 'charts', 'nodatachart', 'chartthree', 'largedashboardCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- }).state('dashrightbottom', {
- url: "/dashrightbottom",
- templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-rightbottom.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'moment', 'ladda', 'charts', 'chartthree', 'largedashboardCtrl'),
- title: 'dashboard.MAIN',
- ncyBreadcrumb: {
- label: 'Dashboard'
- }
- }).state('app.desk', {
- url: '/desk',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'desk',
- // pdKey: 'bpm_incident',
- ncyBreadcrumb: {
- label: 'desk'
- }
- // 告警转事件列表
- }).state('app.desk.jry_emergency', {
- url: '/jry_emergency',
- templateUrl: "assets/views/desk/jry_emergency.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'jry_emergencyCtrl'),
- title: 'chart.LIST',
- // pdKey: 'bpm_incident',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'chart'
- }
- }).state('app.desk.chart', {
- url: '/chart/:tab',
- templateUrl: "assets/views/desk/chart.html",
- resolve: loadSequence('jquery-sparkline', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'chartCtrl'),
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'mwl.calendar', 'ui.grid', 'chartCtrl'),
- title: 'chart.LIST',
- // pdKey: 'bpm_incident',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'chart'
- }
- }).state('app.desk.record', {
- url: '/record',
- templateUrl: "assets/views/desk/record.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'recordCtrl'),
- title: 'record.LIST',
- // pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new watch'
- }
- }).state('app.desk.calllog', {
- url: '/calllog',
- templateUrl: "assets/views/desk/calllog.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'calllogCtrl'),
- title: 'record.LIST',
- // pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new watch'
- }
- }).state('app.desk.detail', {
- url: '/detail/{model}',
- templateUrl: "assets/views/desk/jry_wxDetail.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_wxDetailCtrl'),
- title: 'record.LIST',
- // pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new watch'
- }
- }).state('app.desk.form_editor', {
- url: '/form_editor/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/detail.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'chartCtrl', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.file', {
- url: '/file',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'file',
- pdKey: 'bpm_file',
- ncyBreadcrumb: {
- label: 'File'
- }
- // 文档管理
- }).state('app.file.manage', {
- url: '/list',
- templateUrl: "assets/views/file/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_fileCtrl'),
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'angularBootstrapNavTree', 'jry_fileCtrl'),
- title: 'incident.LIST',
- pdKey: 'bpm_file',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'file list'
- }
- // 索引管理
- }).state('app.file.indexes', {
- url: '/indexes',
- templateUrl: "assets/views/file/indexes.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_indexesCtrl'),
- title: 'incident.LIST',
- pdKey: 'bpm_file',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'file list'
- }
- // 引入文件
- }).state('app.file.open_indexes', {
- url: '/indexes/{fileMessage}',
- templateUrl: "assets/views/file/open_indexes.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_open_indexesCtrl'),
- title: 'incident.LIST',
- pdKey: 'bpm_file',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'file list'
- }
- //任务管理--jry
- }).state('app.task', {
- url: '/task',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'task',
- pdKey: 'bpm_task',
- ncyBreadcrumb: {
- label: 'Task'
- }
- // 新建任务
- }).state('app.task.newTask', {
- url: '/newTask',
- templateUrl: "assets/views/task/taskForm.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'taskFormCtr'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- //上下班管理
- }).state('app.working', {
- url: '/working',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'working',
- pdKey: 'bpm_working',
- ncyBreadcrumb: {
- label: 'working'
- }
- // 上下班管理
- }).state('app.working.manage', {
- url: '/manage',
- templateUrl: "assets/views/working/manage.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'angularTree', 'customformCtrl', 'workingFormCtr'),
- title: 'working.manage',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'working.manage'
- }
- //任务表单
- }).state('app.task.editTask', {
- url: '/editTask/{formKey}/{model}',
- templateUrl: "assets/views/task/taskForm.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'ui.select', 'angularBootstrapNavTree', 'customformCtrl', 'taskFormCtr'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- // 任务清单
- }).state('app.task.taskDetailed', {
- url: '/detailed',
- templateUrl: "assets/views/task/taskDetailed.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'taskDetailedCtr'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- // 月度任务
- }).state('app.task.moonTask', {
- url: '/moonTask',
- templateUrl: "assets/views/task/moonTask.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'moment', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'ui.select', 'angularBootstrapNavTree', 'moonTaskCtrl'),
- title: 'knowledge.List',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'list knowledge'
- }
- // 任务列表
- }).state('app.task.taskList', {
- url: '/taskList',
- templateUrl: "assets/views/task/taskList.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'moment', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'ui.select', 'angularBootstrapNavTree', 'taskListCtrl'),
- title: 'knowledge.List',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'list knowledge'
- }
- }).state('app.incident', {
- url: '/incident',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'incident',
- pdKey: 'bpm_incident',
- ncyBreadcrumb: {
- label: 'Incident'
- }
- }).state('app.incident.list', {
- url: '/list/{model}/:tab/:state/:date',
- templateUrl: "assets/views/incident/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'incidentCtrl'),
- title: 'incident.LIST',
- pdKey: 'bpm_incident',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'incident list'
- }
- }).state('app.working.history', {
- url: '/history/:tab/:state',
- templateUrl: "assets/views/working/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'workingHistoryFormCtr'),
- title: 'incident.LIST',
- pdKey: 'bpm_incident',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'incident list'
- }
- }).state('app.incident.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{dataId}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'ladda', 'angular-ladda', 'jquery-sparkline', 'ngTable', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'incident.NEW',
- pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new incident'
- }
- }).state('app.incident.watch', {
- url: '/watch/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'incident.NEW',
- pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new incident'
- }
- }).state('app.incident.detail', {
- url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId/:isChart/:isRecord',
- templateUrl: "assets/views/customform/detail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl', 'sanitize'),
- title: 'form detail',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'detail'
- }
- }).state('app.incident.follow', {
- url: '/follow/{processInstanceId}',
- templateUrl: "assets/views/customform/indexfollow.html",
- resolve: loadSequence('jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'incidentCtrl'),
- // title: 'incident.LIST',
- pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new incident'
- }
- }).state('app.incident.title', {
- url: '/editor/{model}/{myData}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'incident.NEW',
- pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new incident'
- }
- })
- .state('app.incident.chart', {
- url: '/chart/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'ngTable', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'incident.NEW',
- pdKey: 'bpm_incident',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new incident'
- }
- })
- //服务请求页面路由
- .state('app.reService', {
- url: '/reService',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'reService',
- pdKey: 'bpm_reService',
- ncyBreadcrumb: {
- label: 'reService'
- }
- })
- //服务请求>服务列表
- .state('app.reService.manager', {
- url: '/manager',
- templateUrl: "assets/views/reService/manager.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'reServiceCtrl'),
- title: 'reService.VIEW',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'reService list'
- }
- })
- //服务请求>新建服务事件
- .state('app.reService.newService', {
- url: '/newService/{pdKey}/{formUiStart}/{formUiEdit}/{formUiName}/{userId}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'reService.NEW',
- // pdKey: 'bpm_reService',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new reService'
- }
- })
- //服务请求>服务请求编辑
- .state('app.reService.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{pdKey}/{formUiEdit}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'reService.NEW',
- pdKey: 'bpm_reService',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new reService'
- }
- })
- //服务请求>服务请求查看
- .state('app.reService.detail', {
- url: '/detail/{formKey}/{dataId}/{taskId}/{processInstanceId}/{pdKey}',
- templateUrl: "assets/views/customform/detail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
- title: 'form detail',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'detail'
- }
- })
- .state('app.watch', {
- url: '/watch',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'watch',
- pdKey: 'bpm_watch',
- ncyBreadcrumb: {
- label: 'watch'
- }
- }).state('app.watch.list', {
- url: '/list',
- templateUrl: "assets/views/watch/watch.html",
- resolve: loadSequence('jquery-sparkline', 'ui.grid', 'watchCtrl'),
- title: 'watch.LIST',
- pdKey: 'bpm_watch',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'watch list'
- }
- })
- .state('app.problem', {
- url: '/problem',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'problem',
- pdKey: 'bpm_problem',
- ncyBreadcrumb: {
- label: 'Problem'
- }
- }).state('app.problem.list', {
- url: '/list',
- templateUrl: "assets/views/problem/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'problemCtrl'),
- title: 'problem.LIST',
- pdKey: 'bpm_problem',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'problem list'
- }
- }).state('app.problem.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{dataId}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'problem.NEW',
- pdKey: 'bpm_problem',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new problem'
- }
- }).state('app.problem.incident', {
- url: '/incident/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'problem.NEW',
- pdKey: 'bpm_problem',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new problem'
- }
- }).state('app.change.problem', {
- url: '/change/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'change.NEW',
- pdKey: 'bpm_change',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new change'
- }
- })
- .state('app.change', {
- url: '/change',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'change',
- pdKey: 'bpm_change',
- ncyBreadcrumb: {
- label: 'Change'
- }
- }).state('app.change.list', {
- url: '/list',
- templateUrl: "assets/views/change/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'changeCtrl'),
- title: 'change.LIST',
- pdKey: 'bpm_change',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'rfc list'
- } //incident
- }).state('app.change.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{dataId}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'change.NEW',
- pdKey: 'bpm_change',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new rfc'
- }
- }).state('app.change.incident', {
- url: '/incident/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'change.NEW',
- pdKey: 'bpm_change',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new rfc'
- }
- })
- .state('app.change.release', {
- url: '/release/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'change.NEW',
- pdKey: 'bpm_release',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new rfc'
- }
- }).state('app.report', {
- url: '/report',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Report Elements',
- ncyBreadcrumb: {
- label: 'Report Elements'
- }
- }).state('app.report.view', {
- url: '/elements',
- templateUrl: "assets/views/report/report.html",
- resolve: loadSequence('jquery-sparkline', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.charging', {
- url: '/charging',
- templateUrl: "assets/views/report/charging.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'chargingCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.realTime', {
- url: '/realTime',
- templateUrl: "assets/views/report/realTime.html",
- resolve: loadSequence('jquery-sparkline', 'ui.grid', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'spin', 'ladda', 'angular-ladda', 'moment', 'realTimeCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.analysis', {
- url: '/analysis',
- templateUrl: "assets/views/report/analysis.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportanalysisCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.handlepeople', {
- url: '/handlepeople',
- templateUrl: "assets/views/report/handlepeople.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reporthandlepeopleCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.handlegroup', {
- url: '/handlegroup',
- templateUrl: "assets/views/report/handlegroup.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reporthandlegroupCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.suorce', {
- url: '/suorce',
- templateUrl: "assets/views/report/suorce.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportsuorceCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.catergry', {
- url: '/catergry',
- templateUrl: "assets/views/report/catergry.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportcatergryCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.efficiency', {
- url: '/efficiency',
- templateUrl: "assets/views/report/efficiency.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportefficiencyCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.nxreport', {
- url: '/nxreport',
- templateUrl: "assets/views/report/nxreport.html",
- // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.deck_report', {
- url: '/deck_report',
- templateUrl: "assets/views/report/deck_report.html",
- // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'deck_reportCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.incident_report', {
- url: '/incident_report',
- templateUrl: "assets/views/report/incident_report.html",
- // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'spin', 'ladda', 'angular-ladda', 'moment', 'incident_reportCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.service_form', {//服务台报表-seimin
- url: '/service_form',
- templateUrl: "assets/views/report/service_form.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'service_formCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.report.event_form', {//事件报表-seimin
- url: '/event_form',
- templateUrl: "assets/views/report/event_form.html",
- resolve: loadSequence('jquery-sparkline', 'ui.grid', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'spin', 'ladda', 'angular-ladda', 'moment', 'event_formCtrl'),
- title: 'report.LISTDesc',
- ncyBreadcrumb: {
- label: 'Report View'
- }
- }).state('app.release', {
- url: '/release',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'release',
- pdKey: 'bpm_release',
- ncyBreadcrumb: {
- label: 'release'
- }
- }).state('app.release.list', {
- url: '/list',
- templateUrl: "assets/views/release/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'releaseCtrl'),
- title: 'release.LIST',
- pdKey: 'bpm_release',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'release list'
- }
- }).state('app.release.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{dataId}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'release.NEW',
- pdKey: 'bpm_release',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new release'
- }
- })
- .state('app.process', {
- url: '/process',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process',
- ncyBreadcrumb: {
- label: 'Process'
- }
- }).state('app.process.list', {
- url: '/list',
- templateUrl: "assets/views/process/list.html",
- title: 'process.LIST',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'processCtrl'),
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'Process list'
- }
- }).state('app.process.modeler', {
- url: '/modeler/{modelId}',
- templateUrl: "assets/views/process/modeler.html",
- resolve: loadSequence('jquery-sparkline', 'bpmn-js-properties', 'processCtrl'),
- title: 'process.MODELER',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'modeler'
- }
- })
- .state('app.cmdb', {
- url: '/cmdb',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'CMDB',
- ncyBreadcrumb: {
- label: 'CMDB'
- }
- }).state('app.cmdb.plist', {
- url: '/plist',
- templateUrl: "assets/views/cmdb/plist.html",
- title: 'configuremanagerdb.PLIST',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'cmdbCtrl'),
- pdKey: 'bpm_configure',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'cmdbList'
- }
- }).state('app.cmdb.modeler', {
- url: '/editor/{taskId}/{processInstanceId}',
- templateUrl: "assets/views/customform/index.html",
- title: 'configuremanagerdb.MODELER',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- pdKey: 'bpm_configure',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'modeler'
- }
- })
- .state('app.cmdb.list', {
- url: '/list',
- templateUrl: "assets/views/cmdb/list.html",
- title: 'configuremanagerdb.LIST',
- resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'ui.grid', 'customformCtrl', 'cmdbListCtrl'),
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'cmdbList'
- }
- }).state('app.cmdb.viewer', {
- url: '/view/{modelId}',
- templateUrl: "assets/views/cmdb/view.html",
- resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'd3', 'cmdbViewCtrl'),
- title: 'configuremanagerdb.VIEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'cmdb viewer'
- }
- }).state('app.cmdb.change', {
- url: '/change/{model}',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'configuremanagerdb.MODELER',
- pdKey: 'bpm_configure',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new rfc'
- }
- })
- .state('app.knowledge', {
- url: '/knowledge',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'knowledge',
- ncyBreadcrumb: {
- label: 'knowledge'
- }
- }).state('app.knowledge.manager', {
- url: '/manager/{model}',
- templateUrl: "assets/views/knowledge/manager.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'ui.grid', 'knowledgeCtrl'),
- title: 'knowledgebase.VIEW',
- // params: { "fromstate": null },
- cache: false,
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'knowledge list'
- }
- }).state('app.knowledge.examine', {
- url: '/examine',
- templateUrl: "assets/views/knowledge/examine.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'knowledgeExamineCtrl'),
- title: 'knowledgebase.VIEW',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'knowledge list'
- }
- }).state('app.knowledge.create', {
- url: '/create/{formKey}/{service}/{model}',
- templateUrl: "assets/views/knowledgeform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- }).state('app.knowledge.leve', {
- url: '/create/{formKey}/{service}/{model}/{history}',
- templateUrl: "assets/views/knowledgeform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- }).state('app.knowledge.jry_lishi', {
- url: '/jry_lishi/{formKey}/{service}/{model}/{history}',
- templateUrl: "assets/views/knowledgelishi.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- // pdKey: 'knowledge',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- }).state('app.knowledge.jry_save_history_data', {
- url: '/jry_save_history_data/{model}',
- templateUrl: "assets/views/jry_save_history_data.html",
- resolve: loadSequence('jquery-sparkline', 'jry_save_history_dataCtrl'),
- }).state('app.knowledge.editor', {
- url: '/editor/{formKey}/{service}/{model}/{history}',
- templateUrl: "assets/views/knowledgeform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- params: {
- "fromstate": null
- },
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- }).state('app.knowledge.jry_shenhe', {
- url: '/jry_shenhe/{formKey}/{service}/{model}/{history}',
- templateUrl: "assets/views/knowledgeshenhe.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- icon: 'fa-tint',
- params: {
- "fromstate": null
- },
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- }).state('app.knowledge.detail', {
- url: '/detail/{formKey}/{service}/{model}/{history}',
- templateUrl: "assets/views/knowledgedetail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
- title: 'knowledge.NEW',
- // pdKey: 'knowledge',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new knowledge'
- }
- })
- .state('app.scheduling', {
- url: '/scheduling',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'scheduling',
- pdKey: 'bpm_scheduling',
- ncyBreadcrumb: {
- label: 'knowledge'
- }
- }).state('app.scheduling.myscheduling', {
- url: '/myscheduling',
- templateUrl: "assets/views/scheduling/mine.html",
- resolve: loadSequence('moment', 'mwl.calendar', 'ui.select', 'calendarCtrl', 'schedulingCtrl'),
- title: 'scheduling.MINE',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling'
- }
- })
- .state('app.scheduling.schedulecalendar', {
- url: '/schedule',
- templateUrl: "assets/views/scheduling/calendar.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'mwl.calendar', 'ui.select', 'calendarCtrl', 'angularFileUpload', 'schedulingCtrl'),
- title: 'scheduling.CALENDAR',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling'
- }
- })
- // .state('app.scheduling.schedulecalendar',{
- // url: '/schedule',
- // templateUrl: "assets/views/scheduling/matrialcalendar.html",
- // resolve: loadSequence('jquery-sparkline', 'spin','ladda', 'angular-ladda','moment', 'material-calendar', 'ui.select', 'schedulingCtrl'),
- // title: 'scheduling.CALENDAR',
- // icon: 'fa-tint',
- // ncyBreadcrumb: {
- // label: 'scheduling'
- // }
- // })
- .state('app.scheduling.list', {
- url: '/list',
- templateUrl: "assets/views/scheduling/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'schedulingCtrl'),
- title: 'scheduling.LIST',
- pdKey: 'bpm_schedule',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling'
- }
- }).state('app.scheduling.editor', {
- url: '/editor/{taskId}/{processInstanceId}/{id}',
- templateUrl: "assets/views/customform/index.html",
- title: 'scheduling.MODELER',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'schedulingCtrl', 'customformCtrl'),
- pdKey: 'bpm_schedule',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'modeler'
- }
- }).state('app.scheduling.shift', {
- url: '/shift',
- templateUrl: "assets/views/scheduling/shift.html",
- resolve: loadSequence('jquery-sparkline', 'schedulingCtrl'),
- title: 'scheduling.SHIFT',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling shift'
- }
- }).state('app.scheduling.shiftrecord', {
- url: '/shiftrecord',
- templateUrl: "assets/views/scheduling/shiftrecord.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'schedulingCtrl'),
- title: 'scheduling.SHIFTRECORD',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling record'
- }
- }).state('app.means', {
- url: '/means',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'means',
- // pdKey: 'bpm_means',
- ncyBreadcrumb: {
- label: 'means'
- }
- }).state('app.means.list', {
- url: '/list',
- templateUrl: "assets/views/means/means.html",
- resolve: loadSequence('jquery-nestable-plugin', 'xeditable', 'checklist-model', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'angularPrint', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'qrcideCtrl', 'meansCtrl'),
- title: 'means.LIST',
- // pdKey: 'bpm_means',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- }).state('app.means.applylist', {
- url: '/applylist',
- templateUrl: "assets/views/means/meansapplylist.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'meansapplyListCtrl'),
- title: 'means.LIST',
- pdKey: 'applicationForm',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- }).state('app.means.applyediter', {
- url: '/applyediter/{taskId}/{processInstanceId}/{id}',
- templateUrl: "assets/views/means/cmdbform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'multi.select.tree', 'moment', 'customformCtrl', 'ui.select', 'angularBootstrapNavTree', 'touchspin-plugin', 'angularTree', 'ngTable', 'customformCtrl', 'cmdbformCtrl'),
- title: 'means.NEW',
- pdKey: 'bpm_applicationForm',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.outediter', {
- url: '/outediter/{taskId}/{processInstanceId}/{id}',
- templateUrl: "assets/views/means/cmdbform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'ngTable', 'customformCtrl', 'cmdbformCtrl'),
- title: 'means.NEW',
- pdKey: 'bpm_applicationForm_subtract',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.meansmap', {
- url: '/meansmap',
- templateUrl: "assets/views/means/meansMap.html",
- resolve: loadSequence('jquery-sparkline', 'echarttwo', 'ngTable', 'ui.select', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'd3', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'customformCtrl', 'meansformCtrl', 'meanshistoryCtrl', 'meansMapCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_applicationForm_subtract',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.auditlist', {
- url: '/auditlist',
- templateUrl: "assets/views/means/cmdbauditlist.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditlistCtrl'),
- title: 'means.LIST',
- pdKey: 'applicationForm',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- }).state('app.means.newaudit', {
- url: '/newaudit',
- templateUrl: "assets/views/means/cmdbauditdetail.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditdetailCtrl'),
- title: 'means.LIST',
- pdKey: 'applicationForm',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- }).state('app.means.auditeditor', {
- url: '/auditeditor/{model}',
- templateUrl: "assets/views/means/cmdbauditeditor.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditeditorCtrl'),
- title: 'means.LIST',
- pdKey: 'applicationForm',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'means list'
- }
- // })
- // .state('cmdbcontrast', {
- // url: '/cmdbcontrast/{model}',
- // templateUrl: "assets/views/means/cmdbcontrast.html",
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'Timeline', 'cmdbcontrastCtrl'),
- // title: 'means.LIST',
- // pdKey: 'applicationForm',
- // icon: 'ti-list',
- // ncyBreadcrumb: {
- // label: 'means list'
- // }
- }).state('app.means.bill', {
- url: '/bill/{formKey}/{service}/{model}',
- templateUrl: "assets/views/means/meansBill.html",
- resolve: loadSequence('jquery-sparkline', 'ngTable', 'ui.select', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'd3', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'customformCtrl', 'meansviewCtrl', 'meansformCtrl', 'meanshistoryCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_means',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.view', {
- url: '/bill/{formKey}/{service}/{model}',
- templateUrl: "assets/views/means/meansview.html",
- resolve: loadSequence('jquery-sparkline', 'ngTable', 'ui.select', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'd3', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'customformCtrl', 'meansviewCtrl', 'meansformCtrl', 'meanshistoryCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_means',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.editor', {
- url: '/editor/{formKey}/{service}',
- templateUrl: "assets/views/means/tpl/meansform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'customformCtrl', 'meansformCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_means',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }).state('app.means.detail', {
- // url: '/detail/{formKey}/{service}',
- url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId/:id',
- templateUrl: "assets/views/means/tpl/meansdetailform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'ngTable', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'customformCtrl', 'meansdetailCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_means',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- }) // 固定资产列表
- .state('app.means.listd', {
- url: '/fixed_list',
- templateUrl: "assets/views/fixed/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'fixedCtrl'),
- })
- // 固定查看
- .state('app.means.fixed_see', {
- url: '/fixed_see/{gdzc_label}/{gdzc_item}/{idd}',
- templateUrl: "assets/views/fixed/see.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_seeCtrl'),
- })
- // 固定资产属性
- .state('app.means.fixed_see.attribute', {
- url: '/attribute/{gdzc_label1}/{gdzc_item1}',
- templateUrl: "assets/views/fixed/attribute.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_attributeCtrl'),
- })
- // 固定操作历史
- .state('app.means.fixed_see.history', {
- url: '/history/{idd}',
- templateUrl: "assets/views/fixed/history.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_historyCtrl'),
- })
- // 固定关联流程
- .state('app.means.fixed_see.relation', {
- url: '/relation/{idd}',
- templateUrl: "assets/views/fixed/relation.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_relationCtrl'),
- })
- // 固定编辑
- .state('app.means.fixed_edit', {
- url: '/fixed_edit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/fixed/gdzc_edit.html",
- resolve: loadSequence('jquery-sparkline', 'ngTable', 'ui.select', 'api-check', 'formly', 'angularFormly', 'ui.grid', 'd3', 'angularBootstrapNavTree', 'angularFileUpload', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'customformCtrl', 'meansviewCtrl', 'gdzc_meansformCtrl', 'meanshistoryCtrl'),
- title: 'means.NEW',
- // pdKey: 'bpm_means',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'new means'
- }
- })
- // 业务系统列表
- .state('app.means.business_list', {
- url: '/business_list',
- templateUrl: "assets/views/business/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'businessCtrl'),
- })
- // 耗材列表
- .state('app.means.consumables_list', {
- url: '/consumables_list',
- templateUrl: "assets/views/consumables/list.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_consumablesCtrl'),
- })
- // 耗材查看
- .state('app.means.consumables_see', {
- url: '/consumables_see/{idd}',
- templateUrl: "assets/views/consumables/see.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_seeCtrl'),
- })
- // 耗材操作历史
- .state('app.means.consumables_see.operation_history', {
- url: '/operation_history/{idd}',
- templateUrl: "assets/views/consumables/operation_history.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_historyCtrl'),
- }) // 耗材关联流程
- // 耗材关联流程
- .state('app.means.consumables_see.relation', {
- url: '/relation/{idd}',
- templateUrl: "assets/views/consumables/relation.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_relationCtrl'),
- }).state('app.inspection', {
- url: '/inspection',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'inspection',
- // pdKey: 'bpm_means',
- ncyBreadcrumb: {
- label: 'inspection'
- }
- })
- //计划任务
- .state('app.plan', {
- url: '/plan',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'plan Elements',
- ncyBreadcrumb: {
- label: 'plan Elements'
- }
- })
- //计划任务>定时报告
- .state('app.plan.timingMessageSending', {
- url: '/timingMessageSending',
- templateUrl: "assets/views/plan/timingMessageSending.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'timingMessageSendingCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //巡检管理>巡检计划
- .state('app.inspection.inspectPlan', {
- url: '/inspectPlan',
- templateUrl: "assets/views/inspect/inspectPlan.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectPlanCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //管理事件>维修汇总单
- .state('app.incident.summary', {
- url: '/summary',
- templateUrl: "assets/views/inspect/summary.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'summaryCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //管理事件>维修汇总单
- .state('app.incident.summaryDetail', {
- url: '/summaryDetail/{id}/{incidentId}',
- templateUrl: "assets/views/inspect/summaryDetail.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'summaryDetailCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //管理事件>积分管理
- .state('app.incident.integral', {
- url: '/integral',
- templateUrl: "assets/views/inspect/integral.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'integralCtrl'),
- title: 'integral.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'integral list'
- }
- })
- //巡检管理>巡检报告
- .state('app.inspection.inspectReport', {
- url: '/inspectReport',
- templateUrl: "assets/views/inspect/inspectReport.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectReportCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //巡检管理>巡检列表
- .state('app.inspection.inspectList', {
- url: '/inspectList',
- templateUrl: "assets/views/inspect/inspectList.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectListCtrl'),
- title: 'inspection.LIST',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'inspection list'
- }
- })
- //巡检管理>巡检计划编辑
- .state('app.inspection.editor', {
- url: '/editor/{formKey}/{service}/{model}/{labelTree}',
- templateUrl: "assets/views/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'multi.select.tree', 'moment', 'customformCtrl', 'inspectForm'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- })
- //巡检管理>巡检计划查看
- .state('app.inspection.form', {
- url: '/form/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/detail.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'ui.grid', 'formly', 'angularFormly', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'inspectForm'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- })
- //巡检列表>巡检列表编辑
- .state('app.inspection.inspectListEditor', {
- url: '/inspectListEditor/{pdKey}/{taskId}/{processInstanceId}/{formUiEdit}/{model}/{dataId}',
- // url: '/editor',
- templateUrl: "assets/views/customform/index.html",
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'monospaced.elastic', 'touchspin-plugin', 'ckeditor-plugin', 'ckeditor', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
- title: 'form editor',
- // pdKey: 'inspectionListForm',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'editor'
- }
- })
- //巡检列表>巡检列表查看
- .state('app.inspection.inspectListdetail', {
- url: '/inspectListdetail/{pdKey}/{taskId}/{processInstanceId}/{formKey}/{model}/{dataId}',
- // url: '/inspectListdetail/:formUiName/:taskId/:processInstanceId',
- templateUrl: "assets/views/customform/detail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
- title: 'form detail',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'detail'
- }
- })
- //系统列表
- .state('app.system', {
- url: '/system',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- //故障现象设置--jry
- }).state('app.system.jry_incidentSet', {
- url: '/jry_incidentSet',
- templateUrl: "assets/views/system/jry_incidentSet.html",
- // resolve: loadSequence( 'jquery-sparkline', 'spin', 'ladda', 'angular-ladda','ui.select', 'multi.select.tree', 'angularBootstrapNavTree','jry_incidentSetCt'),
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_incidentSetCt'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- // title: 'incident.LIST',
- // pdKey: 'bpm_incident',
- // icon: 'ti-list',
- // ncyBreadcrumb: {
- // label: 'incident list'
- // }
- }).state('app.system.easyform', {
- url: '/easyform',
- templateUrl: "assets/views/system/easyform/easyform.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'nya-bs-select', 'mwl.calendar', 'customformCtrl', 'easyformCtrl'),
- title: 'easy form',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'easyform'
- }
- }).state('app.system.pzxgl', {
- url: '/pzxgl',
- templateUrl: "assets/views/system/pzxgl_wt.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'nya-bs-select', 'mwl.calendar', 'ngDraggable', 'pzxgl_wt'),
- title: 'pzxgl',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'pzxgl'
- }
- }).state('app.system.qxgl', {
- url: '/qxgl',
- templateUrl: "assets/views/system/qxgl_wt.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'nya-bs-select', 'mwl.calendar', 'ngDraggable', 'angularTree', 'qxgl_wt'),
- title: 'pzxgl',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'qxgl'
- }
- // 服务指南
- }).state('app.system.information', {
- url: '/information',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process Plan',
- ncyBreadcrumb: {
- label: 'Process Plan'
- }
- // 服务指南分类
- }).state('app.system.information.category', {
- url: '/category',
- templateUrl: "assets/views/system/informationCate.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'informationCateCtrl'),
- title: 'knowledge.VIEW',
- ncyBreadcrumb: {
- label: 'knowledge list'
- }
- }).state('app.system.information.list', {
- url: '/list',
- templateUrl: "assets/views/system/information.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'informationCtrl'),
- title: 'information',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'information'
- }
- // 流程节点
- }).state('app.system.processNode', {
- url: '/processNode',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'processNode Plan',
- ncyBreadcrumb: {
- label: 'processNode Plan'
- }
- }).state('app.system.processNode.list', {
- url: '/list',
- templateUrl: "assets/views/system/processNode.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'processNodeCtrl'),
- title: 'processNode',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'processNode'
- }
- }).state('app.system.notification', {//消息通知管理
- url: '/notification',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'notification Plan',
- ncyBreadcrumb: {
- label: 'notification Plan'
- }
- }).state('app.system.notification.list', {
- url: '/list',
- templateUrl: "assets/views/system/notification.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'notificationCtrl'),
- title: 'notification',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'notification'
- }
- }).state('app.system.organization', {
- url: '/organization',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- }).state('app.baseInfo.place', {
- url: '/place',
- templateUrl: "assets/views/system/organization/place.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'placeCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- // 查号管理
- }).state('app.system.phoneList', {
- url: '/phoneList',
- templateUrl: "assets/views/system/phoneList.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'phoneListCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- // 耗材分类维护
- }).state('app.system.organization.hc_flwh', {
- url: '/hc_flwh',
- templateUrl: "assets/views/system/organization/hc_flwh.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'hc_flwhCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- //管理单位维护
- }).state('app.system.organization.ywxt_gldw', {
- url: '/ywxt_gldw',
- templateUrl: "assets/views/system/organization/ywxt_gldw.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'ywxt_gldwCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.organization.worktime', {
- url: '/worktime',
- templateUrl: "assets/views/system/organization/worktime.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ui.select', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'worktimeCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.baseInfo.dept', {
- url: '/dept',
- templateUrl: "assets/views/system/organization/dept.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'deptCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.businessConfiguration.responsibilityDept', {
- url: '/responsibilityDept',
- templateUrl: "assets/views/system/organization/responsibilityDept.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'responsibilityDeptCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.businessConfiguration', {
- url: '/businessConfiguration',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- }).state('app.businessConfiguration.commonFaultSymptoms', {
- url: '/commonFaultSymptoms',
- templateUrl: "assets/views/businessConfiguration/commonFaultSymptoms.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'commonFaultSymptomsCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.businessConfiguration.faultSymptoms', {
- url: '/faultSymptoms',
- templateUrl: "assets/views/businessConfiguration/faultSymptoms.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'faultSymptomsCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.businessConfiguration.workHourManagement', {
- url: '/workHourManagement',
- templateUrl: "assets/views/businessConfiguration/workHourManagement.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'workHourManagementCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.businessConfiguration.deptBindUser', {
- url: '/deptBindUser',
- templateUrl: "assets/views/businessConfiguration/deptBindUser.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'deptBindUserCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.baseInfo', {
- url: '/baseInfo',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- }).state('app.baseInfo.hospital', {
- url: '/hospital',
- templateUrl: "assets/views/system/hospital.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'hospitalCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.organization.serverslevel', {
- url: '/serverslevel',
- templateUrl: "assets/views/system/organization/serverslevel.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'serverslevelCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.userdesign', {
- url: '/userdesign',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- }).state('app.system.userdesign.schedulecalendar', {
- url: '/schedule',
- templateUrl: "assets/views/system/user/matrialcalendar.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'material-calendar', 'ui.select', 'schedulingplanCtrl'),
- title: 'scheduling.CALENDAR',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling'
- }
- }).state('app.system.userdesign.group', {
- url: '/group',
- templateUrl: "assets/views/system/user/group.html",
- title: 'scheduling.CALENDAR',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'groupCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- // }).state('app.system.userdesign.group', {
- // url: '/group',
- // templateUrl: "assets/views/system/user/group.html",
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'ui.grid', 'groupCtrl'),
- // title: 'scheduling.CALENDAR',
- // icon: 'fa-tint',
- // ncyBreadcrumb: {
- // label: 'scheduling'
- // }
- }).state('app.system.userdesign.scheduletime', {
- url: '/scheduletime',
- templateUrl: "assets/views/system/user/scheduletime.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'scheduletimeCtrl'),
- title: 'scheduling.CALENDAR',
- icon: 'fa-tint',
- ncyBreadcrumb: {
- label: 'scheduling'
- }
- }).state('app.system.processdesign', {
- url: '/processdesign',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process Plan',
- ncyBreadcrumb: {
- label: 'Process Plan'
- }
- }).state('app.system.processdesign.incidentplan', {
- url: '/incidentplan',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process Plan',
- ncyBreadcrumb: {
- label: 'Process Plan'
- }
- }).state('app.system.processdesign.incidentplan.category', {
- url: '/category',
- templateUrl: "assets/views/system/processdesign/incidentplan/incidentcategory.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'incidentcateCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- // 事件设置
- }).state('app.system.processdesign.incidentplan.incidentSetUp', {
- url: '/incidentSetUp',
- templateUrl: "assets/views/system/processdesign/incidentplan/incidentSetUp.html",
- resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'incidentSetUpCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.servicetype', {
- url: '/servicetype',
- templateUrl: "assets/views/system/processdesign/incidentplan/servicetype.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'multi.select.tree', 'touchspin-plugin', 'angularBootstrapNavTree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'servicetypeCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.source', {
- url: '/source',
- templateUrl: "assets/views/system/processdesign/incidentplan/incidentsource.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'incidentsourceCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.closecode', {
- url: '/closecode',
- templateUrl: "assets/views/system/processdesign/incidentplan/closecode.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'closecodeCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.influence', {
- url: '/influence',
- templateUrl: "assets/views/system/processdesign/incidentplan/influence.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'influenceCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.emergency', {
- url: '/emergency',
- templateUrl: "assets/views/system/processdesign/incidentplan/emergency.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'emergencyCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.priority', {
- url: '/priority',
- templateUrl: "assets/views/system/processdesign/incidentplan/priority.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'priorityCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.processdesign.incidentplan.prioritymatrix', {
- url: '/prioritymatrix',
- templateUrl: "assets/views/system/processdesign/incidentplan/prioritymatrix.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'prioritymatrixCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.navmanager', {
- url: '/navmanager',
- templateUrl: "assets/views/system/navmanager.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'angularTree', 'navmanagerCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.navmanager.aa', {
- url: '/aa',
- // templateUrl: "测试123",
- template: "测试123"
- }).state('app.system.navmanager.form', {
- url: '/forms/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- })
- .state('app.system.systemmanager', {
- url: '/systemmanager',
- templateUrl: "assets/views/system/systemmanager.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'systemmanagerCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- //系统配置seimin
- .state('app.system.sysconfig', {
- url: '/sysconfig',
- templateUrl: "assets/views/system/sysconfig.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'sysconfigCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- //微信配置seimin
- .state('app.system.wxconfig', {
- url: '/wxconfig',
- templateUrl: "assets/views/system/wxconfig.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'wxconfigCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- //事件配置seimin
- .state('app.businessConfiguration.incidentConfig', {
- url: '/incidentConfig',
- templateUrl: "assets/views/businessConfiguration/incidentConfig.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'incidentConfigCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- //system user
- .state('app.system.user', {
- url: '/user',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'User Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- .state('app.baseInfo.requester', {
- url: '/requester',
- templateUrl: "assets/views/system/user/requester.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'requestermgrCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.user.user', {
- url: '/users',
- templateUrl: "assets/views/system/user/users.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'usermgrCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.baseInfo.thirdPartyCompany', {
- url: '/thirdPartyCompany',
- templateUrl: "assets/views/system/thirdPartyCompany.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'thirdPartyCompanyCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.user.role', {
- url: '/roles',
- templateUrl: "assets/views/system/user/role.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'ui.grid', 'rolemgrCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.user.power', {
- url: '/power',
- templateUrl: "assets/views/system/user/power.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'powerCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.dashboard', {
- url: '/dashboard',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'User Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.dashboard.editor', {
- url: '/editor',
- templateUrl: "assets/views/system/dashboard/dashboardeditor.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'ngTable', 'ckeditor', 'jquery-sparkline', 'sortable', 'ui.select',
- 'ui.mask', 'api-check', 'formly', 'moment', 'mwl.calendar', 'angularFormly', 'customformCtrl', 'dashboardnewCtrl'),
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'dashboardnewCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.dashboard.create', {
- url: '/create',
- templateUrl: "assets/views/system/dashboard/dashboardAdd.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'ui.select', 'dashboardAddCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }).state('app.system.form', {
- url: '/forms/{formKey}/{service}/{model}/{isNoticeEdit}/{isServiceGuideEdit}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.system.form_editor', {
- url: '/form_editor/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/detail.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.system.form_role', {
- url: '/form_role/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.system.user.requester', {
- url: '/requester/{formKey}/{service}/{model}',
- // url: '/forms/{model}/{service}/{fields}/{url}/{cancelUrl}/{extjson}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'spin', 'ladda', 'angular-ladda', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.system.selfDefinedReport', {
- // 自定义报表
- url: '/selfDefinedReport',
- templateUrl: "assets/views/system/selfDefinedReport/selfDefinedReport.html",
- resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'echarts', 'selfDefinedReportCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- }).state('app.system.knowledge', {
- url: '/knowledge',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process Plan',
- ncyBreadcrumb: {
- label: 'Process Plan'
- }
- }).state('app.system.knowledge.knowledgebase', {
- url: '/knowledgebase',
- templateUrl: "assets/views/system/knowledge.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'knowledgebaseCtrl'),
- title: 'knowledge.VIEW',
- ncyBreadcrumb: {
- label: 'knowledge list'
- }
- }).state('app.system.knowledge.category', {
- url: '/category',
- templateUrl: "assets/views/system/processdesign/knowledgedesign/knowledgecategore.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'knowkedgecateCtrl'),
- title: 'knowledge.VIEW',
- ncyBreadcrumb: {
- label: 'knowledge list'
- }
- // 公告管理
- }).state('app.system.notice', {
- url: '/notice',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Process Plan',
- ncyBreadcrumb: {
- label: 'Process Plan'
- }
- }).state('app.system.notice.list', {
- url: '/list',
- templateUrl: "assets/views/system/notice/notice.html",
- title: 'User List Manager',
- resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'noticeCtrl'),
- ncyBreadcrumb: {
- label: 'User List Manager'
- }
- }) //end system
- .state('app.externalservice', {
- url: '/externalservice',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'externalservice',
- // pdKey: 'bpm_means',
- ncyBreadcrumb: {
- label: 'externalservice'
- }
- }).state('app.externalservice.dnsmanagelist', {
- url: '/dnsmanagelist',
- templateUrl: "assets/views/externalservice/dnsmanage.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'dnsmanageCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.dnsmanageedit', {
- url: '/dnsmanageedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.emailhandlelist', {
- url: '/emailhandlelist',
- templateUrl: "assets/views/externalservice/emailhandle.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'emailhandleCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.emailhandleedit', {
- url: '/emailhandleedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.networkapply', {
- url: '/networkapply',
- templateUrl: "assets/views/externalservice/network/networkapply.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'networkapplyCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.networkapplyedit', {
- url: '/networkapplyedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.ipapply', {
- url: '/ipapply',
- templateUrl: "assets/views/externalservice/network/ipapply.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'ipapplyCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.ipapplyedit', {
- url: '/ipapplyedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.roommanage', {
- url: '/roommanage',
- templateUrl: "assets/views/externalservice/roommanage.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'roommanageCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.roommanageedit', {
- url: '/roommanageedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.faultrepair', {
- url: '/faultrepair',
- templateUrl: "assets/views/externalservice/faultrepair.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'faultrepairCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.faultrepairedit', {
- url: '/faultrepairedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.automaticlogin', {
- url: '/automaticlogin',
- templateUrl: "assets/views/externalservice/automaticlogin.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'automaticloginCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.automaticloginedit', {
- url: '/automaticloginedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- }).state('app.externalservice.nsm', {
- url: '/nsm',
- templateUrl: "assets/views/externalservice/nsm.html",
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'monospaced.elastic', 'touchspin-plugin', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'nsmCtrl'),
- title: 'dnsmanage.VIEW',
- ncyBreadcrumb: {
- label: 'dnsmanage list'
- }
- }).state('app.externalservice.nsmedit', {
- url: '/nsmedit/{formKey}/{service}/{model}',
- templateUrl: "assets/views/system/tpl/form.html",
- title: 'ui-form',
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- ncyBreadcrumb: {
- label: 'ui-form'
- }
- })
- .state('app.ui', {
- url: '/ui',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'UI Elements',
- ncyBreadcrumb: {
- label: 'UI Elements'
- }
- }).state('app.ui.elements', {
- url: '/elements',
- templateUrl: "assets/views/ui_elements.html",
- title: 'Elements',
- icon: 'ti-layout-media-left-alt',
- ncyBreadcrumb: {
- label: 'Elements'
- }
- }).state('app.ui.buttons', {
- url: '/buttons',
- templateUrl: "assets/views/ui_buttons.html",
- title: 'Buttons',
- resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'laddaCtrl'),
- ncyBreadcrumb: {
- label: 'Buttons'
- }
- }).state('app.ui.links', {
- url: '/links',
- templateUrl: "assets/views/ui_links.html",
- title: 'Link Effects',
- ncyBreadcrumb: {
- label: 'Link Effects'
- }
- }).state('app.ui.icons', {
- url: '/icons',
- templateUrl: "assets/views/ui_icons.html",
- title: 'Font Awesome Icons',
- ncyBreadcrumb: {
- label: 'Font Awesome Icons'
- },
- resolve: loadSequence('iconsCtrl')
- }).state('app.ui.lineicons', {
- url: '/line-icons',
- templateUrl: "assets/views/ui_line_icons.html",
- title: 'Linear Icons',
- ncyBreadcrumb: {
- label: 'Linear Icons'
- },
- resolve: loadSequence('iconsCtrl')
- }).state('app.ui.modals', {
- url: '/modals',
- templateUrl: "assets/views/ui_modals.html",
- title: 'Modals',
- ncyBreadcrumb: {
- label: 'Modals'
- },
- resolve: loadSequence('asideCtrl')
- }).state('app.ui.toggle', {
- url: '/toggle',
- templateUrl: "assets/views/ui_toggle.html",
- title: 'Toggle',
- ncyBreadcrumb: {
- label: 'Toggle'
- }
- }).state('app.ui.tabs_accordions', {
- url: '/accordions',
- templateUrl: "assets/views/ui_tabs_accordions.html",
- title: "Tabs & Accordions",
- ncyBreadcrumb: {
- label: 'Tabs & Accordions'
- },
- resolve: loadSequence('vAccordionCtrl')
- }).state('app.ui.panels', {
- url: '/panels',
- templateUrl: "assets/views/ui_panels.html",
- title: 'Panels',
- ncyBreadcrumb: {
- label: 'Panels'
- }
- }).state('app.ui.notifications', {
- url: '/notifications',
- templateUrl: "assets/views/ui_notifications.html",
- title: 'Notifications',
- ncyBreadcrumb: {
- label: 'Notifications'
- },
- resolve: loadSequence('toasterCtrl', 'sweetAlertCtrl')
- }).state('app.ui.treeview', {
- url: '/treeview',
- templateUrl: "assets/views/ui_tree.html",
- title: 'TreeView',
- ncyBreadcrumb: {
- label: 'Treeview'
- },
- resolve: loadSequence('angularBootstrapNavTree', 'treeCtrl')
- }).state('app.ui.media', {
- url: '/media',
- templateUrl: "assets/views/ui_media.html",
- title: 'Media',
- ncyBreadcrumb: {
- label: 'Media'
- }
- }).state('app.ui.nestable', {
- url: '/nestable2',
- templateUrl: "assets/views/ui_nestable.html",
- title: 'Nestable List',
- ncyBreadcrumb: {
- label: 'Nestable List'
- },
- resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'nestableCtrl')
- }).state('app.ui.typography', {
- url: '/typography',
- templateUrl: "assets/views/ui_typography.html",
- title: 'Typography',
- ncyBreadcrumb: {
- label: 'Typography'
- }
- }).state('app.table', {
- url: '/table',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Tables',
- ncyBreadcrumb: {
- label: 'Tables'
- }
- }).state('app.table.basic', {
- url: '/basic',
- templateUrl: "assets/views/table_basic.html",
- title: 'Basic Tables',
- ncyBreadcrumb: {
- label: 'Basic'
- }
- }).state('app.table.responsive', {
- url: '/responsive',
- templateUrl: "assets/views/table_responsive.html",
- title: 'Responsive Tables',
- ncyBreadcrumb: {
- label: 'Responsive'
- }
- }).state('app.table.data', {
- url: '/data',
- templateUrl: "assets/views/table_data.html",
- title: 'ngTable',
- ncyBreadcrumb: {
- label: 'ngTable'
- },
- resolve: loadSequence('ngTable', 'ngTableCtrl')
- }).state('app.table.export', {
- url: '/export',
- templateUrl: "assets/views/table_export.html",
- title: 'Table'
- }).state('app.form', {
- url: '/form',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Forms',
- ncyBreadcrumb: {
- label: 'Forms'
- }
- }).state('app.form.elements', {
- url: '/elements',
- templateUrl: "assets/views/form_elements.html",
- title: 'Forms Elements',
- ncyBreadcrumb: {
- label: 'Elements'
- },
- resolve: loadSequence('ui.select', 'monospaced.elastic', 'ui.mask', 'touchspin-plugin', 'selectCtrl')
- }).state('app.form.xeditable', {
- url: '/xeditable',
- templateUrl: "assets/views/form_xeditable.html",
- title: 'Angular X-Editable',
- ncyBreadcrumb: {
- label: 'X-Editable'
- },
- resolve: loadSequence('xeditable', 'checklist-model', 'xeditableCtrl')
- }).state('app.form.texteditor', {
- url: '/editor',
- templateUrl: "assets/views/form_text_editor.html",
- title: 'Text Editor',
- ncyBreadcrumb: {
- label: 'Text Editor'
- },
- resolve: loadSequence('ckeditor-plugin', 'ckeditor', 'ckeditorCtrl')
- }).state('app.form.wizard', {
- url: '/wizard',
- templateUrl: "assets/views/form_wizard.html",
- title: 'Form Wizard',
- ncyBreadcrumb: {
- label: 'Wizard'
- },
- resolve: loadSequence('wizardCtrl')
- }).state('app.form.validation', {
- url: '/validation',
- templateUrl: "assets/views/form_validation.html",
- title: 'Form Validation',
- ncyBreadcrumb: {
- label: 'Validation'
- },
- resolve: loadSequence('validationCtrl')
- }).state('app.form.cropping', {
- url: '/image-cropping',
- templateUrl: "assets/views/form_image_cropping.html",
- title: 'Image Cropping',
- ncyBreadcrumb: {
- label: 'Image Cropping'
- },
- resolve: loadSequence('ngImgCrop', 'cropCtrl')
- }).state('app.form.upload', {
- url: '/file-upload',
- templateUrl: "assets/views/form_file_upload.html",
- title: 'Multiple File Upload',
- ncyBreadcrumb: {
- label: 'File Upload'
- },
- resolve: loadSequence('angularFileUpload', 'uploadCtrl')
- }).state('app.pages', {
- url: '/pages',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Pages',
- ncyBreadcrumb: {
- label: 'Pages'
- }
- }).state('app.pages.user', {
- url: '/user',
- templateUrl: "assets/views/pages_user_profile.html",
- title: 'User Profile',
- ncyBreadcrumb: {
- label: 'User Profile'
- },
- resolve: loadSequence('flow', 'userCtrl')
- }).state('app.pages.invoice', {
- url: '/invoice',
- templateUrl: "assets/views/pages_invoice.html",
- title: 'Invoice',
- ncyBreadcrumb: {
- label: 'Invoice'
- }
- }).state('app.pages.timeline', {
- url: '/timeline',
- templateUrl: "assets/views/pages_timeline.html",
- title: 'Timeline',
- ncyBreadcrumb: {
- label: 'Timeline'
- },
- resolve: loadSequence('ngMap')
- }).state('app.pages.calendar', {
- url: '/calendar',
- templateUrl: "assets/views/pages_calendar.html",
- title: 'Calendar',
- ncyBreadcrumb: {
- label: 'Calendar'
- },
- resolve: loadSequence('moment', 'mwl.calendar', 'calendarCtrl')
- }).state('app.pages.messages', {
- url: '/messages',
- templateUrl: "assets/views/pages_messages.html",
- resolve: loadSequence('truncate', 'htmlToPlaintext', 'inboxCtrl')
- }).state('app.pages.messages.inbox', {
- url: '/inbox/:inboxID',
- templateUrl: "assets/views/pages_inbox.html",
- controller: 'ViewMessageCrtl'
- }).state('app.pages.blank', {
- url: '/blank',
- templateUrl: "assets/views/pages_blank_page.html",
- ncyBreadcrumb: {
- label: 'Starter Page'
- }
- }).state('app.utilities', {
- url: '/utilities',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'Utilities',
- ncyBreadcrumb: {
- label: 'Utilities'
- }
- }).state('app.utilities.search', {
- url: '/search',
- templateUrl: "assets/views/utility_search_result.html",
- title: 'Search Results',
- ncyBreadcrumb: {
- label: 'Search Results'
- }
- }).state('app.utilities.pricing', {
- url: '/pricing',
- templateUrl: "assets/views/utility_pricing_table.html",
- title: 'Pricing Table',
- ncyBreadcrumb: {
- label: 'Pricing Table'
- }
- }).state('app.maps', {
- url: "/maps",
- templateUrl: "assets/views/maps.html",
- resolve: loadSequence('ngMap', 'mapsCtrl'),
- title: "Maps",
- ncyBreadcrumb: {
- label: 'Maps'
- }
- }).state('app.charts', {
- url: "/charts",
- templateUrl: "assets/views/charts.html",
- resolve: loadSequence('chartjs', 'tc.chartjs', 'chartsCtrl'),
- title: "Charts",
- ncyBreadcrumb: {
- label: 'Charts'
- }
- }).state('app.documentation', {
- url: "/documentation",
- templateUrl: "assets/views/documentation.html",
- title: "Documentation",
- ncyBreadcrumb: {
- label: 'Documentation'
- }
- }).state('error', {
- url: '/error',
- template: '<div ui-view class="fade-in-up"></div>'
- }).state('error.404', {
- url: '/404',
- templateUrl: "assets/views/utility_404.html"
- }).state('error.500', {
- url: '/500',
- templateUrl: "assets/views/utility_500.html"
- })
- //custom form
- .state('app.customform', {
- url: '/customform',
- templateUrl: 'assets/views/customform/index.html',
- resolve: loadSequence('jquery-sparkline', 'ckeditor-plugin', 'ckeditor', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
- title: 'Customform',
- ncyBreadcrumb: {
- label: 'Customform'
- }
- })
- .state('app.detail', {
- url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId',
- templateUrl: "assets/views/customform/detail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
- title: 'form detail',
- icon: 'ti-list',
- ncyBreadcrumb: {
- label: 'detail'
- }
- })
- // 事件实时播报
- .state('bigScreen', {
- url: '/bigScreen',
- template: '<div ui-view class="fade-in-right-big smooth"></div>',
- abstract: true
- }).state('bigScreen.realtimeBroadcast', {
- url: '/realtimeBroadcast',
- templateUrl: "assets/views/bigScreen/realtimeBroadcast.html",
- resolve: loadSequence('sweet-alert', 'oitozero.ngSweetAlert','jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'realtimeBroadcastCtrl'),
- })
- // Login routes
- .state('login', {
- url: '/login',
- template: '<div ui-view class="fade-in-right-big smooth"></div>',
- abstract: true
- }).state('login.signin', {
- url: '/signin',
- templateUrl: "assets/views/login_login.html",
- resolve: loadSequence('sweet-alert', 'oitozero.ngSweetAlert', 'morph', 'loginCtrl')
- }).state('login.license', {
- url: '/license',
- templateUrl: "assets/views/license.html",
- resolve: loadSequence('sweet-alert', 'oitozero.ngSweetAlert', 'morph', 'licenseCtrl')
- }).state('login.forgot', {
- url: '/forgot',
- templateUrl: "assets/views/login_forgot.html"
- })
- /*.state('login.registration', {
- url: '/registration',
- templateUrl: "assets/views/login_registration.html"
- })*/
- .state('login.lockscreen', {
- url: '/lock',
- templateUrl: "assets/views/login_lock_screen.html"
- })
- // 合同
- .state('app.contractManagement', {
- url: '/contractManagement',
- template: '<div ui-view class="fade-in-up"></div>',
- title: 'System Elements',
- ncyBreadcrumb: {
- label: 'System Elements'
- }
- }).state('app.contractManagement.maintenanceManagement', {
- url: '/maintenanceManagement',
- templateUrl: "assets/views/contractManagement/maintenanceManagement.html",
- resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'maintenanceManagementCtrl'),
- title: 'Nav Manager',
- ncyBreadcrumb: {
- label: 'User Manager'
- }
- })
- // .state('login.changepassword', {
- // url: '/changepassword',
- // templateUrl: "assets/views/changepassword.html",
- // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'passwordCtrl'),
- // title: 'changepassword',
- // icon: 'ti-list',
- // ncyBreadcrumb: {
- // label: 'changepassword'
- // }
- // });
- // Generates a resolve object previously configured in constant.JS_REQUIRES (config.constant.js)
- function loadSequence() {
- var _args = arguments;
- return {
- deps: ['$ocLazyLoad', '$q',
- function ($ocLL, $q) {
- var promise = $q.when(1);
- for (var i = 0, len = _args.length; i < len; i++) {
- promise = promiseThen(_args[i]);
- }
- return promise;
- function promiseThen(_arg) {
- if (typeof _arg == 'function')
- return promise.then(_arg);
- else
- return promise.then(function () {
- var nowLoad = requiredData(_arg);
- if (!nowLoad)
- return $.error('Route resolve: Bad resource name [' + _arg + ']');
- return $ocLL.load(nowLoad);
- });
- }
- function requiredData(name) {
- if (jsRequires.modules)
- for (var m in jsRequires.modules)
- if (jsRequires.modules[m].name && jsRequires.modules[m].name === name)
- return jsRequires.modules[m];
- return jsRequires.scripts && jsRequires.scripts[name];
- }
- }
- ]
- };
- }
- }
- ]);
|