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
920fb4d3
Commit
920fb4d3
authored
Oct 25, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:app-overview:listView\cardView
parent
0208fca6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
149 deletions
+59
-149
vat-analysis-menu.ctrl.js
...analyzeReport/vat-analysis-menu/vat-analysis-menu.ctrl.js
+2
-2
vat-model-analysis.html
.../analyzeReport/vat-model-analysis/vat-model-analysis.html
+27
-83
vat-organization-dashboard.ctrl.js
...organization-dashboard/vat-organization-dashboard.ctrl.js
+0
-0
vat-organization-dashboard.html
...at-organization-dashboard/vat-organization-dashboard.html
+28
-63
vat-organization-dashboard.js
.../vat-organization-dashboard/vat-organization-dashboard.js
+2
-1
No files found.
atms-web/src/main/webapp/app/vat/analyzeReport/vat-analysis-menu/vat-analysis-menu.ctrl.js
View file @
920fb4d3
...
...
@@ -5,8 +5,8 @@
$log
.
debug
(
'VatAnalysisMenuController.ctor()...'
);
$scope
.
menus
=
[
{
name
:
'.analyzeReport'
,
text
:
$translate
.
instant
(
'ModelAnalysis'
)
,
icon
:
'glyphicon glyphicon-flag'
,
permission
:
constant
.
vatPermission
.
dataAnalysis
.
modelAnalysisCode
,
show
:
true
},
{
name
:
'analyzeOrganizeDashboard({id:"'
+
vatSessionService
.
project
.
organizationID
+
'"})'
,
text
:
$translate
.
instant
(
'Dashboard'
)
,
icon
:
'glyphicon glyphicon-stats'
,
permission
:
constant
.
vatPermission
.
dataAnalysis
.
dashboard
.
dashboardCode
,
show
:
true
},
{
name
:
'.analyzeReport'
,
text
:
"出口数据对比"
,
icon
:
'glyphicon glyphicon-flag'
,
permission
:
constant
.
vatPermission
.
dataAnalysis
.
modelAnalysisCode
,
show
:
true
},
{
name
:
'analyzeOrganizeDashboard({id:"'
+
vatSessionService
.
project
.
organizationID
+
'"})'
,
text
:
"进项税额差异分析"
,
icon
:
'glyphicon glyphicon-stats'
,
permission
:
constant
.
vatPermission
.
dataAnalysis
.
dashboard
.
dashboardCode
,
show
:
true
},
{
name
:
'.vatTaxDifference'
,
text
:
$translate
.
instant
(
'BookTaxDifference'
),
icon
:
'glyphicon glyphicon-tree-conifer'
,
show
:
true
}
];
vatSessionService
.
querySummayDashboardModel
=
{
...
...
atms-web/src/main/webapp/app/vat/analyzeReport/vat-model-analysis/vat-model-analysis.html
View file @
920fb4d3
<div
class=
"vat-model-analysis
flex-row-start-stretch
"
>
<div
class=
"vat-model-analysis "
>
<div
class=
"ng-template"
style=
"display:none"
>
<script
type=
"text/ng-template"
class=
"content"
id=
"vat-model-analysis-dirty-data-process-bar.html"
>
<
div
class
=
"modal-header"
>
<
h4
class
=
"modal-title"
>
模型计算中
...
<
/h4
>
<
/div
>
<
div
class
=
"modal-body"
>
<
div
dx
-
progress
-
bar
=
"dirtyDataProcess.progressBarOptions"
><
/div
>
<
/div
>
</script>
</div>
<div
class=
"left-container flex-0-0-auto"
dx-resizable=
"resizableOptions"
>
<script
type=
"text/ng-template"
id=
"vat-model-analysis-nodes-renderer.html"
>
<
div
ui
-
tree
-
handle
class
=
"tree-node tree-node-content"
ng
-
class
=
"{'tree-item-select':(node.categoryId == selectCategoryId)}"
>
<
i
class
=
"fa"
data
-
nodrag
ng
-
click
=
"toggle(this)"
ng
-
show
=
"node.nodes.length>0"
ng
-
class
=
"{'fa-caret-right': collapsed,'fa-caret-down': !collapsed}"
><
/i
>
<
span
ng
-
click
=
"nodeSelected(node)"
>
<
span
class
=
"title"
data
-
nodrag
>
{{
node
.
title
}}
<
/span
>
<
span
class
=
"detail-number"
data
-
nodrag
>
({{
node
.
questionCount
}}
/{{node.totalCount}}
)
</
span
>
<
/span
>
<
/div
>
<
ol
ui
-
tree
-
nodes
ng
-
model
=
"node.nodes"
ng
-
hide
=
"collapsed || node.nodes.length < 1"
>
<
li
ng
-
repeat
=
"node in node.nodes"
ui
-
tree
-
node
ng
-
include
=
"'vat-model-analysis-nodes-renderer.html'"
><
/li
>
<
/ol
>
</script>
<div
ui-tree
data-drag-enabled=
"false"
>
<ol
ui-tree-nodes
ng-model=
"modelTreeList"
style=
"z-index:0;"
>
<li
ng-repeat=
"node in modelTreeList"
ui-tree-node
ng-include=
"'vat-model-analysis-nodes-renderer.html'"
data-scroll-container=
".model-configuration-manage #tree-root"
></li>
</ol>
</div>
</div>
<div
class=
"right-container flex-grow-1 flex-column-start-stretch"
>
<div
class=
"menu flex-row-start-center flex-shrink-0"
>
<strong
class=
"flex-0-0-auto"
>
{{'ModelAnalysisResults' | translate}}
</strong>
<div
class=
"flex-1-1-auto flex-row-start-center"
>
<div
class=
"flex-row-start-center"
>
<span>
{{'ModelFeature' | translate}}:
</span>
<div
class=
"model-type flex-row-start-center"
>
<span
ng-model=
"modelType"
uib-btn-radio=
"1"
>
{{'IndexAnalysis' | translate}}
</span>
<span
ng-model=
"modelType"
uib-btn-radio=
"2"
>
{{'EntryComparison' | translate}}
</span>
</div>
</div>
<div
class=
"filter flex-row-start-center"
ng-show=
"modelType === 2"
>
<span>
{{'Period' | translate}}:
</span>
<div
class=
"period-range"
>
<input
type=
"text"
class=
"form-control"
/>
</div>
</div>
</div>
<div
class=
"flex-row-start-center flex-0-0-auto operation-wrapper"
>
<div
class=
"btn-wrapper"
>
<button
class=
"btn btn-vat-primary"
ng-click=
"getOutputModelResult()"
>
{{'OutputModelResult' | translate}}
</button>
</div>
<span
ng-click=
"logOptions.isShown = true"
><i
class=
"fa fa-file-excel-o"
aria-hidden=
"true"
></i>
{{'Remarks' | translate}}
</span>
</div>
<div
class=
"col-lg-12 col-md-12"
style=
"margin-top:20px;"
>
<div
>
<table
border=
"1"
width=
"95%"
style=
"margin: auto"
>
<thead>
<tr
class=
"th"
>
<th>
遇到一个问题1
</th>
<th>
遇到一个问题1
</th>
</tr>
</thead>
<tbody>
<tr
class=
"tb"
>
<td>
遇到一个问题
</td>
<td>
遇到一个问题
</td>
</tr>
</tbody>
</table>
</div>
<model-analysis-report
class=
"flex-1-1-auto"
has-query-permission=
"hasQueryPermission"
has-filter-issue-permission=
"hasFilterIssuePermission"
model-type=
"modelType"
category-id=
"selectCategoryId"
service-type-id=
"serviceTypeId"
organization-id=
"organizationId"
industry-id=
"industryId"
period-from=
"periodFrom"
period-to=
"periodTo"
project-year=
"projectYear"
>
</model-analysis-report>
</div>
<vat-operate-log
period=
"logOptions.period"
module-type=
"logOptions.moduleId"
is-show=
"logOptions.isShown"
>
</vat-operate-log>
<style>
.th
>
th
{
text-align
:
center
;
}
.tb
>
td
{
height
:
30px
;
text-align
:
center
;
}
</style>
</div>
\ No newline at end of file
atms-web/src/main/webapp/app/vat/dashboard/vat-organization-dashboard/vat-organization-dashboard.ctrl.js
View file @
920fb4d3
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/vat/dashboard/vat-organization-dashboard/vat-organization-dashboard.html
View file @
920fb4d3
<div
class=
"vat-organization-dashboard"
>
<div
class=
"content"
>
<!-- 标题 -->
<div
class=
"header"
style=
"padding-left: 10px; margin-left: -15px"
>
<span
class=
"title"
>
{{'taxDashboard' | translate}}
</span>
<span
class=
"title"
style=
"margin:0px 15px 0px 5px"
>
|
</span>
<span
class=
"title"
style=
"margin-left: -10px; "
>
{{'IndicatorsTotal' | translate}}
<span
class=
"indicators_total"
>
{{querySummaryResult.length}}
</span>
</span>
<span><a
class=
"add-chart"
ui-sref=
"{{urlFromAnalyze}}"
><i
class=
"material-icons add-icon"
>
add_circle
</i>
{{'AddChart' | translate}}
</a></span>
<div
class=
"col-lg-12 col-md-12"
style=
"margin-top:10px;"
>
</div>
<!-- 添加图标 -->
<!--<div class="filter">
<a class="add-chart" ui-sref="{{urlFromAnalyze}}"><i class="material-icons add-icon">add_circle</i>{{'AddChart' | translate}}</a>
</div>-->
<!-- 指标配置数据 -->
<!--suppress-scroll-x="true" 隐藏横向滚动条-->
<perfect-scrollbar
class=
"scroller summary-result"
wheel-propagation=
"true"
wheel-speed=
"3"
min-scrollbar-length=
"20"
suppress-scroll-x=
"true"
>
<div
class=
"row-block"
ng-repeat=
"node in querySummaryResult"
>
<div
class=
"title_abstract"
>
<div
class=
"col-sm-2 title_name"
>
<span
ng-click=
"toggleChart($event,node)"
style=
"margin-right:5px"
ng-show=
"node.isShowChart"
><i
class=
"fa fa-minus"
aria-hidden=
"true"
></i></span>
<span
ng-click=
"toggleChart($event,node)"
style=
"margin-right:5px"
ng-show=
"!node.isShowChart"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i></span>
<span>
{{node.name}}
</span>
</div>
<div
class=
"title_button"
>
<a
href=
"javascript:(0);"
ng-click=
"deleteChartConfig(node.id);"
><i
class=
"fa fa-trash"
></i>
{{'deleteChartTitle' | translate}}
</a>
<a
ui-sref=
"{{urlFromAnalyze}}({id:node.id})"
><i
class=
"fa fa-cog"
></i>
{{'IndexConfig' | translate}}
</a>
<a
href=
"javascript:(0);"
ng-click=
"exportChart(node);"
><i
class=
"fa fa-download"
aria-hidden=
"true"
></i>
{{'ExportBtn' | translate}}
</a>
<a
href=
"javascript:(0);"
><i
class=
"fa fa-envelope"
aria-hidden=
"true"
></i>
{{'Email' | translate}}
</a>
</div>
</div>
<div
class=
"title_total"
ng-show=
"node.modelTips.length > 0 && node.isShowChart"
>
<div
class=
"col-sm-1"
>
{{'RiskIssue' | translate}}:
</div>
<div
class=
"col-sm-11 risk_tip_wrapper"
>
<span
class=
"risk_item"
ng-repeat=
"risk in node.modelTips"
uib-tooltip=
"{{risk.description}}"
tooltip-placement=
"bottom"
tooltip-class=
"risk_tip"
>
<i
class=
"fa fa-exclamation-circle"
aria-hidden=
"true"
ng-style=
"setRiskTipStyle(risk)"
></i>
{{risk.name}}
</span>
</div>
</div>
<div
class=
"row-content"
ng-show=
"node.isShowChart"
>
<div
class=
"table-content"
id=
"{{node.id}}"
ng-show=
"node.isShowChart && !node.isEmpty"
>
</div>
<div
class=
"chart-content"
ng-show=
"node.isShowChart && !node.isEmpty"
>
<vat-echart-renderer
id=
"chart-{{node.id}}"
chart-option=
"node"
is-dynamic-option=
"false"
></vat-echart-renderer>
</div>
<div
class=
"no-chart-content"
ng-show=
"node.isShowChart && node.isEmpty"
>
{{'NoDataInChart' | translate}}
</div>
</div>
</div>
</perfect-scrollbar>
<div
id=
"organizationDirtyProcessBarContainer"
>
<script
type=
"text/ng-template"
class=
"content"
id=
"dirtyDataProcessBar.html"
>
<
div
class
=
"modal-header"
>
<
h4
class
=
"modal-title"
>
模型计算中
...
<
/h4
>
<
/div
>
<
div
class
=
"modal-body process-bar-container"
>
<
div
id
=
"progress"
>
<
div
id
=
"progressBarStatus"
dx
-
progress
-
bar
=
"progressBarOptions"
><
/div
>
<
/div
>
<
/div
>
</script>
<div
class=
"col-lg-24 col-md-24 fit-height"
>
<table
border=
"1"
width=
"95%"
style=
"margin: auto"
>
<thead>
<tr
class=
"th"
>
<th>
会计科目
</th>
<th>
明细字段
</th>
<th>
金额
</th>
<th>
差异
</th>
<th>
差异原因
</th>
</tr>
</thead>
<tbody
>
<tr
ng-repeat=
"x in list"
>
<td>
{{}}
</td>
<td>
{{}}
</td>
<td>
{{}}
</td>
<td>
{{}}
</td>
<td>
{{}}
</td>
</tr>
</tbody>
</table>
</div>
</div>
<style>
.th
>
th
{
width
:
15%
;
text-align
:
center
;
}
</style>
</div>
atms-web/src/main/webapp/app/vat/dashboard/vat-organization-dashboard/vat-organization-dashboard.js
View file @
920fb4d3
...
...
@@ -8,8 +8,9 @@
restrict
:
'E'
,
templateUrl
:
'/app/vat/dashboard/vat-organization-dashboard/vat-organization-dashboard.html'
+
'?_='
+
Math
.
random
(),
scope
:
{},
replace
:
true
,
controller
:
'OrganizationDashboardController'
,
link
:
function
(
scope
,
element
)
{
link
:
function
(
$scope
,
$element
,
$attr
)
{
}
};
...
...
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