123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- 'use strict';
- /**
- * Config constant
- */
- app.constant('APP_MEDIAQUERY', {
- 'desktopXL': 1200,
- 'desktop': 992,
- 'tablet': 768,
- 'mobile': 480
- });
- app.constant('JS_REQUIRES', {
- //*** Scripts
- scripts: {
- //*** Javascript Plugins
- 'modernizr': ['../bower_components/components-modernizr/modernizr.js'],
- 'moment': ['../bower_components/moment/min/moment.min.js'],
- 'spin': '../bower_components/spin.js/spin.js',
- 'api-check': '../bower_components/api-check/dist/api-check.min.js',
- 'formly': '../bower_components/angular-formly/dist/formly.js',
- 'd3': '../bower_components/d3/d3.min.js',
- 'bpmn-js-properties': ['../bower_components/bpmn-js-properties/dist/index.js', '../bower_components/bpmn-js-properties/dist/css/diagram-js.css', '../bower_components/bpmn-js-properties/dist/vendor/bpmn-font/css/bpmn-embedded.css', '../bower_components/bpmn-js-properties/dist/css/app.css'],
- 'multiSelectTree': [
- // '../bower_components/bootstrap-css-only/css/bootstrap.min.css',
- // '../bower_components/angular-multi-select-tree/dist/angular-multi-select-tree-0.1.0.min.css',
- // '../bower_components/angular-multi-select-tree/dist/angular-multi-select-tree-0.1.0.min.js',
- '../bower_components/angular-multi-select-tree/dist/angular-multi-select-tree-0.1.0.tpl.js'
- ],
- //*** jQuery Plugins
- 'perfect-scrollbar-plugin': ['../bower_components/perfect-scrollbar/js/min/perfect-scrollbar.jquery.min.js', '../bower_components/perfect-scrollbar/css/perfect-scrollbar.min.css'],
- 'ladda': ['../bower_components/ladda/dist/ladda.min.js', '../bower_components/ladda/dist/ladda-themeless.min.css'],
- 'sweet-alert': ['../bower_components/sweetalert/lib/sweet-alert.min.js', '../bower_components/sweetalert/lib/sweet-alert.css'],
- 'chartjs': '../bower_components/chartjs/Chart.min.js',
- 'jquery-sparkline': '../bower_components/jquery.sparkline.build/dist/jquery.sparkline.min.js',
- 'ckeditor-plugin': '../bower_components/ckeditor/ckeditor.js',
- 'jquery-nestable-plugin': ['../bower_components/jquery-nestable/jquery.nestable.js'],
- 'touchspin-plugin': ['../bower_components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js', '../bower_components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.css'],
- //*** Controllers
- 'dashboardCtrl': 'assets/js/controllers/dashboardCtrl.js',
- //微信登录请求
- 'weChatStudentRequireCtrl': 'assets/js/controllers/weChatRequire/weChatStudentRequireCtrl.js',
- 'weChatTeacherRequireCtrl': 'assets/js/controllers/weChatRequire/weChatTeacherRequireCtrl.js',
- 'weChatStudentSuccessCtrl': 'assets/js/controllers/weChatRequire/weChatStudentSuccessCtrl.js',
- //事件页面
- 'incidentCtrl': 'assets/js/controllers/incident/incidentCtrl.js',
- 'incidentListMobileCtrl': 'assets/js/controllers/incident/incidentListMobileCtrl.js',
- 'incidentRequestMobileCtrl': 'assets/js/controllers/incident/incidentRequestMobileCtrl.js',
- 'incidentEditorCtrl': 'assets/js/controllers/incident/incidentEditorCtrl.js',
- 'problemCtrl': 'assets/js/controllers/problem/problemCtrl.js',
- 'watchCtrl': 'assets/js/controllers/watch/watchCtrl.js',
- 'changeCtrl': 'assets/js/controllers/change/changeCtrl.js',
- 'releaseCtrl': 'assets/js/controllers/release/releaseCtrl.js',
- 'processCtrl': 'assets/js/controllers/process/processCtrl.js',
- 'cmdbCtrl': 'assets/js/controllers/cmdb/cmdbCtrl.js',
- 'cmdbListCtrl': 'assets/js/controllers/cmdb/cmdbListCtrl.js',
- 'cmdbViewCtrl': 'assets/js/controllers/cmdb/cmdbViewCtrl.js',
- 'reServiceCtrl': 'assets/js/controllers/reService/reServiceCtrl.js',
- 'reServiceMobileCtrl': 'assets/js/controllers/reService/reServiceMobileCtrl.js',
- 'knowledgeCtrl': 'assets/js/controllers/knowledge/knowledgeCtrl.js',
- 'knowledgeMobileCtrl': 'assets/js/controllers/knowledge/knowledgeMobileCtrl.js',
- 'schedulingCtrl': 'assets/js/controllers/scheduling/schedulingCtrl.js',
- 'meansCtrl': 'assets/js/controllers/means/meansCtrl.js',
- 'meansviewCtrl': 'assets/js/controllers/means/meansviewCtrl.js',
- 'meansListCtrl': 'assets/js/controllers/means/meanslistCtrl.js',
- 'inspectCtrl': 'assets/js/controllers/inspect/inspectCtrl.js',
- 'inspectListMobileCtrl': 'assets/js/controllers/inspect/inspectListMobileCtrl.js',
- 'inspectForm': 'assets/js/controllers/inspect/inspectForm.js',
- 'meansformCtrl': 'assets/js/controllers/means/meansformCtrl.js',
- 'reportCtrl': 'assets/js/controllers/report/reportCtrl.js',
- //*** System Manager
- 'knowledgebaseCtrl': 'assets/js/controllers/system/knowledgebaseCtrl.js',
- 'reServicebaseCtrl': 'assets/js/controllers/system/reServicebaseCtrl.js',
- 'navmanagerCtrl': 'assets/js/controllers/system/adminnavmanagerCtrl.js',
- 'systemmanagerCtrl': 'assets/js/controllers/system/adminsystemmanagerCtrl.js',
- 'knowledgeformCtrl': 'assets/js/controllers/knowledge/knowledgeform.js',
- 'chartCtrl': 'assets/js/controllers/desk/chartCtrl.js',
- 'meanshistoryCtrl': 'assets/js/controllers/means/meanshistoryCtrl.js',
- // 'groupCtrl': 'assets/js/controllers/system/groupCtrl.js',
- // 'userplanCtrl': 'assets/js/controllers/system/userCtrl.js',
- // 'incidentplanCtrl': 'assets/js/controllers/system/processdesign/incidentplan.js',
- // 'changeplanCtrl': 'assets/js/controllers/system/processdesign/changeplan.js',
- // 'problemplanCtrl': 'assets/js/controllers/system/processdesign/problemplan.js',
- // 'releaseplanCtrl': 'assets/js/controllers/system/processdesign/releaseplan.js',
- // 'cmdbplanCtrl': 'assets/js/controllers/system/processdesign/cmdbplan.js',
- // 'knowledgeplanCtrl': 'assets/js/controllers/system/processdesign/knowledgeplan.js',
- 'incidentcateCtrl': 'assets/js/controllers/system/processdesign/incidentplan/incidentcategory.js',
- 'incidentsourceCtrl': 'assets/js/controllers/system/processdesign/incidentplan/incidentsourceCtrl.js',
- 'closecodeCtrl': 'assets/js/controllers/system/processdesign/incidentplan/closecode.js',
- 'emergencyCtrl': 'assets/js/controllers/system/processdesign/incidentplan/emergencyCtrl.js',
- 'influenceCtrl': 'assets/js/controllers/system/processdesign/incidentplan/influenceCtrl.js',
- 'priorityCtrl': 'assets/js/controllers/system/processdesign/incidentplan/priorityCtrl.js',
- 'knowkedgecateCtrl': 'assets/js/controllers/system/processdesign/knowledgedesign/knowledgecateCtrl.js',
- 'prioritymatrixCtrl': 'assets/js/controllers/system/processdesign/incidentplan/prioritymatrixCtrl.js',
- 'placeCtrl': 'assets/js/controllers/system/organizationdesign/placeCtrl.js',
- 'serverslevelCtrl': 'assets/js/controllers/system/organizationdesign/serverslevelCtrl.js',
- 'worktimeCtrl': 'assets/js/controllers/system/organizationdesign/worktimeCtrl.js',
- 'deptCtrl': 'assets/js/controllers/system/organizationdesign/deptCtrl.js',
- 'schedulingplanCtrl': 'assets/js/controllers/system/user/schedulingplan.js',
- 'scheduletimeCtrl': 'assets/js/controllers/system/user/scheduletimeCtrl.js',
- 'groupCtrl': 'assets/js/controllers/system/user/groupCtrl.js',
- //user start
- 'groupusermgrCtrl': 'assets/js/controllers/system/user/admingroupuserCtrl.js',
- 'groupauthoritymgrCtrl': 'assets/js/controllers/system/user/admingroupauthorityCtrl.js',
- 'roleauthoritymgrCtrl': 'assets/js/controllers/system/user/adminroleauthorityCtrl.js',
- 'groupmgrCtrl': 'assets/js/controllers/system/user/admingroupCtrl.js',
- 'requestermgrCtrl': 'assets/js/controllers/system/user/adminrequesterCtrl.js',
- 'usermgrCtrl': 'assets/js/controllers/system/user/adminUserCtrl.js',
- 'rolemgrCtrl': 'assets/js/controllers/system/user/adminRoleCtrl.js',
- //user end
- 'loginCtrl': 'assets/js/controllers/loginCtrl.js',
- 'sysformCtrl': 'assets/js/controllers/system/systemFormCtrl.js',
- 'passwordCtrl': 'assets/js/controllers/changepasswordCtrl.js',
- 'iconsCtrl': 'assets/js/controllers/iconsCtrl.js',
- 'vAccordionCtrl': 'assets/js/controllers/vAccordionCtrl.js',
- 'ckeditorCtrl': 'assets/js/controllers/ckeditorCtrl.js',
- 'laddaCtrl': 'assets/js/controllers/laddaCtrl.js',
- 'ngTableCtrl': 'assets/js/controllers/ngTableCtrl.js',
- 'cropCtrl': 'assets/js/controllers/cropCtrl.js',
- 'asideCtrl': 'assets/js/controllers/asideCtrl.js',
- 'toasterCtrl': 'assets/js/controllers/toasterCtrl.js',
- 'sweetAlertCtrl': 'assets/js/controllers/sweetAlertCtrl.js',
- 'mapsCtrl': 'assets/js/controllers/mapsCtrl.js',
- 'chartsCtrl': 'assets/js/controllers/chartsCtrl.js',
- 'calendarCtrl': 'assets/js/controllers/calendarCtrl.js',
- 'nestableCtrl': 'assets/js/controllers/nestableCtrl.js',
- 'validationCtrl': ['assets/js/controllers/validationCtrl.js'],
- 'userCtrl': ['assets/js/controllers/userCtrl.js'],
- 'selectCtrl': 'assets/js/controllers/selectCtrl.js',
- 'wizardCtrl': 'assets/js/controllers/wizardCtrl.js',
- 'uploadCtrl': 'assets/js/controllers/uploadCtrl.js',
- 'modernizrCtrl': 'assets/js/controllers/modernizr.custom.js',
- 'treeCtrl': 'assets/js/controllers/treeCtrl.js',
- 'inboxCtrl': 'assets/js/controllers/inboxCtrl.js',
- 'xeditableCtrl': 'assets/js/controllers/xeditableCtrl.js',
- 'chatCtrl': 'assets/js/controllers/chatCtrl.js',
- 'qrcideCtrl': 'assets/js/controllers/qrgen.js',
- //add Controller
- 'customformCtrl': 'assets/js/controllers/customform/customformCtrl.js',
- 'customformDetailCtrl': 'assets/js/controllers/customform/customformDetailCtrl.js',
- //*** Filters
- 'htmlToPlaintext': 'assets/js/filters/htmlToPlaintext.js'
- },
- //*** angularJS Modules
- modules: [{
- name: 'angularMoment',
- files: ['../bower_components/angular-moment/angular-moment.min.js']
- }, {
- name: 'morph',
- files: ['../bower_components/angular-morph/dist/angular-morph.js']
- }, {
- name: 'tweenLite',
- files: ['../bower_components/TweenLite/index.min.js']
- }, {
- name: 'toaster',
- files: ['../bower_components/angularjs-toaster/toaster.js', '../bower_components/angularjs-toaster/toaster.css']
- }, {
- name: 'angularBootstrapNavTree',
- files: ['../bower_components/angular-bootstrap-nav-tree/dist/abn_tree_directive.js', '../bower_components/angular-bootstrap-nav-tree/dist/abn_tree.css']
- }, {
- name: 'angular-ladda',
- files: ['../bower_components/angular-ladda/dist/angular-ladda.min.js']
- }, {
- name: 'ngTable',
- files: ['../bower_components/ng-table/dist/ng-table.min.js', '../bower_components/ng-table/dist/ng-table.min.css']
- }, {
- name: 'angularPrint',
- files: ['../bower_components/angularPrint/angularPrint.js', '../bower_components/angularPrint/angularPrint.css']
- }, , {
- name: 'selector',
- files: ['../bower_components/angular-selector/dist/angular-selector.js', '../bower_components/angular-selector/dist/angular-selector.css']
- }, {
- name: 'ui.select',
- files: ['../bower_components/angular-ui-select/dist/select.js', '../bower_components/angular-ui-select/dist/select.min.css', '../bower_components/select2/dist/css/select2.min.css', '../bower_components/select2-bootstrap-css/select2-bootstrap.min.css', '../bower_components/selectize/dist/css/selectize.bootstrap3.css']
- }, {
- name: 'ui.mask',
- files: ['../bower_components/angular-ui-utils/mask.min.js']
- }, {
- name: 'ngImgCrop',
- files: ['../bower_components/ngImgCrop/compile/minified/ng-img-crop.js', '../bower_components/ngImgCrop/compile/minified/ng-img-crop.css']
- }, {
- name: 'angularFileUpload',
- files: ['../bower_components/angular-file-upload/angular-file-upload.min.js']
- }, {
- name: 'ngAside',
- files: ['../bower_components/angular-aside/dist/js/angular-aside.min.js', '../bower_components/angular-aside/dist/css/angular-aside.min.css']
- }, {
- name: 'truncate',
- files: ['../bower_components/angular-truncate/src/truncate.js']
- }, {
- name: 'oitozero.ngSweetAlert',
- files: ['../bower_components/angular-sweetalert-promised/SweetAlert.min.js']
- }, {
- name: 'monospaced.elastic',
- files: ['../bower_components/angular-elastic/elastic.js']
- }, {
- name: 'ngMap',
- files: ['../bower_components/ngmap/build/scripts/ng-map.min.js']
- }, {
- name: 'tc.chartjs',
- files: ['../bower_components/tc-angular-chartjs/dist/tc-angular-chartjs.min.js']
- }, {
- name: 'flow',
- files: ['../bower_components/ng-flow/dist/ng-flow-standalone.min.js']
- }, {
- name: 'uiSwitch',
- files: ['../bower_components/angular-ui-switch/angular-ui-switch.min.js', '../bower_components/angular-ui-switch/angular-ui-switch.min.css']
- }, {
- name: 'ckeditor',
- files: ['../bower_components/angular-ckeditor/angular-ckeditor.js']
- }, {
- name: 'mwl.calendar',
- files: ['../bower_components/angular-bootstrap-calendar/dist/js/angular-bootstrap-calendar-tpls.min.js', '../bower_components/angular-bootstrap-calendar/dist/css/angular-bootstrap-calendar.min.css']
- },
- {
- name: 'material-calendar',
- files: ['../bower_components/material-calendar/dist/angular-material-calendar.js', '../bower_components/angular-material/angular-material.css', '../bower_components/angular-material/angular-material.layouts.css', '../bower_components/material-calendar/dist/angular-material-calendar.css']
- },
- {
- name: 'ng-nestable',
- files: ['../bower_components/ng-nestable/src/angular-nestable.js']
- }, {
- name: 'vAccordion',
- files: ['../bower_components/v-accordion/dist/v-accordion.min.js', '../bower_components/v-accordion/dist/v-accordion.min.css']
- }, {
- name: 'xeditable',
- files: ['../bower_components/angular-xeditable/dist/js/xeditable.js', '../bower_components/angular-xeditable/dist/css/xeditable.css', 'assets/js/config/config-xeditable.js']
- }, {
- name: 'checklist-model',
- files: ['../bower_components/checklist-model/checklist-model.js']
- }, {
- name: 'angularFormly',
- files: [
- '../bower_components/angular-formly-templates-bootstrap/dist/angular-formly-templates-bootstrap.min.js'
- ]
- }, {
- name: 'ui.grid',
- files: [
- '../bower_components/angular-ui-grid/ui-grid.js', '../bower_components/angular-ui-grid/ui-grid.css'
- ]
- }, {
- name: 'multi.select.tree',
- files: [
- //'../bower_components/bootstrap-css-only/css/bootstrap.min.css',
- '../bower_components/angular-multi-select-tree/dist/angular-multi-select-tree-0.1.0.css',
- '../bower_components/angular-multi-select-tree/dist/angular-multi-select-tree-0.1.0.js'
- ]
- }
- ]
- });
|