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
52c59127
Commit
52c59127
authored
Mar 18, 2019
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分析
parent
f3a9dcc7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
117 additions
and
5 deletions
+117
-5
MenuServiceImpl.java
...n/java/pwc/taxtech/atms/service/impl/MenuServiceImpl.java
+13
-0
Gruntfile.js
atms-web/src/main/webapp/Gruntfile.js
+1
-0
module-part2.js
atms-web/src/main/webapp/Scripts/module-part2.js
+20
-0
tableau-2.2.2.min.js
atms-web/src/main/webapp/Scripts/tableau-2.2.2.min.js
+0
-0
app.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
+11
-0
unreturned-tax.ctrl.js
.../analysis/dashboard/unreturned-tax/unreturned-tax.ctrl.js
+26
-0
unreturned-tax.html
...app/analysis/dashboard/unreturned-tax/unreturned-tax.html
+20
-0
unreturned-tax.js
...p/app/analysis/dashboard/unreturned-tax/unreturned-tax.js
+19
-0
unreturned-tax.less
...app/analysis/dashboard/unreturned-tax/unreturned-tax.less
+2
-0
app-nav.html
atms-web/src/main/webapp/app/framework/app-nav/app-nav.html
+5
-5
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/MenuServiceImpl.java
View file @
52c59127
...
...
@@ -162,6 +162,19 @@ public class MenuServiceImpl {
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d75049"
);
menuIds
.
add
(
"17d6cd83-f5b6-46f2-88e0-58d21957ad29"
);
menuIds
.
add
(
"17d6cd83-f5b6-46f2-88e0-58d21957ad30"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74046"
);
menuIds
.
add
(
"17d6cd83-f5b6-46f2-88e0-58d21957ad30"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74050"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74051"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d740510"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74052"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74053"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74054"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74055"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74056"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74057"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74058"
);
menuIds
.
add
(
"12776533-9c54-4737-a28c-0cd2a3d74059"
);
}
// List<MenuDto> menus = getMenus(moduleId).stream().filter(x -> permissionNames.contains(x.getName())).collect(Collectors.toList());
return
menuIds
;
...
...
atms-web/src/main/webapp/Gruntfile.js
View file @
52c59127
...
...
@@ -215,6 +215,7 @@ grunt.initConfig({
util
:
{
src
:
[
"Scripts/underscore.js"
,
"Scripts/arrgh.js"
,
"Scripts/tableau-2.2.2.min.js"
,
"Scripts/jquery.page.js"
,
"Scripts/jquery.floatThead.js"
,
"Scripts/jquery.dataTables.js"
,
...
...
atms-web/src/main/webapp/Scripts/module-part2.js
View file @
52c59127
...
...
@@ -1669,4 +1669,23 @@ var analysisModule = angular.module('app.analysis', ['ui.grid', 'ui.router','ui.
sticky
:
true
});
//分析dashboard
$stateProvider
.
state
({
name
:
'unreturnedTax'
,
url
:
"/analysis/unreturnedTax"
,
dsr
:
true
,
views
:
{
'importContent'
:
{
controller
:
[
'$scope'
,
'$state'
,
'appTranslation'
,
function
(
$scope
,
$state
,
appTranslation
)
{
$scope
.
state
=
$state
;
appTranslation
.
load
([
appTranslation
.
appPart
]);
}],
template
:
'<unreturned-tax></unreturned-tax>'
}
},
resolve
:
scriptDependencyProvider
.
createDependenciesMap
(
scriptDependencyProvider
.
analysis
),
sticky
:
true
});
}]);
\ No newline at end of file
atms-web/src/main/webapp/Scripts/tableau-2.2.2.min.js
0 → 100644
View file @
52c59127
This source diff could not be displayed because it is too large. You can
view the blob
instead.
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
View file @
52c59127
...
...
@@ -892,6 +892,17 @@
"InternationalDataImport"
:
"国际税数据"
,
"TBEBITForm"
:
"TB EBIT 表格"
,
"ClickEnsureTip"
:
"请点击确定按钮!"
,
"MenuUnreturnedTax"
:
"未返还税金分析"
,
"MenuTaxComparison"
:
"未返还/返还后税金比较"
,
"MenuCostAnalysis"
:
"费用分析"
,
"MenuProfitAndLoss"
:
"利润/亏损分析"
,
"MenuOtherDomesticData"
:
"其他国内数据"
,
"MenuDocSituation"
:
"档案归档情况"
,
"MenuGlobalOverview"
:
"全球概览"
,
"MenuMexicanTax"
:
"墨西哥税务分析"
,
"MenuAustralianTax"
:
"澳洲税务分析"
,
"MenuBrazilianTax"
:
"巴西税务分析"
,
"MenuOtherCountries"
:
"其他国家税务分析"
,
"true"
:
"是"
,
"false"
:
"否"
,
...
...
atms-web/src/main/webapp/app/analysis/dashboard/unreturned-tax/unreturned-tax.ctrl.js
0 → 100644
View file @
52c59127
analysisModule
.
controller
(
'UnreturnedTaxController'
,
[
'$scope'
,
'$filter'
,
'$log'
,
'$translate'
,
'$timeout'
,
function
(
$scope
,
$filter
,
$log
,
$translate
,
$timeout
)
{
'use strict'
;
function
init
()
{
var
placeholderDiv
=
document
.
getElementById
(
'vizContainer'
);
var
url
=
'http://10.158.230.16:8890/trusted/b4TGi86ySyuKfWyvE8vnww==:Rel9fneoVyJ58IukJ5ve-_k1/views/Didi_Tax_20190307/sheet8?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no'
;
var
options
=
{
hideTabs
:
true
,
width
:
"90%"
,
height
:
"500px"
,
onFirstInteractive
:
function
()
{
// The viz is now ready and can be safely used.
console
.
log
(
"Run this code when the viz has finished loading."
);
}
};
$scope
.
viz
=
new
tableau
.
Viz
(
placeholderDiv
,
url
,
options
);
}
init
();
(
function
initialize
()
{
})();
}
]);
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/unreturned-tax/unreturned-tax.html
0 → 100644
View file @
52c59127
<!--<script type='text/javascript' src='http://10.158.230.16:8890/javascripts/api/tableau-2.min.js'></script>-->
<div
class=
'tableauPlaceholder'
style=
'width: 1920px; height: 848px;'
>
<!--<object class='tableauViz' width='1920' height='848' style='display:none;'>-->
<!--<param name='host_url' value='http%3A%2F%2F10.158.230.16%3A8890%2F'/>-->
<!--<param name='embed_code_version' value='3'/>-->
<!--<param name='site_root' value=''/>-->
<!--<param name='name' value='Didi_Tax_20190307/sheet8'/>-->
<!--<param name='tabs' value='no'/>-->
<!--<param name='toolbar' value='yes'/>-->
<!--<param name='showAppBanner' value='false'/>-->
<!--<param name='filter' value='iframeSizedToWindow=true'/>-->
<!--<param name="ticket" value="g2-zt7USSSmP7mPfZU2P1Q==:kZimvabueyV0_38cviKedMKz"/>-->
<!--</object>-->
<div
id=
"vizContainer"
style=
"display: flex; justify-content: center"
></div>
</div>
<!--<iframe src="http://10.158.230.16:8890/trusted/JS6C48CESm6veO9zZqFLHw==:0dKT6t0QE0OeVhKYRQ7k471k/views/Didi_Tax_20190307/sheet8?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no"-->
<!--width="800" height="600"></iframe>-->
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/unreturned-tax/unreturned-tax.js
0 → 100644
View file @
52c59127
analysisModule
.
directive
(
'unreturnedTax'
,
[
'$log'
,
function
(
$log
)
{
'use strict'
;
return
{
restrict
:
'E'
,
templateUrl
:
'/app/analysis/dashboard/unreturned-tax/unreturned-tax.html'
+
'?_='
+
Math
.
random
(),
scope
:
{
serviceTypeId
:
"=?"
,
periodId
:
"=?"
},
controller
:
'UnreturnedTaxController'
,
link
:
function
(
scope
,
element
)
{
}
};
}
]);
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/unreturned-tax/unreturned-tax.less
0 → 100644
View file @
52c59127
@import "~/app-resources/less/theme.less";
\ No newline at end of file
atms-web/src/main/webapp/app/framework/app-nav/app-nav.html
View file @
52c59127
...
...
@@ -20,11 +20,6 @@
<span
class=
"nav-icon-color"
>
{{'MenuVAT' | translate}}
</span>
</a>
</div>
<div
class=
"nav-element-left"
>
<a
ui-sref=
"listApproval"
>
<span
class=
"nav-icon-color"
>
{{'MenuListApproval' | translate}}
</span>
</a>
</div>
<div
class=
"nav-element-left"
>
<a
ui-sref=
"overviewCit"
>
<span
class=
"nav-icon-color"
>
{{'MenuCIT' | translate}}
</span>
...
...
@@ -40,6 +35,11 @@
<span
class=
"nav-icon-color"
>
{{'MenuAnalysis' | translate}}
</span>
</a>
</div>
<div
class=
"nav-element-left"
>
<a
ui-sref=
"listApproval"
>
<span
class=
"nav-icon-color"
>
{{'MenuListApproval' | translate}}
</span>
</a>
</div>
<!--<div class="nav-element-left">-->
<!--<a ui-sref="summaryDashboard" hover-show="second">-->
<!--<span class="nav-icon-color">{{'MenuTaxAnalysisPlatform' | translate}}</span>-->
...
...
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