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

modify url

parent b1ede816
...@@ -1905,5 +1905,22 @@ var analysisModule = angular.module('app.analysis', ['ui.grid', 'ui.router','ui. ...@@ -1905,5 +1905,22 @@ var analysisModule = angular.module('app.analysis', ['ui.grid', 'ui.router','ui.
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.analysis), resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.analysis),
sticky: true sticky: true
}); });
$stateProvider.state({
name: 'analysisDashboard',
url: "/analysis/dashboard",
dsr: true,
views: {
'importContent': {
controller: ['$scope', '$state','appTranslation',
function ($scope, $state, appTranslation) {
$scope.state = $state;
appTranslation.load([appTranslation.appPart]);
}],
template: '<analysis-dashboard></analysis-dashboard>'
}
},
resolve: scriptDependencyProvider.createDependenciesMap(scriptDependencyProvider.analysis),
sticky: true
});
}]); }]);
\ No newline at end of file
analysisModule.directive('australianTax', ['$log', analysisModule.directive('analysisDashboard', ['$log',
function ($log) { function ($log) {
'use strict'; 'use strict';
return { return {
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
serviceTypeId: "=?", serviceTypeId: "=?",
periodId: "=?" periodId: "=?"
}, },
controller: 'AustralianTaxController', controller: 'AnalysisDashboardController',
link: function (scope, element) { link: function (scope, element) {
$('.main-contents')[0].style.width = "260px"; $('.main-contents')[0].style.width = "260px";
$('.data-import-contents')[0].style.display = "block"; $('.data-import-contents')[0].style.display = "block";
......
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