config.router.js 133 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550
  1. 'use strict';
  2. /**
  3. * Config for the router
  4. */
  5. app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvider', '$controllerProvider', '$compileProvider', '$filterProvider', '$provide', '$ocLazyLoadProvider', 'JS_REQUIRES',
  6. function ($authProvider, $httpProvider, $stateProvider, $urlRouterProvider, $controllerProvider, $compileProvider, $filterProvider, $provide, $ocLazyLoadProvider, jsRequires) {
  7. $httpProvider.interceptors.push([
  8. '$injector',
  9. function ($injector) {
  10. return {
  11. request: function (req) {
  12. $injector.invoke([
  13. '$http',
  14. function ($http) {
  15. // console.log(req);
  16. }
  17. ]);
  18. return req;
  19. },
  20. response: function (resp) {
  21. $injector.invoke([
  22. '$http','$state',
  23. function ($http,$state) {
  24. if(resp.status == 302){
  25. $state.go('login.signin');
  26. }
  27. }
  28. ]);
  29. return resp;
  30. },
  31. responseError: function (resp) {
  32. $injector.invoke([
  33. '$http',
  34. function ($http) {
  35. // console.log(resp);
  36. }
  37. ]);
  38. return $injector.get('$q').reject(resp);
  39. }
  40. };
  41. }
  42. ]);
  43. //$authProvider,
  44. app.controller = $controllerProvider.register;
  45. app.directive = $compileProvider.directive;
  46. app.filter = $filterProvider.register;
  47. app.factory = $provide.factory;
  48. app.service = $provide.service;
  49. app.constant = $provide.constant;
  50. app.value = $provide.value;
  51. $authProvider.configure({
  52. // apiUrl: 'http://192.168.2.63/service',
  53. // apiUrl: 'http://localhost/service',//本地
  54. // apiUrl: 'http://192.168.3.101/service', //101
  55. apiUrl: 'http://' + document.domain + '/service', //139
  56. // tokenValidationPath: '/auth/validate_token',
  57. signOutUrl: '/auth/logout2',
  58. emailSignInPath: '/auth/loginEncrypt',
  59. // confirmationSuccessUrl: window.location.href,
  60. // passwordResetPath: '/auth/password',
  61. // passwordUpdatePath: '/auth/password',
  62. // passwordResetSuccessUrl: window.location.href,
  63. storage: 'cookies',
  64. forceValidateToken: true,
  65. validateOnPageLoad: true,
  66. // authProviderPaths: {
  67. // local: '/auth/login'
  68. // },
  69. // tokenFormat: {
  70. // "access-token": "{{ token }}",
  71. // // client: "{{ clientId }}",
  72. // expiry: "{{ expiry }}"
  73. // // uid: "{{ uid }}"
  74. // },
  75. cookieOps: {
  76. // path: "/",
  77. expires: 9999,
  78. expirationUnit: 'seconds',
  79. // secure: false,
  80. // domain: 'dashitech.com'
  81. },
  82. // handleLoginResponse: function(response, authscope) {
  83. // var authData = {
  84. // };
  85. // // console.log(response);
  86. // // console.log(authscope);
  87. // // if(response.sessionId==null){
  88. // // authData.error = 400;
  89. // // }else{
  90. // response.data.user.menu = response.data.menu;
  91. // authData = {
  92. // auth_token: 123456,
  93. // // client_id: 1,
  94. // expiry: response.data.expiry
  95. // // uid: response.data.user.id
  96. // };
  97. // angular.extend(authData,response.data.user);
  98. // return authData;
  99. // // }
  100. // // return authData;
  101. // },
  102. parseExpiry: function (headers) {
  103. // convert from UTC ruby (seconds) to UTC js (milliseconds)
  104. return 1e3 * parseInt(headers['expiry'], 10) || null
  105. },
  106. handleLoginResponse: function (response, authscope) {
  107. // console.log(response);
  108. var authData = {
  109. };
  110. var heads = authscope.retrieveData("auth_headers")
  111. if (response.state == "201") {
  112. if (!response.data.user) {
  113. response.data.user = {};
  114. }
  115. response.data.user.menu = response.data.menu;
  116. // authData = {
  117. // auth_token: heads['access-token'],
  118. // expiry: heads['expiry']
  119. // };
  120. // if (response.data.user.loginExtension) {
  121. // $rootScope.start(response.data.user.loginExtension);
  122. // }
  123. angular.extend(authData, response.data.user);
  124. // return authData;
  125. } else if (response.state == "200") {
  126. if (!response.data.user) {
  127. response.data.user = {};
  128. }
  129. response.data.user.menu = response.data.menu;
  130. // authData = {
  131. // auth_token: heads['access-token'],
  132. // expiry: heads['expiry']
  133. // };
  134. angular.extend(authData, response.data.user);
  135. // return authData;
  136. } else if (response.state == "500") {
  137. authData.error = 500;
  138. } else {
  139. authData.error = 400;
  140. }
  141. // }
  142. return authData;
  143. },
  144. handleAccountUpdateResponse: function (response) {
  145. return response;
  146. },
  147. handleTokenValidationResponse: function (response) {
  148. var authData = {
  149. };
  150. if (response.state == 200) {
  151. if (!response.data.user) {
  152. response.data.user = {};
  153. }
  154. response.data.user['menu'] = response.data.menu;
  155. // if (response.data.user.loginExtension) {
  156. // $rootScope.start(response.data.loginExtension);
  157. // }
  158. // sessionStorage.userdata = JSON.stringify(response.data.user);
  159. angular.extend(authData, response.data.user);
  160. } else {
  161. authData.error = 501;
  162. }
  163. return authData;
  164. }
  165. });
  166. // LAZY MODULES
  167. $ocLazyLoadProvider.config({
  168. debug: false,
  169. events: true,
  170. modules: jsRequires.modules
  171. });
  172. // APPLICATION ROUTES
  173. // -----------------------------------
  174. // if (!$httpProvider.defaults.headers.get) {
  175. // $httpProvider.defaults.headers.get = {};
  176. // }
  177. // $httpProvider.defaults.headers.common["X-Requested-with"] = 'XMLHttpRequest';
  178. // $httpProvider.defaults.headers.get['Cache-Control'] = 'no-cache';
  179. // $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
  180. // For any unmatched url, redirect to /app/dashboard
  181. // $urlRouterProvider.otherwise("/app/knowledge/forum");
  182. $urlRouterProvider.otherwise("/login/signin");
  183. //
  184. // Set up the states
  185. $stateProvider.state('app', {
  186. url: "/app",
  187. templateUrl: "assets/views/app.html",
  188. resolve: loadSequence('modernizr', 'moment', 'angularMoment', 'uiSwitch', 'perfect-scrollbar-plugin', 'toaster', 'ngAside', 'vAccordion', 'sweet-alert', 'chartjs', 'tc.chartjs', 'oitozero.ngSweetAlert', 'ladda', 'angular-ladda', 'chatCtrl'),
  189. abstract: true
  190. // }).state('app.dashboard', {
  191. // url: "/dashboard{userinform}",
  192. // templateUrl: "assets/views/dashboard/newdash.html",
  193. // 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'),
  194. // title: 'dashboard.MAIN',
  195. // ncyBreadcrumb: {
  196. // label: 'Dashboard'
  197. // }
  198. })
  199. .state('app.dashboard', {
  200. url: "/dashboard{userinform}",
  201. templateUrl: "assets/views/dashboard/newdash.html",
  202. 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'),
  203. title: 'dashboard.MAIN',
  204. ncyBreadcrumb: {
  205. label: 'Dashboard'
  206. }
  207. })
  208. .state('app.newOrder', {
  209. url: "/newOrder",
  210. templateUrl: "assets/views/newOrder.html",
  211. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'newOrderCtrl'),
  212. title: 'dashboard.MAIN',
  213. ncyBreadcrumb: {
  214. label: 'Dashboard'
  215. }
  216. })
  217. .state('app.D3new', {
  218. url: "/D3new",
  219. templateUrl: "assets/views/means/D3new.html",
  220. resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'D3a', 'D3new'),
  221. title: 'dashboard.MAIN',
  222. ncyBreadcrumb: {
  223. label: 'Dashboard'
  224. }
  225. })
  226. .state('childpape', {
  227. url: '/childpape/{starttime}/{endtime}/{model}',
  228. templateUrl: "assets/views/report/childpape.html",
  229. 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'),
  230. title: 'report.LISTDesc',
  231. ncyBreadcrumb: {
  232. label: 'Report View'
  233. }
  234. })
  235. .state('cmdbmap', {
  236. url: "/cmdbmap",
  237. templateUrl: "assets/views/means/D3two.html",
  238. 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'),
  239. title: 'dashboard.MAIN',
  240. ncyBreadcrumb: {
  241. label: 'Dashboard'
  242. }
  243. }).state('cmdbcontrast', {
  244. url: '/cmdbcontrast/{model}',
  245. templateUrl: "assets/views/means/cmdbcontrast.html",
  246. 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'),
  247. title: 'means.LIST',
  248. pdKey: 'applicationForm',
  249. icon: 'ti-list',
  250. ncyBreadcrumb: {
  251. label: 'means list'
  252. }
  253. }).state('dashlefttop', {
  254. url: "/dashlefttop",
  255. templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-lefttop.html",
  256. resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'largedashboardCtrl'),
  257. title: 'dashboard.MAIN',
  258. ncyBreadcrumb: {
  259. label: 'Dashboard'
  260. }
  261. })
  262. .state('dashleftbottom', {
  263. url: "/dashleftbottom",
  264. templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-leftbottom.html",
  265. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.mask', 'largedashboardCtrl'),
  266. title: 'dashboard.MAIN',
  267. ncyBreadcrumb: {
  268. label: 'Dashboard'
  269. }
  270. }).state('dashrighttop', {
  271. url: "/dashrighttop",
  272. templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-righttop.html",
  273. resolve: loadSequence('jquery-sparkline', 'moment', 'ladda', 'charts', 'nodatachart', 'chartthree', 'largedashboardCtrl'),
  274. title: 'dashboard.MAIN',
  275. ncyBreadcrumb: {
  276. label: 'Dashboard'
  277. }
  278. }).state('dashrightbottom', {
  279. url: "/dashrightbottom",
  280. templateUrl: "assets/views/dashboard/tpl/largedashboard/dash-rightbottom.html",
  281. resolve: loadSequence('jquery-nestable-plugin', 'spin', 'moment', 'ladda', 'charts', 'chartthree', 'largedashboardCtrl'),
  282. title: 'dashboard.MAIN',
  283. ncyBreadcrumb: {
  284. label: 'Dashboard'
  285. }
  286. }).state('app.desk', {
  287. url: '/desk',
  288. template: '<div ui-view class="fade-in-up"></div>',
  289. title: 'desk',
  290. // pdKey: 'bpm_incident',
  291. ncyBreadcrumb: {
  292. label: 'desk'
  293. }
  294. // 告警转事件列表
  295. }).state('app.desk.jry_emergency', {
  296. url: '/jry_emergency',
  297. templateUrl: "assets/views/desk/jry_emergency.html",
  298. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'jry_emergencyCtrl'),
  299. title: 'chart.LIST',
  300. // pdKey: 'bpm_incident',
  301. icon: 'ti-list',
  302. ncyBreadcrumb: {
  303. label: 'chart'
  304. }
  305. }).state('app.desk.chart', {
  306. url: '/chart/:tab',
  307. templateUrl: "assets/views/desk/chart.html",
  308. resolve: loadSequence('jquery-sparkline', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'chartCtrl'),
  309. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'mwl.calendar', 'ui.grid', 'chartCtrl'),
  310. title: 'chart.LIST',
  311. // pdKey: 'bpm_incident',
  312. icon: 'ti-list',
  313. ncyBreadcrumb: {
  314. label: 'chart'
  315. }
  316. }).state('app.desk.record', {
  317. url: '/record',
  318. templateUrl: "assets/views/desk/record.html",
  319. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'recordCtrl'),
  320. title: 'record.LIST',
  321. // pdKey: 'bpm_incident',
  322. icon: 'fa-tint',
  323. ncyBreadcrumb: {
  324. label: 'new watch'
  325. }
  326. }).state('app.desk.calllog', {
  327. url: '/calllog',
  328. templateUrl: "assets/views/desk/calllog.html",
  329. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'calllogCtrl'),
  330. title: 'record.LIST',
  331. // pdKey: 'bpm_incident',
  332. icon: 'fa-tint',
  333. ncyBreadcrumb: {
  334. label: 'new watch'
  335. }
  336. }).state('app.desk.detail', {
  337. url: '/detail/{model}',
  338. templateUrl: "assets/views/desk/jry_wxDetail.html",
  339. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_wxDetailCtrl'),
  340. title: 'record.LIST',
  341. // pdKey: 'bpm_incident',
  342. icon: 'fa-tint',
  343. ncyBreadcrumb: {
  344. label: 'new watch'
  345. }
  346. }).state('app.desk.form_editor', {
  347. url: '/form_editor/{formKey}/{service}/{model}',
  348. templateUrl: "assets/views/system/tpl/detail.html",
  349. title: 'ui-form',
  350. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'chartCtrl', 'customformCtrl', 'sysformCtrl'),
  351. ncyBreadcrumb: {
  352. label: 'ui-form'
  353. }
  354. }).state('app.file', {
  355. url: '/file',
  356. template: '<div ui-view class="fade-in-up"></div>',
  357. title: 'file',
  358. pdKey: 'bpm_file',
  359. ncyBreadcrumb: {
  360. label: 'File'
  361. }
  362. // 文档管理
  363. }).state('app.file.manage', {
  364. url: '/list',
  365. templateUrl: "assets/views/file/list.html",
  366. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_fileCtrl'),
  367. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'angularBootstrapNavTree', 'jry_fileCtrl'),
  368. title: 'incident.LIST',
  369. pdKey: 'bpm_file',
  370. icon: 'ti-list',
  371. ncyBreadcrumb: {
  372. label: 'file list'
  373. }
  374. // 索引管理
  375. }).state('app.file.indexes', {
  376. url: '/indexes',
  377. templateUrl: "assets/views/file/indexes.html",
  378. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_indexesCtrl'),
  379. title: 'incident.LIST',
  380. pdKey: 'bpm_file',
  381. icon: 'ti-list',
  382. ncyBreadcrumb: {
  383. label: 'file list'
  384. }
  385. // 引入文件
  386. }).state('app.file.open_indexes', {
  387. url: '/indexes/{fileMessage}',
  388. templateUrl: "assets/views/file/open_indexes.html",
  389. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_open_indexesCtrl'),
  390. title: 'incident.LIST',
  391. pdKey: 'bpm_file',
  392. icon: 'ti-list',
  393. ncyBreadcrumb: {
  394. label: 'file list'
  395. }
  396. //任务管理--jry
  397. }).state('app.task', {
  398. url: '/task',
  399. template: '<div ui-view class="fade-in-up"></div>',
  400. title: 'task',
  401. pdKey: 'bpm_task',
  402. ncyBreadcrumb: {
  403. label: 'Task'
  404. }
  405. // 新建任务
  406. }).state('app.task.newTask', {
  407. url: '/newTask',
  408. templateUrl: "assets/views/task/taskForm.html",
  409. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'taskFormCtr'),
  410. title: 'knowledge.NEW',
  411. icon: 'fa-tint',
  412. ncyBreadcrumb: {
  413. label: 'new knowledge'
  414. }
  415. //上下班管理
  416. }).state('app.working', {
  417. url: '/working',
  418. template: '<div ui-view class="fade-in-up"></div>',
  419. title: 'working',
  420. pdKey: 'bpm_working',
  421. ncyBreadcrumb: {
  422. label: 'working'
  423. }
  424. // 上下班管理
  425. }).state('app.working.manage', {
  426. url: '/manage',
  427. templateUrl: "assets/views/working/manage.html",
  428. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'angularTree', 'customformCtrl', 'workingFormCtr'),
  429. title: 'working.manage',
  430. icon: 'fa-tint',
  431. ncyBreadcrumb: {
  432. label: 'working.manage'
  433. }
  434. //任务表单
  435. }).state('app.task.editTask', {
  436. url: '/editTask/{formKey}/{model}',
  437. templateUrl: "assets/views/task/taskForm.html",
  438. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'ui.select', 'angularBootstrapNavTree', 'customformCtrl', 'taskFormCtr'),
  439. title: 'knowledge.NEW',
  440. icon: 'fa-tint',
  441. ncyBreadcrumb: {
  442. label: 'new knowledge'
  443. }
  444. // 任务清单
  445. }).state('app.task.taskDetailed', {
  446. url: '/detailed',
  447. templateUrl: "assets/views/task/taskDetailed.html",
  448. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'taskDetailedCtr'),
  449. title: 'knowledge.NEW',
  450. icon: 'fa-tint',
  451. ncyBreadcrumb: {
  452. label: 'new knowledge'
  453. }
  454. // 月度任务
  455. }).state('app.task.moonTask', {
  456. url: '/moonTask',
  457. templateUrl: "assets/views/task/moonTask.html",
  458. 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'),
  459. title: 'knowledge.List',
  460. icon: 'fa-tint',
  461. ncyBreadcrumb: {
  462. label: 'list knowledge'
  463. }
  464. // 任务列表
  465. }).state('app.task.taskList', {
  466. url: '/taskList',
  467. templateUrl: "assets/views/task/taskList.html",
  468. 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'),
  469. title: 'knowledge.List',
  470. icon: 'fa-tint',
  471. ncyBreadcrumb: {
  472. label: 'list knowledge'
  473. }
  474. }).state('app.incident', {
  475. url: '/incident',
  476. template: '<div ui-view class="fade-in-up"></div>',
  477. title: 'incident',
  478. pdKey: 'bpm_incident',
  479. ncyBreadcrumb: {
  480. label: 'Incident'
  481. }
  482. }).state('app.incident.list', {
  483. url: '/list/{model}/:tab/:state/:date',
  484. templateUrl: "assets/views/incident/list.html",
  485. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'incidentCtrl'),
  486. title: 'incident.LIST',
  487. pdKey: 'bpm_incident',
  488. icon: 'ti-list',
  489. ncyBreadcrumb: {
  490. label: 'incident list'
  491. }
  492. }).state('app.working.history', {
  493. url: '/history/:tab/:state',
  494. templateUrl: "assets/views/working/list.html",
  495. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'workingHistoryFormCtr'),
  496. title: 'incident.LIST',
  497. pdKey: 'bpm_incident',
  498. icon: 'ti-list',
  499. ncyBreadcrumb: {
  500. label: 'incident list'
  501. }
  502. }).state('app.incident.editor', {
  503. url: '/editor/{taskId}/{processInstanceId}/{dataId}',
  504. templateUrl: "assets/views/customform/index.html",
  505. 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'),
  506. title: 'incident.NEW',
  507. pdKey: 'bpm_incident',
  508. icon: 'fa-tint',
  509. ncyBreadcrumb: {
  510. label: 'new incident'
  511. }
  512. }).state('app.incident.watch', {
  513. url: '/watch/{model}',
  514. templateUrl: "assets/views/customform/index.html",
  515. resolve: loadSequence('jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  516. title: 'incident.NEW',
  517. pdKey: 'bpm_incident',
  518. icon: 'fa-tint',
  519. ncyBreadcrumb: {
  520. label: 'new incident'
  521. }
  522. }).state('app.incident.detail', {
  523. url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId/:isChart/:isRecord',
  524. templateUrl: "assets/views/customform/detail.html",
  525. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl', 'sanitize'),
  526. title: 'form detail',
  527. icon: 'ti-list',
  528. ncyBreadcrumb: {
  529. label: 'detail'
  530. }
  531. }).state('app.incident.follow', {
  532. url: '/follow/{processInstanceId}',
  533. templateUrl: "assets/views/customform/indexfollow.html",
  534. resolve: loadSequence('jquery-sparkline', 'ui.mask', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'incidentCtrl'),
  535. // title: 'incident.LIST',
  536. pdKey: 'bpm_incident',
  537. icon: 'fa-tint',
  538. ncyBreadcrumb: {
  539. label: 'new incident'
  540. }
  541. }).state('app.incident.title', {
  542. url: '/editor/{model}/{myData}',
  543. templateUrl: "assets/views/customform/index.html",
  544. 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'),
  545. title: 'incident.NEW',
  546. pdKey: 'bpm_incident',
  547. icon: 'fa-tint',
  548. ncyBreadcrumb: {
  549. label: 'new incident'
  550. }
  551. })
  552. .state('app.incident.chart', {
  553. url: '/chart/{model}',
  554. templateUrl: "assets/views/customform/index.html",
  555. 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'),
  556. title: 'incident.NEW',
  557. pdKey: 'bpm_incident',
  558. icon: 'fa-tint',
  559. ncyBreadcrumb: {
  560. label: 'new incident'
  561. }
  562. })
  563. //服务请求页面路由
  564. .state('app.reService', {
  565. url: '/reService',
  566. template: '<div ui-view class="fade-in-up"></div>',
  567. title: 'reService',
  568. pdKey: 'bpm_reService',
  569. ncyBreadcrumb: {
  570. label: 'reService'
  571. }
  572. })
  573. //服务请求>服务列表
  574. .state('app.reService.manager', {
  575. url: '/manager',
  576. templateUrl: "assets/views/reService/manager.html",
  577. 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'),
  578. title: 'reService.VIEW',
  579. icon: 'ti-list',
  580. ncyBreadcrumb: {
  581. label: 'reService list'
  582. }
  583. })
  584. //服务请求>新建服务事件
  585. .state('app.reService.newService', {
  586. url: '/newService/{pdKey}/{formUiStart}/{formUiEdit}/{formUiName}/{userId}',
  587. templateUrl: "assets/views/customform/index.html",
  588. 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'),
  589. title: 'reService.NEW',
  590. // pdKey: 'bpm_reService',
  591. icon: 'fa-tint',
  592. ncyBreadcrumb: {
  593. label: 'new reService'
  594. }
  595. })
  596. //服务请求>服务请求编辑
  597. .state('app.reService.editor', {
  598. url: '/editor/{taskId}/{processInstanceId}/{pdKey}/{formUiEdit}',
  599. templateUrl: "assets/views/customform/index.html",
  600. 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'),
  601. title: 'reService.NEW',
  602. pdKey: 'bpm_reService',
  603. icon: 'fa-tint',
  604. ncyBreadcrumb: {
  605. label: 'new reService'
  606. }
  607. })
  608. //服务请求>服务请求查看
  609. .state('app.reService.detail', {
  610. url: '/detail/{formKey}/{dataId}/{taskId}/{processInstanceId}/{pdKey}',
  611. templateUrl: "assets/views/customform/detail.html",
  612. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
  613. title: 'form detail',
  614. icon: 'ti-list',
  615. ncyBreadcrumb: {
  616. label: 'detail'
  617. }
  618. })
  619. .state('app.watch', {
  620. url: '/watch',
  621. template: '<div ui-view class="fade-in-up"></div>',
  622. title: 'watch',
  623. pdKey: 'bpm_watch',
  624. ncyBreadcrumb: {
  625. label: 'watch'
  626. }
  627. }).state('app.watch.list', {
  628. url: '/list',
  629. templateUrl: "assets/views/watch/watch.html",
  630. resolve: loadSequence('jquery-sparkline', 'ui.grid', 'watchCtrl'),
  631. title: 'watch.LIST',
  632. pdKey: 'bpm_watch',
  633. icon: 'ti-list',
  634. ncyBreadcrumb: {
  635. label: 'watch list'
  636. }
  637. })
  638. .state('app.problem', {
  639. url: '/problem',
  640. template: '<div ui-view class="fade-in-up"></div>',
  641. title: 'problem',
  642. pdKey: 'bpm_problem',
  643. ncyBreadcrumb: {
  644. label: 'Problem'
  645. }
  646. }).state('app.problem.list', {
  647. url: '/list',
  648. templateUrl: "assets/views/problem/list.html",
  649. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'problemCtrl'),
  650. title: 'problem.LIST',
  651. pdKey: 'bpm_problem',
  652. icon: 'ti-list',
  653. ncyBreadcrumb: {
  654. label: 'problem list'
  655. }
  656. }).state('app.problem.editor', {
  657. url: '/editor/{taskId}/{processInstanceId}/{dataId}',
  658. templateUrl: "assets/views/customform/index.html",
  659. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
  660. title: 'problem.NEW',
  661. pdKey: 'bpm_problem',
  662. icon: 'fa-tint',
  663. ncyBreadcrumb: {
  664. label: 'new problem'
  665. }
  666. }).state('app.problem.incident', {
  667. url: '/incident/{model}',
  668. templateUrl: "assets/views/customform/index.html",
  669. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  670. title: 'problem.NEW',
  671. pdKey: 'bpm_problem',
  672. icon: 'fa-tint',
  673. ncyBreadcrumb: {
  674. label: 'new problem'
  675. }
  676. }).state('app.change.problem', {
  677. url: '/change/{model}',
  678. templateUrl: "assets/views/customform/index.html",
  679. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  680. title: 'change.NEW',
  681. pdKey: 'bpm_change',
  682. icon: 'fa-tint',
  683. ncyBreadcrumb: {
  684. label: 'new change'
  685. }
  686. })
  687. .state('app.change', {
  688. url: '/change',
  689. template: '<div ui-view class="fade-in-up"></div>',
  690. title: 'change',
  691. pdKey: 'bpm_change',
  692. ncyBreadcrumb: {
  693. label: 'Change'
  694. }
  695. }).state('app.change.list', {
  696. url: '/list',
  697. templateUrl: "assets/views/change/list.html",
  698. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'changeCtrl'),
  699. title: 'change.LIST',
  700. pdKey: 'bpm_change',
  701. icon: 'ti-list',
  702. ncyBreadcrumb: {
  703. label: 'rfc list'
  704. } //incident
  705. }).state('app.change.editor', {
  706. url: '/editor/{taskId}/{processInstanceId}/{dataId}',
  707. templateUrl: "assets/views/customform/index.html",
  708. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
  709. title: 'change.NEW',
  710. pdKey: 'bpm_change',
  711. icon: 'fa-tint',
  712. ncyBreadcrumb: {
  713. label: 'new rfc'
  714. }
  715. }).state('app.change.incident', {
  716. url: '/incident/{model}',
  717. templateUrl: "assets/views/customform/index.html",
  718. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  719. title: 'change.NEW',
  720. pdKey: 'bpm_change',
  721. icon: 'fa-tint',
  722. ncyBreadcrumb: {
  723. label: 'new rfc'
  724. }
  725. })
  726. .state('app.change.release', {
  727. url: '/release/{model}',
  728. templateUrl: "assets/views/customform/index.html",
  729. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  730. title: 'change.NEW',
  731. pdKey: 'bpm_release',
  732. icon: 'fa-tint',
  733. ncyBreadcrumb: {
  734. label: 'new rfc'
  735. }
  736. }).state('app.report', {
  737. url: '/report',
  738. template: '<div ui-view class="fade-in-up"></div>',
  739. title: 'Report Elements',
  740. ncyBreadcrumb: {
  741. label: 'Report Elements'
  742. }
  743. }).state('app.report.view', {
  744. url: '/elements',
  745. templateUrl: "assets/views/report/report.html",
  746. resolve: loadSequence('jquery-sparkline', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportCtrl'),
  747. title: 'report.LISTDesc',
  748. ncyBreadcrumb: {
  749. label: 'Report View'
  750. }
  751. }).state('app.report.charging', {
  752. url: '/charging',
  753. templateUrl: "assets/views/report/charging.html",
  754. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'chargingCtrl'),
  755. title: 'report.LISTDesc',
  756. ncyBreadcrumb: {
  757. label: 'Report View'
  758. }
  759. }).state('app.report.analysis', {
  760. url: '/analysis',
  761. templateUrl: "assets/views/report/analysis.html",
  762. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportanalysisCtrl'),
  763. title: 'report.LISTDesc',
  764. ncyBreadcrumb: {
  765. label: 'Report View'
  766. }
  767. }).state('app.report.handlepeople', {
  768. url: '/handlepeople',
  769. templateUrl: "assets/views/report/handlepeople.html",
  770. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reporthandlepeopleCtrl'),
  771. title: 'report.LISTDesc',
  772. ncyBreadcrumb: {
  773. label: 'Report View'
  774. }
  775. }).state('app.report.handlegroup', {
  776. url: '/handlegroup',
  777. templateUrl: "assets/views/report/handlegroup.html",
  778. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reporthandlegroupCtrl'),
  779. title: 'report.LISTDesc',
  780. ncyBreadcrumb: {
  781. label: 'Report View'
  782. }
  783. }).state('app.report.suorce', {
  784. url: '/suorce',
  785. templateUrl: "assets/views/report/suorce.html",
  786. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportsuorceCtrl'),
  787. title: 'report.LISTDesc',
  788. ncyBreadcrumb: {
  789. label: 'Report View'
  790. }
  791. }).state('app.report.catergry', {
  792. url: '/catergry',
  793. templateUrl: "assets/views/report/catergry.html",
  794. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportcatergryCtrl'),
  795. title: 'report.LISTDesc',
  796. ncyBreadcrumb: {
  797. label: 'Report View'
  798. }
  799. }).state('app.report.efficiency', {
  800. url: '/efficiency',
  801. templateUrl: "assets/views/report/efficiency.html",
  802. resolve: loadSequence('jquery-sparkline', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'reportefficiencyCtrl'),
  803. title: 'report.LISTDesc',
  804. ncyBreadcrumb: {
  805. label: 'Report View'
  806. }
  807. }).state('app.report.nxreport', {
  808. url: '/nxreport',
  809. templateUrl: "assets/views/report/nxreport.html",
  810. // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
  811. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
  812. title: 'report.LISTDesc',
  813. ncyBreadcrumb: {
  814. label: 'Report View'
  815. }
  816. }).state('app.report.deck_report', {
  817. url: '/deck_report',
  818. templateUrl: "assets/views/report/deck_report.html",
  819. // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
  820. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'deck_reportCtrl'),
  821. title: 'report.LISTDesc',
  822. ncyBreadcrumb: {
  823. label: 'Report View'
  824. }
  825. }).state('app.report.incident_report', {
  826. url: '/incident_report',
  827. templateUrl: "assets/views/report/incident_report.html",
  828. // resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'spin', 'ladda', 'angular-ladda', 'moment', 'nxreportCtrl'),
  829. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'spin', 'ladda', 'angular-ladda', 'moment', 'incident_reportCtrl'),
  830. title: 'report.LISTDesc',
  831. ncyBreadcrumb: {
  832. label: 'Report View'
  833. }
  834. }).state('app.report.service_form', {//服务台报表-seimin
  835. url: '/service_form',
  836. templateUrl: "assets/views/report/service_form.html",
  837. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'moment', 'service_formCtrl'),
  838. title: 'report.LISTDesc',
  839. ncyBreadcrumb: {
  840. label: 'Report View'
  841. }
  842. }).state('app.report.event_form', {//事件报表-seimin
  843. url: '/event_form',
  844. templateUrl: "assets/views/report/event_form.html",
  845. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'spin', 'ladda', 'angular-ladda', 'moment', 'event_formCtrl'),
  846. title: 'report.LISTDesc',
  847. ncyBreadcrumb: {
  848. label: 'Report View'
  849. }
  850. }).state('app.release', {
  851. url: '/release',
  852. template: '<div ui-view class="fade-in-up"></div>',
  853. title: 'release',
  854. pdKey: 'bpm_release',
  855. ncyBreadcrumb: {
  856. label: 'release'
  857. }
  858. }).state('app.release.list', {
  859. url: '/list',
  860. templateUrl: "assets/views/release/list.html",
  861. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'releaseCtrl'),
  862. title: 'release.LIST',
  863. pdKey: 'bpm_release',
  864. icon: 'ti-list',
  865. ncyBreadcrumb: {
  866. label: 'release list'
  867. }
  868. }).state('app.release.editor', {
  869. url: '/editor/{taskId}/{processInstanceId}/{dataId}',
  870. templateUrl: "assets/views/customform/index.html",
  871. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
  872. title: 'release.NEW',
  873. pdKey: 'bpm_release',
  874. icon: 'fa-tint',
  875. ncyBreadcrumb: {
  876. label: 'new release'
  877. }
  878. })
  879. .state('app.process', {
  880. url: '/process',
  881. template: '<div ui-view class="fade-in-up"></div>',
  882. title: 'Process',
  883. ncyBreadcrumb: {
  884. label: 'Process'
  885. }
  886. }).state('app.process.list', {
  887. url: '/list',
  888. templateUrl: "assets/views/process/list.html",
  889. title: 'process.LIST',
  890. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'processCtrl'),
  891. icon: 'ti-list',
  892. ncyBreadcrumb: {
  893. label: 'Process list'
  894. }
  895. }).state('app.process.modeler', {
  896. url: '/modeler/{modelId}',
  897. templateUrl: "assets/views/process/modeler.html",
  898. resolve: loadSequence('jquery-sparkline', 'bpmn-js-properties', 'processCtrl'),
  899. title: 'process.MODELER',
  900. icon: 'fa-tint',
  901. ncyBreadcrumb: {
  902. label: 'modeler'
  903. }
  904. })
  905. .state('app.cmdb', {
  906. url: '/cmdb',
  907. template: '<div ui-view class="fade-in-up"></div>',
  908. title: 'CMDB',
  909. ncyBreadcrumb: {
  910. label: 'CMDB'
  911. }
  912. }).state('app.cmdb.plist', {
  913. url: '/plist',
  914. templateUrl: "assets/views/cmdb/plist.html",
  915. title: 'configuremanagerdb.PLIST',
  916. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'cmdbCtrl'),
  917. pdKey: 'bpm_configure',
  918. icon: 'ti-list',
  919. ncyBreadcrumb: {
  920. label: 'cmdbList'
  921. }
  922. }).state('app.cmdb.modeler', {
  923. url: '/editor/{taskId}/{processInstanceId}',
  924. templateUrl: "assets/views/customform/index.html",
  925. title: 'configuremanagerdb.MODELER',
  926. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'd3', 'customformCtrl'),
  927. pdKey: 'bpm_configure',
  928. icon: 'ti-list',
  929. ncyBreadcrumb: {
  930. label: 'modeler'
  931. }
  932. })
  933. .state('app.cmdb.list', {
  934. url: '/list',
  935. templateUrl: "assets/views/cmdb/list.html",
  936. title: 'configuremanagerdb.LIST',
  937. resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'ui.grid', 'customformCtrl', 'cmdbListCtrl'),
  938. icon: 'ti-list',
  939. ncyBreadcrumb: {
  940. label: 'cmdbList'
  941. }
  942. }).state('app.cmdb.viewer', {
  943. url: '/view/{modelId}',
  944. templateUrl: "assets/views/cmdb/view.html",
  945. resolve: loadSequence('jquery-sparkline', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'd3', 'cmdbViewCtrl'),
  946. title: 'configuremanagerdb.VIEW',
  947. icon: 'fa-tint',
  948. ncyBreadcrumb: {
  949. label: 'cmdb viewer'
  950. }
  951. }).state('app.cmdb.change', {
  952. url: '/change/{model}',
  953. templateUrl: "assets/views/customform/index.html",
  954. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  955. title: 'configuremanagerdb.MODELER',
  956. pdKey: 'bpm_configure',
  957. icon: 'fa-tint',
  958. ncyBreadcrumb: {
  959. label: 'new rfc'
  960. }
  961. })
  962. .state('app.knowledge', {
  963. url: '/knowledge',
  964. template: '<div ui-view class="fade-in-up"></div>',
  965. title: 'knowledge',
  966. ncyBreadcrumb: {
  967. label: 'knowledge'
  968. }
  969. }).state('app.knowledge.manager', {
  970. url: '/manager/{model}',
  971. templateUrl: "assets/views/knowledge/manager.html",
  972. 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'),
  973. title: 'knowledgebase.VIEW',
  974. // params: { "fromstate": null },
  975. cache: false,
  976. icon: 'ti-list',
  977. ncyBreadcrumb: {
  978. label: 'knowledge list'
  979. }
  980. }).state('app.knowledge.forum', {
  981. url: '/forum',
  982. templateUrl: "assets/views/knowledge/forum.html",
  983. resolve: loadSequence('jquery-sparkline', 'jquery-nestable-plugin', 'ng-nestable', 'moment', 'ckeditor-plugin', 'ckeditor', 'ladda', 'angular-ladda', 'ngTable', 'knowledgeCtrl'),
  984. title: 'knowledgebase.LIST',
  985. icon: 'fa-tint',
  986. ncyBreadcrumb: {
  987. label: 'knowledge forum'
  988. }
  989. }).state('app.knowledge.examine', {
  990. url: '/examine',
  991. templateUrl: "assets/views/knowledge/examine.html",
  992. 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'),
  993. title: 'knowledgebase.VIEW',
  994. icon: 'ti-list',
  995. ncyBreadcrumb: {
  996. label: 'knowledge list'
  997. }
  998. }).state('app.knowledge.create', {
  999. url: '/create/{formKey}/{service}/{model}',
  1000. templateUrl: "assets/views/knowledgeform.html",
  1001. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1002. title: 'knowledge.NEW',
  1003. icon: 'fa-tint',
  1004. ncyBreadcrumb: {
  1005. label: 'new knowledge'
  1006. }
  1007. }).state('app.knowledge.leve', {
  1008. url: '/create/{formKey}/{service}/{model}/{history}',
  1009. templateUrl: "assets/views/knowledgeform.html",
  1010. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1011. title: 'knowledge.NEW',
  1012. icon: 'fa-tint',
  1013. ncyBreadcrumb: {
  1014. label: 'new knowledge'
  1015. }
  1016. }).state('app.knowledge.jry_lishi', {
  1017. url: '/jry_lishi/{formKey}/{service}/{model}/{history}',
  1018. templateUrl: "assets/views/knowledgelishi.html",
  1019. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1020. title: 'knowledge.NEW',
  1021. // pdKey: 'knowledge',
  1022. icon: 'fa-tint',
  1023. ncyBreadcrumb: {
  1024. label: 'new knowledge'
  1025. }
  1026. }).state('app.knowledge.jry_save_history_data', {
  1027. url: '/jry_save_history_data/{model}',
  1028. templateUrl: "assets/views/jry_save_history_data.html",
  1029. resolve: loadSequence('jquery-sparkline', 'jry_save_history_dataCtrl'),
  1030. }).state('app.knowledge.editor', {
  1031. url: '/editor/{formKey}/{service}/{model}/{history}',
  1032. templateUrl: "assets/views/knowledgeform.html",
  1033. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1034. title: 'knowledge.NEW',
  1035. icon: 'fa-tint',
  1036. params: {
  1037. "fromstate": null
  1038. },
  1039. ncyBreadcrumb: {
  1040. label: 'new knowledge'
  1041. }
  1042. }).state('app.knowledge.jry_shenhe', {
  1043. url: '/jry_shenhe/{formKey}/{service}/{model}/{history}',
  1044. templateUrl: "assets/views/knowledgeshenhe.html",
  1045. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1046. title: 'knowledge.NEW',
  1047. icon: 'fa-tint',
  1048. params: {
  1049. "fromstate": null
  1050. },
  1051. ncyBreadcrumb: {
  1052. label: 'new knowledge'
  1053. }
  1054. }).state('app.knowledge.detail', {
  1055. url: '/detail/{formKey}/{service}/{model}/{history}',
  1056. templateUrl: "assets/views/knowledgedetail.html",
  1057. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'knowledgeformCtrl'),
  1058. title: 'knowledge.NEW',
  1059. // pdKey: 'knowledge',
  1060. icon: 'fa-tint',
  1061. ncyBreadcrumb: {
  1062. label: 'new knowledge'
  1063. }
  1064. })
  1065. .state('app.scheduling', {
  1066. url: '/scheduling',
  1067. template: '<div ui-view class="fade-in-up"></div>',
  1068. title: 'scheduling',
  1069. pdKey: 'bpm_scheduling',
  1070. ncyBreadcrumb: {
  1071. label: 'knowledge'
  1072. }
  1073. }).state('app.scheduling.myscheduling', {
  1074. url: '/myscheduling',
  1075. templateUrl: "assets/views/scheduling/mine.html",
  1076. resolve: loadSequence('moment', 'mwl.calendar', 'ui.select', 'calendarCtrl', 'schedulingCtrl'),
  1077. title: 'scheduling.MINE',
  1078. icon: 'fa-tint',
  1079. ncyBreadcrumb: {
  1080. label: 'scheduling'
  1081. }
  1082. })
  1083. .state('app.scheduling.schedulecalendar', {
  1084. url: '/schedule',
  1085. templateUrl: "assets/views/scheduling/calendar.html",
  1086. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'mwl.calendar', 'ui.select', 'calendarCtrl', 'angularFileUpload', 'schedulingCtrl'),
  1087. title: 'scheduling.CALENDAR',
  1088. icon: 'fa-tint',
  1089. ncyBreadcrumb: {
  1090. label: 'scheduling'
  1091. }
  1092. })
  1093. // .state('app.scheduling.schedulecalendar',{
  1094. // url: '/schedule',
  1095. // templateUrl: "assets/views/scheduling/matrialcalendar.html",
  1096. // resolve: loadSequence('jquery-sparkline', 'spin','ladda', 'angular-ladda','moment', 'material-calendar', 'ui.select', 'schedulingCtrl'),
  1097. // title: 'scheduling.CALENDAR',
  1098. // icon: 'fa-tint',
  1099. // ncyBreadcrumb: {
  1100. // label: 'scheduling'
  1101. // }
  1102. // })
  1103. .state('app.scheduling.list', {
  1104. url: '/list',
  1105. templateUrl: "assets/views/scheduling/list.html",
  1106. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'schedulingCtrl'),
  1107. title: 'scheduling.LIST',
  1108. pdKey: 'bpm_schedule',
  1109. icon: 'fa-tint',
  1110. ncyBreadcrumb: {
  1111. label: 'scheduling'
  1112. }
  1113. }).state('app.scheduling.editor', {
  1114. url: '/editor/{taskId}/{processInstanceId}/{id}',
  1115. templateUrl: "assets/views/customform/index.html",
  1116. title: 'scheduling.MODELER',
  1117. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'schedulingCtrl', 'customformCtrl'),
  1118. pdKey: 'bpm_schedule',
  1119. icon: 'ti-list',
  1120. ncyBreadcrumb: {
  1121. label: 'modeler'
  1122. }
  1123. }).state('app.scheduling.shift', {
  1124. url: '/shift',
  1125. templateUrl: "assets/views/scheduling/shift.html",
  1126. resolve: loadSequence('jquery-sparkline', 'schedulingCtrl'),
  1127. title: 'scheduling.SHIFT',
  1128. icon: 'fa-tint',
  1129. ncyBreadcrumb: {
  1130. label: 'scheduling shift'
  1131. }
  1132. }).state('app.scheduling.shiftrecord', {
  1133. url: '/shiftrecord',
  1134. templateUrl: "assets/views/scheduling/shiftrecord.html",
  1135. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'schedulingCtrl'),
  1136. title: 'scheduling.SHIFTRECORD',
  1137. icon: 'fa-tint',
  1138. ncyBreadcrumb: {
  1139. label: 'scheduling record'
  1140. }
  1141. }).state('app.means', {
  1142. url: '/means',
  1143. template: '<div ui-view class="fade-in-up"></div>',
  1144. title: 'means',
  1145. // pdKey: 'bpm_means',
  1146. ncyBreadcrumb: {
  1147. label: 'means'
  1148. }
  1149. }).state('app.means.list', {
  1150. url: '/list',
  1151. templateUrl: "assets/views/means/means.html",
  1152. 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'),
  1153. title: 'means.LIST',
  1154. // pdKey: 'bpm_means',
  1155. icon: 'ti-list',
  1156. ncyBreadcrumb: {
  1157. label: 'means list'
  1158. }
  1159. }).state('app.means.applylist', {
  1160. url: '/applylist',
  1161. templateUrl: "assets/views/means/meansapplylist.html",
  1162. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'meansapplyListCtrl'),
  1163. title: 'means.LIST',
  1164. pdKey: 'applicationForm',
  1165. icon: 'ti-list',
  1166. ncyBreadcrumb: {
  1167. label: 'means list'
  1168. }
  1169. }).state('app.means.applyediter', {
  1170. url: '/applyediter/{taskId}/{processInstanceId}/{id}',
  1171. templateUrl: "assets/views/means/cmdbform.html",
  1172. 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'),
  1173. title: 'means.NEW',
  1174. pdKey: 'bpm_applicationForm',
  1175. icon: 'fa-tint',
  1176. ncyBreadcrumb: {
  1177. label: 'new means'
  1178. }
  1179. }).state('app.means.outediter', {
  1180. url: '/outediter/{taskId}/{processInstanceId}/{id}',
  1181. templateUrl: "assets/views/means/cmdbform.html",
  1182. 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'),
  1183. title: 'means.NEW',
  1184. pdKey: 'bpm_applicationForm_subtract',
  1185. icon: 'fa-tint',
  1186. ncyBreadcrumb: {
  1187. label: 'new means'
  1188. }
  1189. }).state('app.means.meansmap', {
  1190. url: '/meansmap',
  1191. templateUrl: "assets/views/means/meansMap.html",
  1192. 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'),
  1193. title: 'means.NEW',
  1194. // pdKey: 'bpm_applicationForm_subtract',
  1195. icon: 'fa-tint',
  1196. ncyBreadcrumb: {
  1197. label: 'new means'
  1198. }
  1199. }).state('app.means.auditlist', {
  1200. url: '/auditlist',
  1201. templateUrl: "assets/views/means/cmdbauditlist.html",
  1202. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditlistCtrl'),
  1203. title: 'means.LIST',
  1204. pdKey: 'applicationForm',
  1205. icon: 'ti-list',
  1206. ncyBreadcrumb: {
  1207. label: 'means list'
  1208. }
  1209. }).state('app.means.newaudit', {
  1210. url: '/newaudit',
  1211. templateUrl: "assets/views/means/cmdbauditdetail.html",
  1212. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditdetailCtrl'),
  1213. title: 'means.LIST',
  1214. pdKey: 'applicationForm',
  1215. icon: 'ti-list',
  1216. ncyBreadcrumb: {
  1217. label: 'means list'
  1218. }
  1219. }).state('app.means.auditeditor', {
  1220. url: '/auditeditor/{model}',
  1221. templateUrl: "assets/views/means/cmdbauditeditor.html",
  1222. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'cmdbauditeditorCtrl'),
  1223. title: 'means.LIST',
  1224. pdKey: 'applicationForm',
  1225. icon: 'ti-list',
  1226. ncyBreadcrumb: {
  1227. label: 'means list'
  1228. }
  1229. // })
  1230. // .state('cmdbcontrast', {
  1231. // url: '/cmdbcontrast/{model}',
  1232. // templateUrl: "assets/views/means/cmdbcontrast.html",
  1233. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'Timeline', 'cmdbcontrastCtrl'),
  1234. // title: 'means.LIST',
  1235. // pdKey: 'applicationForm',
  1236. // icon: 'ti-list',
  1237. // ncyBreadcrumb: {
  1238. // label: 'means list'
  1239. // }
  1240. }).state('app.means.bill', {
  1241. url: '/bill/{formKey}/{service}/{model}',
  1242. templateUrl: "assets/views/means/meansBill.html",
  1243. 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'),
  1244. title: 'means.NEW',
  1245. // pdKey: 'bpm_means',
  1246. icon: 'fa-tint',
  1247. ncyBreadcrumb: {
  1248. label: 'new means'
  1249. }
  1250. }).state('app.means.view', {
  1251. url: '/bill/{formKey}/{service}/{model}',
  1252. templateUrl: "assets/views/means/meansview.html",
  1253. 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'),
  1254. title: 'means.NEW',
  1255. // pdKey: 'bpm_means',
  1256. icon: 'fa-tint',
  1257. ncyBreadcrumb: {
  1258. label: 'new means'
  1259. }
  1260. }).state('app.means.editor', {
  1261. url: '/editor/{formKey}/{service}',
  1262. templateUrl: "assets/views/means/tpl/meansform.html",
  1263. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'customformCtrl', 'meansformCtrl'),
  1264. title: 'means.NEW',
  1265. // pdKey: 'bpm_means',
  1266. icon: 'fa-tint',
  1267. ncyBreadcrumb: {
  1268. label: 'new means'
  1269. }
  1270. }).state('app.means.detail', {
  1271. // url: '/detail/{formKey}/{service}',
  1272. url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId/:id',
  1273. templateUrl: "assets/views/means/tpl/meansdetailform.html",
  1274. resolve: loadSequence('jquery-sparkline', 'api-check', 'ngTable', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'customformCtrl', 'meansdetailCtrl'),
  1275. title: 'means.NEW',
  1276. // pdKey: 'bpm_means',
  1277. icon: 'fa-tint',
  1278. ncyBreadcrumb: {
  1279. label: 'new means'
  1280. }
  1281. }) // 固定资产列表
  1282. .state('app.means.listd', {
  1283. url: '/fixed_list',
  1284. templateUrl: "assets/views/fixed/list.html",
  1285. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'fixedCtrl'),
  1286. })
  1287. // 固定查看
  1288. .state('app.means.fixed_see', {
  1289. url: '/fixed_see/{gdzc_label}/{gdzc_item}/{idd}',
  1290. templateUrl: "assets/views/fixed/see.html",
  1291. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_seeCtrl'),
  1292. })
  1293. // 固定资产属性
  1294. .state('app.means.fixed_see.attribute', {
  1295. url: '/attribute/{gdzc_label1}/{gdzc_item1}',
  1296. templateUrl: "assets/views/fixed/attribute.html",
  1297. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_attributeCtrl'),
  1298. })
  1299. // 固定操作历史
  1300. .state('app.means.fixed_see.history', {
  1301. url: '/history/{idd}',
  1302. templateUrl: "assets/views/fixed/history.html",
  1303. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_historyCtrl'),
  1304. })
  1305. // 固定关联流程
  1306. .state('app.means.fixed_see.relation', {
  1307. url: '/relation/{idd}',
  1308. templateUrl: "assets/views/fixed/relation.html",
  1309. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'gdzc_relationCtrl'),
  1310. })
  1311. // 固定编辑
  1312. .state('app.means.fixed_edit', {
  1313. url: '/fixed_edit/{formKey}/{service}/{model}',
  1314. templateUrl: "assets/views/fixed/gdzc_edit.html",
  1315. 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'),
  1316. title: 'means.NEW',
  1317. // pdKey: 'bpm_means',
  1318. icon: 'fa-tint',
  1319. ncyBreadcrumb: {
  1320. label: 'new means'
  1321. }
  1322. })
  1323. // 业务系统列表
  1324. .state('app.means.business_list', {
  1325. url: '/business_list',
  1326. templateUrl: "assets/views/business/list.html",
  1327. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'businessCtrl'),
  1328. })
  1329. // 耗材列表
  1330. .state('app.means.consumables_list', {
  1331. url: '/consumables_list',
  1332. templateUrl: "assets/views/consumables/list.html",
  1333. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_consumablesCtrl'),
  1334. })
  1335. // 耗材查看
  1336. .state('app.means.consumables_see', {
  1337. url: '/consumables_see/{idd}',
  1338. templateUrl: "assets/views/consumables/see.html",
  1339. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_seeCtrl'),
  1340. })
  1341. // 耗材操作历史
  1342. .state('app.means.consumables_see.operation_history', {
  1343. url: '/operation_history/{idd}',
  1344. templateUrl: "assets/views/consumables/operation_history.html",
  1345. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_historyCtrl'),
  1346. }) // 耗材关联流程
  1347. // 耗材关联流程
  1348. .state('app.means.consumables_see.relation', {
  1349. url: '/relation/{idd}',
  1350. templateUrl: "assets/views/consumables/relation.html",
  1351. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'hc_relationCtrl'),
  1352. }).state('app.inspection', {
  1353. url: '/inspection',
  1354. template: '<div ui-view class="fade-in-up"></div>',
  1355. title: 'inspection',
  1356. // pdKey: 'bpm_means',
  1357. ncyBreadcrumb: {
  1358. label: 'inspection'
  1359. }
  1360. })
  1361. //计划任务
  1362. .state('app.plan', {
  1363. url: '/plan',
  1364. template: '<div ui-view class="fade-in-up"></div>',
  1365. title: 'plan Elements',
  1366. ncyBreadcrumb: {
  1367. label: 'plan Elements'
  1368. }
  1369. })
  1370. //计划任务>定时报告
  1371. .state('app.plan.timingMessageSending', {
  1372. url: '/timingMessageSending',
  1373. templateUrl: "assets/views/plan/timingMessageSending.html",
  1374. resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'timingMessageSendingCtrl'),
  1375. title: 'inspection.LIST',
  1376. icon: 'ti-list',
  1377. ncyBreadcrumb: {
  1378. label: 'inspection list'
  1379. }
  1380. })
  1381. //巡检管理>巡检计划
  1382. .state('app.inspection.inspectPlan', {
  1383. url: '/inspectPlan',
  1384. templateUrl: "assets/views/inspect/inspectPlan.html",
  1385. resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectPlanCtrl'),
  1386. title: 'inspection.LIST',
  1387. icon: 'ti-list',
  1388. ncyBreadcrumb: {
  1389. label: 'inspection list'
  1390. }
  1391. })
  1392. //巡检管理>巡检报告
  1393. .state('app.inspection.inspectReport', {
  1394. url: '/inspectReport',
  1395. templateUrl: "assets/views/inspect/inspectReport.html",
  1396. resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectReportCtrl'),
  1397. title: 'inspection.LIST',
  1398. icon: 'ti-list',
  1399. ncyBreadcrumb: {
  1400. label: 'inspection list'
  1401. }
  1402. })
  1403. //巡检管理>巡检列表
  1404. .state('app.inspection.inspectList', {
  1405. url: '/inspectList',
  1406. templateUrl: "assets/views/inspect/inspectList.html",
  1407. resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'inspectListCtrl'),
  1408. title: 'inspection.LIST',
  1409. icon: 'ti-list',
  1410. ncyBreadcrumb: {
  1411. label: 'inspection list'
  1412. }
  1413. })
  1414. //巡检管理>巡检计划编辑
  1415. .state('app.inspection.editor', {
  1416. url: '/editor/{formKey}/{service}/{model}/{labelTree}',
  1417. templateUrl: "assets/views/form.html",
  1418. title: 'ui-form',
  1419. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'multi.select.tree', 'moment', 'customformCtrl', 'inspectForm'),
  1420. ncyBreadcrumb: {
  1421. label: 'ui-form'
  1422. }
  1423. })
  1424. //巡检管理>巡检计划查看
  1425. .state('app.inspection.form', {
  1426. url: '/form/{formKey}/{service}/{model}',
  1427. templateUrl: "assets/views/system/tpl/detail.html",
  1428. title: 'ui-form',
  1429. resolve: loadSequence('jquery-sparkline', 'api-check', 'ui.grid', 'formly', 'angularFormly', 'spin', 'ladda', 'angular-ladda', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'inspectForm'),
  1430. ncyBreadcrumb: {
  1431. label: 'ui-form'
  1432. }
  1433. })
  1434. //巡检列表>巡检列表编辑
  1435. .state('app.inspection.inspectListEditor', {
  1436. url: '/inspectListEditor/{pdKey}/{taskId}/{processInstanceId}/{formUiEdit}/{model}/{dataId}',
  1437. // url: '/editor',
  1438. templateUrl: "assets/views/customform/index.html",
  1439. 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'),
  1440. title: 'form editor',
  1441. // pdKey: 'inspectionListForm',
  1442. icon: 'fa-tint',
  1443. ncyBreadcrumb: {
  1444. label: 'editor'
  1445. }
  1446. })
  1447. //巡检列表>巡检列表查看
  1448. .state('app.inspection.inspectListdetail', {
  1449. url: '/inspectListdetail/{pdKey}/{taskId}/{processInstanceId}/{formKey}/{model}/{dataId}',
  1450. // url: '/inspectListdetail/:formUiName/:taskId/:processInstanceId',
  1451. templateUrl: "assets/views/customform/detail.html",
  1452. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
  1453. title: 'form detail',
  1454. icon: 'ti-list',
  1455. ncyBreadcrumb: {
  1456. label: 'detail'
  1457. }
  1458. })
  1459. //系统列表
  1460. .state('app.system', {
  1461. url: '/system',
  1462. template: '<div ui-view class="fade-in-up"></div>',
  1463. title: 'System Elements',
  1464. ncyBreadcrumb: {
  1465. label: 'System Elements'
  1466. }
  1467. //事件分类设置--jry
  1468. }).state('app.system.jry_incidentSet', {
  1469. url: '/jry_incidentSet',
  1470. templateUrl: "assets/views/system/jry_incidentSet.html",
  1471. // resolve: loadSequence( 'jquery-sparkline', 'spin', 'ladda', 'angular-ladda','ui.select', 'multi.select.tree', 'angularBootstrapNavTree','jry_incidentSetCt'),
  1472. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'moment', 'angularPrint', 'angularFileUpload', 'ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'jry_incidentSetCt'),
  1473. title: 'Nav Manager',
  1474. ncyBreadcrumb: {
  1475. label: 'User Manager'
  1476. }
  1477. // title: 'incident.LIST',
  1478. // pdKey: 'bpm_incident',
  1479. // icon: 'ti-list',
  1480. // ncyBreadcrumb: {
  1481. // label: 'incident list'
  1482. // }
  1483. }).state('app.system.easyform', {
  1484. url: '/easyform',
  1485. templateUrl: "assets/views/system/easyform/easyform.html",
  1486. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'nya-bs-select', 'mwl.calendar', 'customformCtrl', 'easyformCtrl'),
  1487. title: 'easy form',
  1488. icon: 'ti-list',
  1489. ncyBreadcrumb: {
  1490. label: 'easyform'
  1491. }
  1492. }).state('app.system.pzxgl', {
  1493. url: '/pzxgl',
  1494. templateUrl: "assets/views/system/pzxgl_wt.html",
  1495. 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'),
  1496. title: 'pzxgl',
  1497. icon: 'ti-list',
  1498. ncyBreadcrumb: {
  1499. label: 'pzxgl'
  1500. }
  1501. }).state('app.system.qxgl', {
  1502. url: '/qxgl',
  1503. templateUrl: "assets/views/system/qxgl_wt.html",
  1504. 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'),
  1505. title: 'pzxgl',
  1506. icon: 'ti-list',
  1507. ncyBreadcrumb: {
  1508. label: 'qxgl'
  1509. }
  1510. // 服务指南
  1511. }).state('app.system.information', {
  1512. url: '/information',
  1513. template: '<div ui-view class="fade-in-up"></div>',
  1514. title: 'Process Plan',
  1515. ncyBreadcrumb: {
  1516. label: 'Process Plan'
  1517. }
  1518. // 服务指南分类
  1519. }).state('app.system.information.category', {
  1520. url: '/category',
  1521. templateUrl: "assets/views/system/informationCate.html",
  1522. 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'),
  1523. title: 'knowledge.VIEW',
  1524. ncyBreadcrumb: {
  1525. label: 'knowledge list'
  1526. }
  1527. }).state('app.system.information.list', {
  1528. url: '/list',
  1529. templateUrl: "assets/views/system/information.html",
  1530. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'informationCtrl'),
  1531. title: 'information',
  1532. icon: 'ti-list',
  1533. ncyBreadcrumb: {
  1534. label: 'information'
  1535. }
  1536. // 流程节点
  1537. }).state('app.system.processNode', {
  1538. url: '/processNode',
  1539. template: '<div ui-view class="fade-in-up"></div>',
  1540. title: 'processNode Plan',
  1541. ncyBreadcrumb: {
  1542. label: 'processNode Plan'
  1543. }
  1544. }).state('app.system.processNode.list', {
  1545. url: '/list',
  1546. templateUrl: "assets/views/system/processNode.html",
  1547. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'processNodeCtrl'),
  1548. title: 'processNode',
  1549. icon: 'ti-list',
  1550. ncyBreadcrumb: {
  1551. label: 'processNode'
  1552. }
  1553. }).state('app.system.notification', {//消息通知管理
  1554. url: '/notification',
  1555. template: '<div ui-view class="fade-in-up"></div>',
  1556. title: 'notification Plan',
  1557. ncyBreadcrumb: {
  1558. label: 'notification Plan'
  1559. }
  1560. }).state('app.system.notification.list', {
  1561. url: '/list',
  1562. templateUrl: "assets/views/system/notification.html",
  1563. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'notificationCtrl'),
  1564. title: 'notification',
  1565. icon: 'ti-list',
  1566. ncyBreadcrumb: {
  1567. label: 'notification'
  1568. }
  1569. }).state('app.system.organization', {
  1570. url: '/organization',
  1571. template: '<div ui-view class="fade-in-up"></div>',
  1572. title: 'System Elements',
  1573. ncyBreadcrumb: {
  1574. label: 'System Elements'
  1575. }
  1576. }).state('app.system.organization.place', {
  1577. url: '/place',
  1578. templateUrl: "assets/views/system/organization/place.html",
  1579. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'placeCtrl'),
  1580. title: 'Nav Manager',
  1581. ncyBreadcrumb: {
  1582. label: 'User Manager'
  1583. }
  1584. // 查号管理
  1585. }).state('app.system.phoneList', {
  1586. url: '/phoneList',
  1587. templateUrl: "assets/views/system/phoneList.html",
  1588. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'checklist-model', 'phoneListCtrl'),
  1589. title: 'Nav Manager',
  1590. ncyBreadcrumb: {
  1591. label: 'User Manager'
  1592. }
  1593. // 耗材分类维护
  1594. }).state('app.system.organization.hc_flwh', {
  1595. url: '/hc_flwh',
  1596. templateUrl: "assets/views/system/organization/hc_flwh.html",
  1597. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'hc_flwhCtrl'),
  1598. title: 'Nav Manager',
  1599. ncyBreadcrumb: {
  1600. label: 'User Manager'
  1601. }
  1602. //管理单位维护
  1603. }).state('app.system.organization.ywxt_gldw', {
  1604. url: '/ywxt_gldw',
  1605. templateUrl: "assets/views/system/organization/ywxt_gldw.html",
  1606. resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'ladda', 'angular-ladda', 'ui.grid', 'ywxt_gldwCtrl'),
  1607. title: 'Nav Manager',
  1608. ncyBreadcrumb: {
  1609. label: 'User Manager'
  1610. }
  1611. }).state('app.system.organization.worktime', {
  1612. url: '/worktime',
  1613. templateUrl: "assets/views/system/organization/worktime.html",
  1614. resolve: loadSequence('jquery-nestable-plugin', 'ui.select', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'worktimeCtrl'),
  1615. title: 'Nav Manager',
  1616. ncyBreadcrumb: {
  1617. label: 'User Manager'
  1618. }
  1619. }).state('app.system.organization.dept', {
  1620. url: '/dept',
  1621. templateUrl: "assets/views/system/organization/dept.html",
  1622. 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'),
  1623. title: 'Nav Manager',
  1624. ncyBreadcrumb: {
  1625. label: 'User Manager'
  1626. }
  1627. }).state('app.system.organization.serverslevel', {
  1628. url: '/serverslevel',
  1629. templateUrl: "assets/views/system/organization/serverslevel.html",
  1630. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'serverslevelCtrl'),
  1631. title: 'Nav Manager',
  1632. ncyBreadcrumb: {
  1633. label: 'User Manager'
  1634. }
  1635. }).state('app.system.userdesign', {
  1636. url: '/userdesign',
  1637. template: '<div ui-view class="fade-in-up"></div>',
  1638. title: 'System Elements',
  1639. ncyBreadcrumb: {
  1640. label: 'System Elements'
  1641. }
  1642. }).state('app.system.userdesign.schedulecalendar', {
  1643. url: '/schedule',
  1644. templateUrl: "assets/views/system/user/matrialcalendar.html",
  1645. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'moment', 'material-calendar', 'ui.select', 'schedulingplanCtrl'),
  1646. title: 'scheduling.CALENDAR',
  1647. icon: 'fa-tint',
  1648. ncyBreadcrumb: {
  1649. label: 'scheduling'
  1650. }
  1651. }).state('app.system.userdesign.group', {
  1652. url: '/group',
  1653. templateUrl: "assets/views/system/user/group.html",
  1654. title: 'scheduling.CALENDAR',
  1655. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'groupCtrl'),
  1656. ncyBreadcrumb: {
  1657. label: 'User List Manager'
  1658. }
  1659. // }).state('app.system.userdesign.group', {
  1660. // url: '/group',
  1661. // templateUrl: "assets/views/system/user/group.html",
  1662. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'ui.grid', 'groupCtrl'),
  1663. // title: 'scheduling.CALENDAR',
  1664. // icon: 'fa-tint',
  1665. // ncyBreadcrumb: {
  1666. // label: 'scheduling'
  1667. // }
  1668. }).state('app.system.userdesign.scheduletime', {
  1669. url: '/scheduletime',
  1670. templateUrl: "assets/views/system/user/scheduletime.html",
  1671. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'scheduletimeCtrl'),
  1672. title: 'scheduling.CALENDAR',
  1673. icon: 'fa-tint',
  1674. ncyBreadcrumb: {
  1675. label: 'scheduling'
  1676. }
  1677. }).state('app.system.processdesign', {
  1678. url: '/processdesign',
  1679. template: '<div ui-view class="fade-in-up"></div>',
  1680. title: 'Process Plan',
  1681. ncyBreadcrumb: {
  1682. label: 'Process Plan'
  1683. }
  1684. }).state('app.system.processdesign.incidentplan', {
  1685. url: '/incidentplan',
  1686. template: '<div ui-view class="fade-in-up"></div>',
  1687. title: 'Process Plan',
  1688. ncyBreadcrumb: {
  1689. label: 'Process Plan'
  1690. }
  1691. }).state('app.system.processdesign.incidentplan.category', {
  1692. url: '/category',
  1693. templateUrl: "assets/views/system/processdesign/incidentplan/incidentcategory.html",
  1694. resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'incidentcateCtrl'),
  1695. title: 'Nav Manager',
  1696. ncyBreadcrumb: {
  1697. label: 'User Manager'
  1698. }
  1699. // 事件设置
  1700. }).state('app.system.processdesign.incidentplan.incidentSetUp', {
  1701. url: '/incidentSetUp',
  1702. templateUrl: "assets/views/system/processdesign/incidentplan/incidentSetUp.html",
  1703. resolve: loadSequence('ui.select', 'multi.select.tree', 'angularBootstrapNavTree', 'spin', 'ladda', 'angular-ladda', 'incidentSetUpCtrl'),
  1704. title: 'Nav Manager',
  1705. ncyBreadcrumb: {
  1706. label: 'User Manager'
  1707. }
  1708. }).state('app.system.processdesign.incidentplan.servicetype', {
  1709. url: '/servicetype',
  1710. templateUrl: "assets/views/system/processdesign/incidentplan/servicetype.html",
  1711. 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'),
  1712. title: 'Nav Manager',
  1713. ncyBreadcrumb: {
  1714. label: 'User Manager'
  1715. }
  1716. }).state('app.system.processdesign.incidentplan.source', {
  1717. url: '/source',
  1718. templateUrl: "assets/views/system/processdesign/incidentplan/incidentsource.html",
  1719. 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'),
  1720. title: 'Nav Manager',
  1721. ncyBreadcrumb: {
  1722. label: 'User Manager'
  1723. }
  1724. }).state('app.system.processdesign.incidentplan.closecode', {
  1725. url: '/closecode',
  1726. templateUrl: "assets/views/system/processdesign/incidentplan/closecode.html",
  1727. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'closecodeCtrl'),
  1728. title: 'Nav Manager',
  1729. ncyBreadcrumb: {
  1730. label: 'User Manager'
  1731. }
  1732. }).state('app.system.processdesign.incidentplan.influence', {
  1733. url: '/influence',
  1734. templateUrl: "assets/views/system/processdesign/incidentplan/influence.html",
  1735. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'influenceCtrl'),
  1736. title: 'Nav Manager',
  1737. ncyBreadcrumb: {
  1738. label: 'User Manager'
  1739. }
  1740. }).state('app.system.processdesign.incidentplan.emergency', {
  1741. url: '/emergency',
  1742. templateUrl: "assets/views/system/processdesign/incidentplan/emergency.html",
  1743. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'emergencyCtrl'),
  1744. title: 'Nav Manager',
  1745. ncyBreadcrumb: {
  1746. label: 'User Manager'
  1747. }
  1748. }).state('app.system.processdesign.incidentplan.priority', {
  1749. url: '/priority',
  1750. templateUrl: "assets/views/system/processdesign/incidentplan/priority.html",
  1751. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'priorityCtrl'),
  1752. title: 'Nav Manager',
  1753. ncyBreadcrumb: {
  1754. label: 'User Manager'
  1755. }
  1756. }).state('app.system.processdesign.incidentplan.prioritymatrix', {
  1757. url: '/prioritymatrix',
  1758. templateUrl: "assets/views/system/processdesign/incidentplan/prioritymatrix.html",
  1759. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'xeditableCtrl', 'prioritymatrixCtrl'),
  1760. title: 'Nav Manager',
  1761. ncyBreadcrumb: {
  1762. label: 'User Manager'
  1763. }
  1764. }).state('app.system.navmanager', {
  1765. url: '/navmanager',
  1766. templateUrl: "assets/views/system/navmanager.html",
  1767. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'angularTree', 'navmanagerCtrl'),
  1768. title: 'Nav Manager',
  1769. ncyBreadcrumb: {
  1770. label: 'User Manager'
  1771. }
  1772. }).state('app.system.navmanager.aa', {
  1773. url: '/aa',
  1774. // templateUrl: "测试123",
  1775. template: "测试123"
  1776. }).state('app.system.navmanager.form', {
  1777. url: '/forms/{formKey}/{service}/{model}',
  1778. templateUrl: "assets/views/system/tpl/form.html",
  1779. title: 'ui-form',
  1780. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  1781. ncyBreadcrumb: {
  1782. label: 'ui-form'
  1783. }
  1784. })
  1785. .state('app.system.systemmanager', {
  1786. url: '/systemmanager',
  1787. templateUrl: "assets/views/system/systemmanager.html",
  1788. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'systemmanagerCtrl'),
  1789. title: 'Nav Manager',
  1790. ncyBreadcrumb: {
  1791. label: 'User Manager'
  1792. }
  1793. })
  1794. //系统配置seimin
  1795. .state('app.system.sysconfig', {
  1796. url: '/sysconfig',
  1797. templateUrl: "assets/views/system/sysconfig.html",
  1798. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'sysconfigCtrl'),
  1799. title: 'Nav Manager',
  1800. ncyBreadcrumb: {
  1801. label: 'User Manager'
  1802. }
  1803. })
  1804. //微信配置seimin
  1805. .state('app.system.wxconfig', {
  1806. url: '/wxconfig',
  1807. templateUrl: "assets/views/system/wxconfig.html",
  1808. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'wxconfigCtrl'),
  1809. title: 'Nav Manager',
  1810. ncyBreadcrumb: {
  1811. label: 'User Manager'
  1812. }
  1813. })
  1814. //system user
  1815. .state('app.system.user', {
  1816. url: '/user',
  1817. template: '<div ui-view class="fade-in-up"></div>',
  1818. title: 'User Manager',
  1819. ncyBreadcrumb: {
  1820. label: 'User Manager'
  1821. }
  1822. })
  1823. .state('app.system.userdesign.requester', {
  1824. url: '/requester',
  1825. templateUrl: "assets/views/system/user/requester.html",
  1826. title: 'User List Manager',
  1827. resolve: loadSequence('jquery-sparkline', 'spin', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ladda', 'angular-ladda', 'ui.grid', 'angularFileUpload', 'requestermgrCtrl'),
  1828. ncyBreadcrumb: {
  1829. label: 'User List Manager'
  1830. }
  1831. }).state('app.system.user.user', {
  1832. url: '/users',
  1833. templateUrl: "assets/views/system/user/users.html",
  1834. title: 'User List Manager',
  1835. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'usermgrCtrl'),
  1836. ncyBreadcrumb: {
  1837. label: 'User List Manager'
  1838. }
  1839. }).state('app.system.thirdPartyCompany', {
  1840. url: '/thirdPartyCompany',
  1841. templateUrl: "assets/views/system/thirdPartyCompany.html",
  1842. title: 'User List Manager',
  1843. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'thirdPartyCompanyCtrl'),
  1844. ncyBreadcrumb: {
  1845. label: 'User List Manager'
  1846. }
  1847. }).state('app.system.user.role', {
  1848. url: '/roles',
  1849. templateUrl: "assets/views/system/user/role.html",
  1850. title: 'User List Manager',
  1851. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'angularBootstrapNavTree', 'ui.grid', 'rolemgrCtrl'),
  1852. ncyBreadcrumb: {
  1853. label: 'User List Manager'
  1854. }
  1855. }).state('app.system.user.power', {
  1856. url: '/power',
  1857. templateUrl: "assets/views/system/user/power.html",
  1858. title: 'User List Manager',
  1859. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'angularBootstrapNavTree', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'powerCtrl'),
  1860. ncyBreadcrumb: {
  1861. label: 'User List Manager'
  1862. }
  1863. }).state('app.system.dashboard', {
  1864. url: '/dashboard',
  1865. template: '<div ui-view class="fade-in-up"></div>',
  1866. title: 'User Manager',
  1867. ncyBreadcrumb: {
  1868. label: 'User Manager'
  1869. }
  1870. }).state('app.system.dashboard.editor', {
  1871. url: '/editor',
  1872. templateUrl: "assets/views/system/dashboard/dashboardeditor.html",
  1873. title: 'User List Manager',
  1874. resolve: loadSequence('jquery-nestable-plugin', 'spin', 'ladda', 'angular-ladda', 'ng-nestable', 'ngTable', 'ckeditor', 'jquery-sparkline', 'sortable', 'ui.select',
  1875. 'ui.mask', 'api-check', 'formly', 'moment', 'mwl.calendar', 'angularFormly', 'customformCtrl', 'dashboardnewCtrl'),
  1876. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'xeditable', 'angular-ladda', 'ui.select', 'multi.select.tree', 'touchspin-plugin', 'angularTree', 'angularBootstrapNavTree', 'dashboardnewCtrl'),
  1877. ncyBreadcrumb: {
  1878. label: 'User List Manager'
  1879. }
  1880. }).state('app.system.dashboard.create', {
  1881. url: '/create',
  1882. templateUrl: "assets/views/system/dashboard/dashboardAdd.html",
  1883. title: 'User List Manager',
  1884. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'ui.select', 'dashboardAddCtrl'),
  1885. ncyBreadcrumb: {
  1886. label: 'User List Manager'
  1887. }
  1888. }).state('app.system.form', {
  1889. url: '/forms/{formKey}/{service}/{model}/{isNoticeEdit}/{isServiceGuideEdit}',
  1890. templateUrl: "assets/views/system/tpl/form.html",
  1891. title: 'ui-form',
  1892. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'angularBootstrapNavTree', 'customformCtrl', 'sysformCtrl'),
  1893. ncyBreadcrumb: {
  1894. label: 'ui-form'
  1895. }
  1896. }).state('app.system.form_editor', {
  1897. url: '/form_editor/{formKey}/{service}/{model}',
  1898. templateUrl: "assets/views/system/tpl/detail.html",
  1899. title: 'ui-form',
  1900. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'ckeditor-plugin', 'ckeditor', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  1901. ncyBreadcrumb: {
  1902. label: 'ui-form'
  1903. }
  1904. }).state('app.system.form_role', {
  1905. url: '/form_role/{formKey}/{service}/{model}',
  1906. templateUrl: "assets/views/system/tpl/form.html",
  1907. title: 'ui-form',
  1908. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  1909. ncyBreadcrumb: {
  1910. label: 'ui-form'
  1911. }
  1912. }).state('app.system.user.requester', {
  1913. url: '/requester/{formKey}/{service}/{model}',
  1914. // url: '/forms/{model}/{service}/{fields}/{url}/{cancelUrl}/{extjson}',
  1915. templateUrl: "assets/views/system/tpl/form.html",
  1916. title: 'ui-form',
  1917. resolve: loadSequence('jquery-sparkline', 'api-check', 'spin', 'ladda', 'angular-ladda', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  1918. ncyBreadcrumb: {
  1919. label: 'ui-form'
  1920. }
  1921. }).state('app.system.selfDefinedReport', {
  1922. // 自定义报表
  1923. url: '/selfDefinedReport',
  1924. templateUrl: "assets/views/system/selfDefinedReport/selfDefinedReport.html",
  1925. resolve: loadSequence('jquery-nestable-plugin', 'angularBootstrapNavTree', 'angularFileUpload', 'ui.select', 'spin', 'ui.grid', 'xeditable', 'checklist-model', 'echarts', 'selfDefinedReportCtrl'),
  1926. title: 'Nav Manager',
  1927. ncyBreadcrumb: {
  1928. label: 'User Manager'
  1929. }
  1930. }).state('app.system.knowledge', {
  1931. url: '/knowledge',
  1932. template: '<div ui-view class="fade-in-up"></div>',
  1933. title: 'Process Plan',
  1934. ncyBreadcrumb: {
  1935. label: 'Process Plan'
  1936. }
  1937. }).state('app.system.knowledge.knowledgebase', {
  1938. url: '/knowledgebase',
  1939. templateUrl: "assets/views/system/knowledge.html",
  1940. 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'),
  1941. title: 'knowledge.VIEW',
  1942. ncyBreadcrumb: {
  1943. label: 'knowledge list'
  1944. }
  1945. }).state('app.system.knowledge.category', {
  1946. url: '/category',
  1947. templateUrl: "assets/views/system/processdesign/knowledgedesign/knowledgecategore.html",
  1948. 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'),
  1949. title: 'knowledge.VIEW',
  1950. ncyBreadcrumb: {
  1951. label: 'knowledge list'
  1952. }
  1953. // 公告管理
  1954. }).state('app.system.notice', {
  1955. url: '/notice',
  1956. template: '<div ui-view class="fade-in-up"></div>',
  1957. title: 'Process Plan',
  1958. ncyBreadcrumb: {
  1959. label: 'Process Plan'
  1960. }
  1961. }).state('app.system.notice.list', {
  1962. url: '/list',
  1963. templateUrl: "assets/views/system/notice/notice.html",
  1964. title: 'User List Manager',
  1965. resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.select', 'moment', 'angularBootstrapNavTree', 'multi.select.tree', 'ui.grid', 'noticeCtrl'),
  1966. ncyBreadcrumb: {
  1967. label: 'User List Manager'
  1968. }
  1969. }) //end system
  1970. .state('app.externalservice', {
  1971. url: '/externalservice',
  1972. template: '<div ui-view class="fade-in-up"></div>',
  1973. title: 'externalservice',
  1974. // pdKey: 'bpm_means',
  1975. ncyBreadcrumb: {
  1976. label: 'externalservice'
  1977. }
  1978. }).state('app.externalservice.dnsmanagelist', {
  1979. url: '/dnsmanagelist',
  1980. templateUrl: "assets/views/externalservice/dnsmanage.html",
  1981. 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'),
  1982. title: 'dnsmanage.VIEW',
  1983. ncyBreadcrumb: {
  1984. label: 'dnsmanage list'
  1985. }
  1986. }).state('app.externalservice.dnsmanageedit', {
  1987. url: '/dnsmanageedit/{formKey}/{service}/{model}',
  1988. templateUrl: "assets/views/system/tpl/form.html",
  1989. title: 'ui-form',
  1990. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  1991. ncyBreadcrumb: {
  1992. label: 'ui-form'
  1993. }
  1994. }).state('app.externalservice.emailhandlelist', {
  1995. url: '/emailhandlelist',
  1996. templateUrl: "assets/views/externalservice/emailhandle.html",
  1997. 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'),
  1998. title: 'dnsmanage.VIEW',
  1999. ncyBreadcrumb: {
  2000. label: 'dnsmanage list'
  2001. }
  2002. }).state('app.externalservice.emailhandleedit', {
  2003. url: '/emailhandleedit/{formKey}/{service}/{model}',
  2004. templateUrl: "assets/views/system/tpl/form.html",
  2005. title: 'ui-form',
  2006. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  2007. ncyBreadcrumb: {
  2008. label: 'ui-form'
  2009. }
  2010. }).state('app.externalservice.networkapply', {
  2011. url: '/networkapply',
  2012. templateUrl: "assets/views/externalservice/network/networkapply.html",
  2013. 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'),
  2014. title: 'dnsmanage.VIEW',
  2015. ncyBreadcrumb: {
  2016. label: 'dnsmanage list'
  2017. }
  2018. }).state('app.externalservice.networkapplyedit', {
  2019. url: '/networkapplyedit/{formKey}/{service}/{model}',
  2020. templateUrl: "assets/views/system/tpl/form.html",
  2021. title: 'ui-form',
  2022. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  2023. ncyBreadcrumb: {
  2024. label: 'ui-form'
  2025. }
  2026. }).state('app.externalservice.ipapply', {
  2027. url: '/ipapply',
  2028. templateUrl: "assets/views/externalservice/network/ipapply.html",
  2029. 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'),
  2030. title: 'dnsmanage.VIEW',
  2031. ncyBreadcrumb: {
  2032. label: 'dnsmanage list'
  2033. }
  2034. }).state('app.externalservice.ipapplyedit', {
  2035. url: '/ipapplyedit/{formKey}/{service}/{model}',
  2036. templateUrl: "assets/views/system/tpl/form.html",
  2037. title: 'ui-form',
  2038. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  2039. ncyBreadcrumb: {
  2040. label: 'ui-form'
  2041. }
  2042. }).state('app.externalservice.roommanage', {
  2043. url: '/roommanage',
  2044. templateUrl: "assets/views/externalservice/roommanage.html",
  2045. 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'),
  2046. title: 'dnsmanage.VIEW',
  2047. ncyBreadcrumb: {
  2048. label: 'dnsmanage list'
  2049. }
  2050. }).state('app.externalservice.roommanageedit', {
  2051. url: '/roommanageedit/{formKey}/{service}/{model}',
  2052. templateUrl: "assets/views/system/tpl/form.html",
  2053. title: 'ui-form',
  2054. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'sysformCtrl'),
  2055. ncyBreadcrumb: {
  2056. label: 'ui-form'
  2057. }
  2058. }).state('app.externalservice.faultrepair', {
  2059. url: '/faultrepair',
  2060. templateUrl: "assets/views/externalservice/faultrepair.html",
  2061. 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'),
  2062. title: 'dnsmanage.VIEW',
  2063. ncyBreadcrumb: {
  2064. label: 'dnsmanage list'
  2065. }
  2066. }).state('app.externalservice.faultrepairedit', {
  2067. url: '/faultrepairedit/{formKey}/{service}/{model}',
  2068. templateUrl: "assets/views/system/tpl/form.html",
  2069. title: 'ui-form',
  2070. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  2071. ncyBreadcrumb: {
  2072. label: 'ui-form'
  2073. }
  2074. }).state('app.externalservice.automaticlogin', {
  2075. url: '/automaticlogin',
  2076. templateUrl: "assets/views/externalservice/automaticlogin.html",
  2077. 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'),
  2078. title: 'dnsmanage.VIEW',
  2079. ncyBreadcrumb: {
  2080. label: 'dnsmanage list'
  2081. }
  2082. }).state('app.externalservice.automaticloginedit', {
  2083. url: '/automaticloginedit/{formKey}/{service}/{model}',
  2084. templateUrl: "assets/views/system/tpl/form.html",
  2085. title: 'ui-form',
  2086. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  2087. ncyBreadcrumb: {
  2088. label: 'ui-form'
  2089. }
  2090. }).state('app.externalservice.nsm', {
  2091. url: '/nsm',
  2092. templateUrl: "assets/views/externalservice/nsm.html",
  2093. 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'),
  2094. title: 'dnsmanage.VIEW',
  2095. ncyBreadcrumb: {
  2096. label: 'dnsmanage list'
  2097. }
  2098. }).state('app.externalservice.nsmedit', {
  2099. url: '/nsmedit/{formKey}/{service}/{model}',
  2100. templateUrl: "assets/views/system/tpl/form.html",
  2101. title: 'ui-form',
  2102. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  2103. ncyBreadcrumb: {
  2104. label: 'ui-form'
  2105. }
  2106. })
  2107. .state('app.ui', {
  2108. url: '/ui',
  2109. template: '<div ui-view class="fade-in-up"></div>',
  2110. title: 'UI Elements',
  2111. ncyBreadcrumb: {
  2112. label: 'UI Elements'
  2113. }
  2114. }).state('app.ui.elements', {
  2115. url: '/elements',
  2116. templateUrl: "assets/views/ui_elements.html",
  2117. title: 'Elements',
  2118. icon: 'ti-layout-media-left-alt',
  2119. ncyBreadcrumb: {
  2120. label: 'Elements'
  2121. }
  2122. }).state('app.ui.buttons', {
  2123. url: '/buttons',
  2124. templateUrl: "assets/views/ui_buttons.html",
  2125. title: 'Buttons',
  2126. resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'laddaCtrl'),
  2127. ncyBreadcrumb: {
  2128. label: 'Buttons'
  2129. }
  2130. }).state('app.ui.links', {
  2131. url: '/links',
  2132. templateUrl: "assets/views/ui_links.html",
  2133. title: 'Link Effects',
  2134. ncyBreadcrumb: {
  2135. label: 'Link Effects'
  2136. }
  2137. }).state('app.ui.icons', {
  2138. url: '/icons',
  2139. templateUrl: "assets/views/ui_icons.html",
  2140. title: 'Font Awesome Icons',
  2141. ncyBreadcrumb: {
  2142. label: 'Font Awesome Icons'
  2143. },
  2144. resolve: loadSequence('iconsCtrl')
  2145. }).state('app.ui.lineicons', {
  2146. url: '/line-icons',
  2147. templateUrl: "assets/views/ui_line_icons.html",
  2148. title: 'Linear Icons',
  2149. ncyBreadcrumb: {
  2150. label: 'Linear Icons'
  2151. },
  2152. resolve: loadSequence('iconsCtrl')
  2153. }).state('app.ui.modals', {
  2154. url: '/modals',
  2155. templateUrl: "assets/views/ui_modals.html",
  2156. title: 'Modals',
  2157. ncyBreadcrumb: {
  2158. label: 'Modals'
  2159. },
  2160. resolve: loadSequence('asideCtrl')
  2161. }).state('app.ui.toggle', {
  2162. url: '/toggle',
  2163. templateUrl: "assets/views/ui_toggle.html",
  2164. title: 'Toggle',
  2165. ncyBreadcrumb: {
  2166. label: 'Toggle'
  2167. }
  2168. }).state('app.ui.tabs_accordions', {
  2169. url: '/accordions',
  2170. templateUrl: "assets/views/ui_tabs_accordions.html",
  2171. title: "Tabs & Accordions",
  2172. ncyBreadcrumb: {
  2173. label: 'Tabs & Accordions'
  2174. },
  2175. resolve: loadSequence('vAccordionCtrl')
  2176. }).state('app.ui.panels', {
  2177. url: '/panels',
  2178. templateUrl: "assets/views/ui_panels.html",
  2179. title: 'Panels',
  2180. ncyBreadcrumb: {
  2181. label: 'Panels'
  2182. }
  2183. }).state('app.ui.notifications', {
  2184. url: '/notifications',
  2185. templateUrl: "assets/views/ui_notifications.html",
  2186. title: 'Notifications',
  2187. ncyBreadcrumb: {
  2188. label: 'Notifications'
  2189. },
  2190. resolve: loadSequence('toasterCtrl', 'sweetAlertCtrl')
  2191. }).state('app.ui.treeview', {
  2192. url: '/treeview',
  2193. templateUrl: "assets/views/ui_tree.html",
  2194. title: 'TreeView',
  2195. ncyBreadcrumb: {
  2196. label: 'Treeview'
  2197. },
  2198. resolve: loadSequence('angularBootstrapNavTree', 'treeCtrl')
  2199. }).state('app.ui.media', {
  2200. url: '/media',
  2201. templateUrl: "assets/views/ui_media.html",
  2202. title: 'Media',
  2203. ncyBreadcrumb: {
  2204. label: 'Media'
  2205. }
  2206. }).state('app.ui.nestable', {
  2207. url: '/nestable2',
  2208. templateUrl: "assets/views/ui_nestable.html",
  2209. title: 'Nestable List',
  2210. ncyBreadcrumb: {
  2211. label: 'Nestable List'
  2212. },
  2213. resolve: loadSequence('jquery-nestable-plugin', 'ng-nestable', 'nestableCtrl')
  2214. }).state('app.ui.typography', {
  2215. url: '/typography',
  2216. templateUrl: "assets/views/ui_typography.html",
  2217. title: 'Typography',
  2218. ncyBreadcrumb: {
  2219. label: 'Typography'
  2220. }
  2221. }).state('app.table', {
  2222. url: '/table',
  2223. template: '<div ui-view class="fade-in-up"></div>',
  2224. title: 'Tables',
  2225. ncyBreadcrumb: {
  2226. label: 'Tables'
  2227. }
  2228. }).state('app.table.basic', {
  2229. url: '/basic',
  2230. templateUrl: "assets/views/table_basic.html",
  2231. title: 'Basic Tables',
  2232. ncyBreadcrumb: {
  2233. label: 'Basic'
  2234. }
  2235. }).state('app.table.responsive', {
  2236. url: '/responsive',
  2237. templateUrl: "assets/views/table_responsive.html",
  2238. title: 'Responsive Tables',
  2239. ncyBreadcrumb: {
  2240. label: 'Responsive'
  2241. }
  2242. }).state('app.table.data', {
  2243. url: '/data',
  2244. templateUrl: "assets/views/table_data.html",
  2245. title: 'ngTable',
  2246. ncyBreadcrumb: {
  2247. label: 'ngTable'
  2248. },
  2249. resolve: loadSequence('ngTable', 'ngTableCtrl')
  2250. }).state('app.table.export', {
  2251. url: '/export',
  2252. templateUrl: "assets/views/table_export.html",
  2253. title: 'Table'
  2254. }).state('app.form', {
  2255. url: '/form',
  2256. template: '<div ui-view class="fade-in-up"></div>',
  2257. title: 'Forms',
  2258. ncyBreadcrumb: {
  2259. label: 'Forms'
  2260. }
  2261. }).state('app.form.elements', {
  2262. url: '/elements',
  2263. templateUrl: "assets/views/form_elements.html",
  2264. title: 'Forms Elements',
  2265. ncyBreadcrumb: {
  2266. label: 'Elements'
  2267. },
  2268. resolve: loadSequence('ui.select', 'monospaced.elastic', 'ui.mask', 'touchspin-plugin', 'selectCtrl')
  2269. }).state('app.form.xeditable', {
  2270. url: '/xeditable',
  2271. templateUrl: "assets/views/form_xeditable.html",
  2272. title: 'Angular X-Editable',
  2273. ncyBreadcrumb: {
  2274. label: 'X-Editable'
  2275. },
  2276. resolve: loadSequence('xeditable', 'checklist-model', 'xeditableCtrl')
  2277. }).state('app.form.texteditor', {
  2278. url: '/editor',
  2279. templateUrl: "assets/views/form_text_editor.html",
  2280. title: 'Text Editor',
  2281. ncyBreadcrumb: {
  2282. label: 'Text Editor'
  2283. },
  2284. resolve: loadSequence('ckeditor-plugin', 'ckeditor', 'ckeditorCtrl')
  2285. }).state('app.form.wizard', {
  2286. url: '/wizard',
  2287. templateUrl: "assets/views/form_wizard.html",
  2288. title: 'Form Wizard',
  2289. ncyBreadcrumb: {
  2290. label: 'Wizard'
  2291. },
  2292. resolve: loadSequence('wizardCtrl')
  2293. }).state('app.form.validation', {
  2294. url: '/validation',
  2295. templateUrl: "assets/views/form_validation.html",
  2296. title: 'Form Validation',
  2297. ncyBreadcrumb: {
  2298. label: 'Validation'
  2299. },
  2300. resolve: loadSequence('validationCtrl')
  2301. }).state('app.form.cropping', {
  2302. url: '/image-cropping',
  2303. templateUrl: "assets/views/form_image_cropping.html",
  2304. title: 'Image Cropping',
  2305. ncyBreadcrumb: {
  2306. label: 'Image Cropping'
  2307. },
  2308. resolve: loadSequence('ngImgCrop', 'cropCtrl')
  2309. }).state('app.form.upload', {
  2310. url: '/file-upload',
  2311. templateUrl: "assets/views/form_file_upload.html",
  2312. title: 'Multiple File Upload',
  2313. ncyBreadcrumb: {
  2314. label: 'File Upload'
  2315. },
  2316. resolve: loadSequence('angularFileUpload', 'uploadCtrl')
  2317. }).state('app.pages', {
  2318. url: '/pages',
  2319. template: '<div ui-view class="fade-in-up"></div>',
  2320. title: 'Pages',
  2321. ncyBreadcrumb: {
  2322. label: 'Pages'
  2323. }
  2324. }).state('app.pages.user', {
  2325. url: '/user',
  2326. templateUrl: "assets/views/pages_user_profile.html",
  2327. title: 'User Profile',
  2328. ncyBreadcrumb: {
  2329. label: 'User Profile'
  2330. },
  2331. resolve: loadSequence('flow', 'userCtrl')
  2332. }).state('app.pages.invoice', {
  2333. url: '/invoice',
  2334. templateUrl: "assets/views/pages_invoice.html",
  2335. title: 'Invoice',
  2336. ncyBreadcrumb: {
  2337. label: 'Invoice'
  2338. }
  2339. }).state('app.pages.timeline', {
  2340. url: '/timeline',
  2341. templateUrl: "assets/views/pages_timeline.html",
  2342. title: 'Timeline',
  2343. ncyBreadcrumb: {
  2344. label: 'Timeline'
  2345. },
  2346. resolve: loadSequence('ngMap')
  2347. }).state('app.pages.calendar', {
  2348. url: '/calendar',
  2349. templateUrl: "assets/views/pages_calendar.html",
  2350. title: 'Calendar',
  2351. ncyBreadcrumb: {
  2352. label: 'Calendar'
  2353. },
  2354. resolve: loadSequence('moment', 'mwl.calendar', 'calendarCtrl')
  2355. }).state('app.pages.messages', {
  2356. url: '/messages',
  2357. templateUrl: "assets/views/pages_messages.html",
  2358. resolve: loadSequence('truncate', 'htmlToPlaintext', 'inboxCtrl')
  2359. }).state('app.pages.messages.inbox', {
  2360. url: '/inbox/:inboxID',
  2361. templateUrl: "assets/views/pages_inbox.html",
  2362. controller: 'ViewMessageCrtl'
  2363. }).state('app.pages.blank', {
  2364. url: '/blank',
  2365. templateUrl: "assets/views/pages_blank_page.html",
  2366. ncyBreadcrumb: {
  2367. label: 'Starter Page'
  2368. }
  2369. }).state('app.utilities', {
  2370. url: '/utilities',
  2371. template: '<div ui-view class="fade-in-up"></div>',
  2372. title: 'Utilities',
  2373. ncyBreadcrumb: {
  2374. label: 'Utilities'
  2375. }
  2376. }).state('app.utilities.search', {
  2377. url: '/search',
  2378. templateUrl: "assets/views/utility_search_result.html",
  2379. title: 'Search Results',
  2380. ncyBreadcrumb: {
  2381. label: 'Search Results'
  2382. }
  2383. }).state('app.utilities.pricing', {
  2384. url: '/pricing',
  2385. templateUrl: "assets/views/utility_pricing_table.html",
  2386. title: 'Pricing Table',
  2387. ncyBreadcrumb: {
  2388. label: 'Pricing Table'
  2389. }
  2390. }).state('app.maps', {
  2391. url: "/maps",
  2392. templateUrl: "assets/views/maps.html",
  2393. resolve: loadSequence('ngMap', 'mapsCtrl'),
  2394. title: "Maps",
  2395. ncyBreadcrumb: {
  2396. label: 'Maps'
  2397. }
  2398. }).state('app.charts', {
  2399. url: "/charts",
  2400. templateUrl: "assets/views/charts.html",
  2401. resolve: loadSequence('chartjs', 'tc.chartjs', 'chartsCtrl'),
  2402. title: "Charts",
  2403. ncyBreadcrumb: {
  2404. label: 'Charts'
  2405. }
  2406. }).state('app.documentation', {
  2407. url: "/documentation",
  2408. templateUrl: "assets/views/documentation.html",
  2409. title: "Documentation",
  2410. ncyBreadcrumb: {
  2411. label: 'Documentation'
  2412. }
  2413. }).state('error', {
  2414. url: '/error',
  2415. template: '<div ui-view class="fade-in-up"></div>'
  2416. }).state('error.404', {
  2417. url: '/404',
  2418. templateUrl: "assets/views/utility_404.html"
  2419. }).state('error.500', {
  2420. url: '/500',
  2421. templateUrl: "assets/views/utility_500.html"
  2422. })
  2423. //custom form
  2424. .state('app.customform', {
  2425. url: '/customform',
  2426. templateUrl: 'assets/views/customform/index.html',
  2427. resolve: loadSequence('jquery-sparkline', 'ckeditor-plugin', 'ckeditor', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl'),
  2428. title: 'Customform',
  2429. ncyBreadcrumb: {
  2430. label: 'Customform'
  2431. }
  2432. })
  2433. .state('app.detail', {
  2434. url: '/detail/:formKey/:pdKey/:dataId/:taskId/:processInstanceId',
  2435. templateUrl: "assets/views/customform/detail.html",
  2436. resolve: loadSequence('jquery-sparkline', 'api-check', 'formly', 'angularFormly', 'angularFileUpload', 'multi.select.tree', 'customformCtrl', 'customformDetailCtrl'),
  2437. title: 'form detail',
  2438. icon: 'ti-list',
  2439. ncyBreadcrumb: {
  2440. label: 'detail'
  2441. }
  2442. })
  2443. // Login routes
  2444. .state('login', {
  2445. url: '/login',
  2446. template: '<div ui-view class="fade-in-right-big smooth"></div>',
  2447. abstract: true
  2448. }).state('login.signin', {
  2449. url: '/signin',
  2450. templateUrl: "assets/views/login_login.html",
  2451. resolve: loadSequence('sweet-alert', 'oitozero.ngSweetAlert', 'morph', 'loginCtrl')
  2452. }).state('login.license', {
  2453. url: '/license',
  2454. templateUrl: "assets/views/license.html",
  2455. resolve: loadSequence('sweet-alert', 'oitozero.ngSweetAlert', 'morph', 'licenseCtrl')
  2456. }).state('login.forgot', {
  2457. url: '/forgot',
  2458. templateUrl: "assets/views/login_forgot.html"
  2459. })
  2460. /*.state('login.registration', {
  2461. url: '/registration',
  2462. templateUrl: "assets/views/login_registration.html"
  2463. })*/
  2464. .state('login.lockscreen', {
  2465. url: '/lock',
  2466. templateUrl: "assets/views/login_lock_screen.html"
  2467. })
  2468. // .state('login.changepassword', {
  2469. // url: '/changepassword',
  2470. // templateUrl: "assets/views/changepassword.html",
  2471. // resolve: loadSequence('jquery-sparkline', 'spin', 'ladda', 'angular-ladda', 'ui.grid', 'passwordCtrl'),
  2472. // title: 'changepassword',
  2473. // icon: 'ti-list',
  2474. // ncyBreadcrumb: {
  2475. // label: 'changepassword'
  2476. // }
  2477. // });
  2478. // Generates a resolve object previously configured in constant.JS_REQUIRES (config.constant.js)
  2479. function loadSequence() {
  2480. var _args = arguments;
  2481. return {
  2482. deps: ['$ocLazyLoad', '$q',
  2483. function ($ocLL, $q) {
  2484. var promise = $q.when(1);
  2485. for (var i = 0, len = _args.length; i < len; i++) {
  2486. promise = promiseThen(_args[i]);
  2487. }
  2488. return promise;
  2489. function promiseThen(_arg) {
  2490. if (typeof _arg == 'function')
  2491. return promise.then(_arg);
  2492. else
  2493. return promise.then(function () {
  2494. var nowLoad = requiredData(_arg);
  2495. if (!nowLoad)
  2496. return $.error('Route resolve: Bad resource name [' + _arg + ']');
  2497. return $ocLL.load(nowLoad);
  2498. });
  2499. }
  2500. function requiredData(name) {
  2501. if (jsRequires.modules)
  2502. for (var m in jsRequires.modules)
  2503. if (jsRequires.modules[m].name && jsRequires.modules[m].name === name)
  2504. return jsRequires.modules[m];
  2505. return jsRequires.scripts && jsRequires.scripts[name];
  2506. }
  2507. }
  2508. ]
  2509. };
  2510. }
  2511. }
  2512. ]);