Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
86484707
Commit
86484707
authored
Apr 22, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify url
parent
b1ede816
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
module-part2.js
atms-web/src/main/webapp/Scripts/module-part2.js
+18
-0
dashboard.js
...main/webapp/app/analysis/dashboard/dashboard/dashboard.js
+2
-2
No files found.
atms-web/src/main/webapp/Scripts/module-part2.js
View file @
86484707
...
...
@@ -1905,5 +1905,22 @@ var analysisModule = angular.module('app.analysis', ['ui.grid', 'ui.router','ui.
resolve
:
scriptDependencyProvider
.
createDependenciesMap
(
scriptDependencyProvider
.
analysis
),
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
atms-web/src/main/webapp/app/analysis/dashboard/dashboard/dashboard.js
View file @
86484707
analysisModule
.
directive
(
'a
ustralianTax
'
,
[
'$log'
,
analysisModule
.
directive
(
'a
nalysisDashboard
'
,
[
'$log'
,
function
(
$log
)
{
'use strict'
;
return
{
...
...
@@ -8,7 +8,7 @@
serviceTypeId
:
"=?"
,
periodId
:
"=?"
},
controller
:
'A
ustralianTax
Controller'
,
controller
:
'A
nalysisDashboard
Controller'
,
link
:
function
(
scope
,
element
)
{
$
(
'.main-contents'
)[
0
].
style
.
width
=
"260px"
;
$
(
'.data-import-contents'
)[
0
].
style
.
display
=
"block"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment