config.router.js 141 KB

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