Commit a32d7f12 authored by eddie.woo's avatar eddie.woo

add

parent 42de9acc
......@@ -304,6 +304,11 @@ grunt.initConfig({
'<%= pkg.bundleDest %>/appresources.less': '<%= pkg.bundleDest %>/less/appresources.less'
}
},
systemConfiguration: {
files: {
'<%= pkg.bundleDest %>/systemConfiguration.less': '<%= pkg.bundleDest %>/less/systemConfiguration.less'
}
},
common: {
files: {
'<%= pkg.bundleDest %>/common.less': '<%= pkg.bundleDest %>/less/common.less'
......
......@@ -156,7 +156,7 @@ var commonModule = angular.module('app.common', ['pascalprecht.translate', 'ngAn
url: '/bundles/systemConfiguration.js?v=' + version,
type: 'text/javascript'
}, {
url: '/bundles/less/systemConfiguration.less?v=' + version,
url: '/bundles/systemConfiguration.less?v=' + version,
type: 'text/css'
}];
......
......@@ -4,7 +4,7 @@
var app = angular.module('adminApp', ['ui.tree', 'ui.bootstrap', 'ui.bootstrap.tpls', 'ui.event', 'pascalprecht.translate', 'ngMessages', 'ui.utils',
'ngRoute', 'ngCookies', 'ngSanitize', 'ct.ui.router.extras', 'chieffancypants.loadingBar', 'ngDraggable', 'ngFileUpload', 'LocalStorageModule', 'exceptionless',
'app.config', 'app.common', 'app.webservices', 'app.framework', 'app.infrastructure', 'app.basicData', 'app.adminHomePage', 'app.noPermissionPage', 'pasvaz.bindonce', 'vs-repeat', 'ivh.treeview', 'angular-cache',
'app.cache', 'angularBootstrapNavTree', 'ngAnimate', 'cgNotify', 'angularInlineEdit'
'app.systemConfiguration', 'app.cache', 'angularBootstrapNavTree', 'ngAnimate', 'cgNotify', 'angularInlineEdit'
])
//run blocks are executed after the injector is created and are the first
//methods that are executed in any Angular app.
......@@ -741,7 +741,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.infrastructure)
});
//�������� ��������
//机构管理 覆盖区域
$stateProvider.state('organizationView.organizationAreaView', {
url: "/organizationAreaView",
sticky: true,
......@@ -759,7 +759,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.infrastructure)
});
//�������� ��ҵ��
//机构管理 事业部
$stateProvider.state('organizationView.organizationBusinessUnitView', {
url: "/organizationBusinessUnitView",
sticky: true,
......@@ -779,7 +779,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.infrastructure)
});
//�������� �ӷֹ�˾
//机构管理 子分公司
$stateProvider.state('organizationView.organizationSubsidiaryView', {
url: "/organizationSubsidiaryView",
sticky: true,
......@@ -797,7 +797,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.infrastructure)
});
//��Ȩ�ܹ�ͼ
//股权架构图
$stateProvider.state('organizationView.storeArchitectureView', {
url: "/storeArchitectureView",
sticky: true,
......@@ -815,7 +815,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.infrastructure)
});
//����������ϸ�б�
//机构管理详细列表
$stateProvider.state({
name: 'orgListView',
url: '/orgListView',
......@@ -835,7 +835,7 @@ var infrastructureModule = angular.module('app.infrastructure', ["isteven-multi-
//�û���ϸ
//用户明细
$stateProvider.state({
name: 'userDetail',
url: '/userDetail/:id',
......@@ -1051,7 +1051,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
$urlRouterProvider.when('/financialData', '/financialData/enterpriseAccountManage');
//$urlRouterProvider.otherwise('/basicDataInfrastructure/regionManage');
//������
//主数据
$stateProvider.state({
name: 'masterData',
url: "/masterData",
......@@ -1067,7 +1067,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//��������
//财务数据
$stateProvider.state({
name: 'financialData',
url: "/financialData",
......@@ -1083,7 +1083,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//��ҵ��
//事业部
$stateProvider.state('masterData.businessUnit', {
url: "/businessUnit",
sticky: true,
......@@ -1096,7 +1096,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//����
//区域
$stateProvider.state('masterData.regionManage', {
url: "/regionManage",
sticky: true,
......@@ -1109,7 +1109,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//�ؼ���������
//关键数据配置
$stateProvider.state('masterData.keyvalueManage', {
url: "/keyvalueManage",
sticky: true,
......@@ -1122,7 +1122,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//�ֿ�
//字库
$stateProvider.state('masterData.wordLibraryManage', {
url: "/wordLibraryManage",
sticky: true,
......@@ -1135,7 +1135,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//�����㼶
//机构层级
$stateProvider.state('masterData.orangizationStructureManage', {
url: "/orangizationStructureManage",
sticky: true,
......@@ -1148,7 +1148,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//�ͻ��б�
//客户列表
$stateProvider.state('financialData.customerListManage', {
url: "/customerListManage",
sticky: true,
......@@ -1161,7 +1161,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//��׼��Ŀ
//标准科目
$stateProvider.state('financialData.standardAccountManage', {
url: "/standardAccountManage",
sticky: true,
......@@ -1174,7 +1174,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//��ҵ����
//企业账套
$stateProvider.state('financialData.enterpriseAccountManage', {
url: "/enterpriseAccountManage",
sticky: true,
......@@ -1187,7 +1187,7 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.basicDataInfrastructure)
});
//��Ʒ�嵥
//产品清单
$stateProvider.state('financialData.productManage', {
url: "/productManage",
sticky: true,
......@@ -1204,6 +1204,189 @@ var basicDataModule = angular.module('app.basicData', ["isteven-multi-select", '
}]);
var systemConfigurationModule = angular.module('app.systemConfiguration', ['ngMessages', 'ngAnimate', 'ui.bootstrap', "isteven-multi-select", 'ui.grid', 'ui.grid.treeView', 'ui.grid.selection', 'dx', 'remoteValidation', 'ui.select', 'ngSanitize'])
.run(['$log', function ($log) {
$log.debug('app.systemConfiguration.run()...');
}])
.config(['$controllerProvider', '$compileProvider', '$filterProvider', '$provide', 'scriptDependencyProvider', '$stateProvider', '$urlRouterProvider',
function ($controllerProvider, $compileProvider, $filterProvider, $provide, scriptDependencyProvider, $stateProvider, $urlRouterProvider) {
'use strict';
$urlRouterProvider.when('/subjectCorrespondingInfrastructure', '/subjectCorrespondingInfrastructure/enterpriseSubjectCorresponding');
$urlRouterProvider.when('/ruleEngineConfiguration', '/ruleEngineConfiguration/vatRuleEnginee');
// this is required to add controller/directive/filter/service after angular bootstrap
bindModule(systemConfigurationModule, $controllerProvider, $compileProvider, $filterProvider, $provide);
$stateProvider.state({
name: 'declarationFormConfiguration',
url: '/declarationFormConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-form-configuration></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationTemplateConfiguration',
url: '/declarationTemplateConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<declaration-template-configuration></declaration-template-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'declarationFormConfigurationLocation',
url: '/declarationFormConfiguration/{templateGroupId}/{templateId}/{cellTemplateId}',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
$scope.templateGroupId = $stateParams.templateGroupId;
$scope.templateId = $stateParams.templateId;
$scope.cellTemplateId = $stateParams.cellTemplateId;
}],
template: '<declaration-form-configuration template-group-id="{{templateGroupId}}" template-id="{{templateId}}" cell-template-id="{{cellTemplateId}}"></declaration-form-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'subjectCorresponding',
url: '/subjectCorresponding',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<subject-corresponding></subject-corresponding>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'modelConfiguration',
url: '/modelconfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<model-configuration></model-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'modelConfigurationLocation',
url: '/modelconfiguration/{organizationId}/{selectedModelCode}',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
$scope.organizationId = $stateParams.organizationId;
$scope.selectedModelCode = $stateParams.selectedModelCode;
}],
template: '<model-configuration organization-id="{{organizationId}}" selected-model-code="{{selectedModelCode}}"></model-configuration>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'keyCodeConfiguration',
url: '/keyCodeConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation',
function ($scope, $stateParams, appTranslation) {
appTranslation.load([appTranslation.systemConfiguration]);
}],
template: '<key-value-config></key-value-config>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state({
name: 'ruleEngineConfiguration',
url: '/ruleEngineConfiguration',
views: {
'@': {
controller: ['$scope', '$stateParams', 'appTranslation','$state',
function ($scope, $stateParams, appTranslation, $state) {
appTranslation.load([appTranslation.systemConfiguration]);
$scope.state = $state;
}],
template: '<rule-engine-infrastructure state="state"></rule-engine-infrastructure>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration),
deepStateRedirect: true,
sticky: true
});
$stateProvider.state('ruleEngineConfiguration.vatRuleEnginee', {
url: "/vatRuleEnginee",
sticky: true,
dsr: true,
views: {
'vat-rule@ruleEngineConfiguration': {
//template: '<rule-enginee-config></rule-enginee-config>'
template: '<rule-engine-config></rule-engine-config>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration)
});
$stateProvider.state('ruleEngineConfiguration.fixedAssets', {
url: "/fixedAssets",
sticky: true,
dsr: true,
views: {
'fixed-assets@ruleEngineConfiguration': {
//template: '<rule-enginee-config></rule-enginee-config>'
template: '<fixed-assets-rule-enginee></fixed-assets-rule-enginee>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.systemConfiguration)
});
}]);
var adminHomePageModule = angular.module('app.adminHomePage', ["isteven-multi-select", 'ui.grid', 'ui.grid.treeView', 'ui.grid.selection', 'dx', 'remoteValidation', 'ui.select', 'ngSanitize'])
.run(['$log', function ($log) {
$log.debug('app.systemConfiguration.run()...');
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment