12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693 |
- '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.incidentDetail', {
- // 事件详情
- url: '/incidentDetail/:id',
- templateUrl: "assets/views/incident/incidentDetail.html",
- resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sanitize', 'incidentDetailCtrl'),
- 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];
- }
- }
- ]
- };
- }
- }
- ]);
|