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
ce5d78ce
Commit
ce5d78ce
authored
Apr 22, 2019
by
chase
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_mysql' of
http://code.tech.tax.asia.pwcinternal.com/root/atms
into dev_mysql
parents
f420df40
0ea0ffce
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
119 additions
and
9 deletions
+119
-9
SystemConfig.java
...ain/java/pwc/taxtech/atms/common/config/SystemConfig.java
+10
-0
TableauController.java
...n/java/pwc/taxtech/atms/controller/TableauController.java
+6
-0
TableauService.java
...in/java/pwc/taxtech/atms/service/impl/TableauService.java
+6
-0
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+7
-7
conf.properties
atms-api/src/main/resources/conf/conf.properties
+3
-2
conf_profile_dev.properties
atms-api/src/main/resources/conf/conf_profile_dev.properties
+1
-0
conf_profile_pub.properties
atms-api/src/main/resources/conf/conf_profile_pub.properties
+2
-0
conf_profile_staging.properties
...i/src/main/resources/conf/conf_profile_staging.properties
+2
-0
conf_profile_uat.properties
atms-api/src/main/resources/conf/conf_profile_uat.properties
+1
-0
module-part2.js
atms-web/src/main/webapp/Scripts/module-part2.js
+18
-0
app.json
atms-web/src/main/webapp/app-resources/i18n/zh-CN/app.json
+1
-0
dashboard.ctrl.js
...webapp/app/analysis/dashboard/dashboard/dashboard.ctrl.js
+35
-0
dashboard.html
...in/webapp/app/analysis/dashboard/dashboard/dashboard.html
+2
-0
dashboard.js
...main/webapp/app/analysis/dashboard/dashboard/dashboard.js
+23
-0
dashboard.less
...in/webapp/app/analysis/dashboard/dashboard/dashboard.less
+2
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/common/config/SystemConfig.java
View file @
ce5d78ce
...
@@ -37,6 +37,8 @@ public class SystemConfig {
...
@@ -37,6 +37,8 @@ public class SystemConfig {
private
String
tableauAustralianTax
;
private
String
tableauAustralianTax
;
@Value
(
"${tableau_brazilian_tax}"
)
@Value
(
"${tableau_brazilian_tax}"
)
private
String
tableauBrazilianTax
;
private
String
tableauBrazilianTax
;
@Value
(
"${tableau_dashboard}"
)
private
String
tableauDashboard
;
public
String
getLongiApiBasicUser
()
{
public
String
getLongiApiBasicUser
()
{
return
this
.
longiApiBasicUser
;
return
this
.
longiApiBasicUser
;
...
@@ -157,4 +159,12 @@ public class SystemConfig {
...
@@ -157,4 +159,12 @@ public class SystemConfig {
public
void
setTableauBrazilianTax
(
String
tableauBrazilianTax
)
{
public
void
setTableauBrazilianTax
(
String
tableauBrazilianTax
)
{
this
.
tableauBrazilianTax
=
tableauBrazilianTax
;
this
.
tableauBrazilianTax
=
tableauBrazilianTax
;
}
}
public
String
getTableauDashboard
()
{
return
this
.
tableauDashboard
;
}
public
void
setTableauDashboard
(
String
tableauDashboard
)
{
this
.
tableauDashboard
=
tableauDashboard
;
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/controller/TableauController.java
View file @
ce5d78ce
...
@@ -83,4 +83,10 @@ public class TableauController extends BaseController {
...
@@ -83,4 +83,10 @@ public class TableauController extends BaseController {
return
ApiResultDto
.
success
(
tableauService
.
getBrazilianTax
().
orElse
(
StringUtils
.
EMPTY
));
return
ApiResultDto
.
success
(
tableauService
.
getBrazilianTax
().
orElse
(
StringUtils
.
EMPTY
));
}
}
@ResponseBody
@GetMapping
(
"dashboard"
)
public
ApiResultDto
getDashboard
()
{
return
ApiResultDto
.
success
(
tableauService
.
getBrazilianTax
().
orElse
(
StringUtils
.
EMPTY
));
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TableauService.java
View file @
ce5d78ce
...
@@ -113,4 +113,10 @@ public class TableauService extends BaseService {
...
@@ -113,4 +113,10 @@ public class TableauService extends BaseService {
return
optional
.
map
(
s
->
String
.
format
(
systemConfig
.
getTableauBrazilianTax
(),
return
optional
.
map
(
s
->
String
.
format
(
systemConfig
.
getTableauBrazilianTax
(),
getTicket
(
s
).
orElse
(
StringUtils
.
EMPTY
)));
getTicket
(
s
).
orElse
(
StringUtils
.
EMPTY
)));
}
}
public
Optional
<
String
>
getDashboard
()
{
Optional
<
String
>
optional
=
authUserHelper
.
getCurrentAuditor
();
return
optional
.
map
(
s
->
String
.
format
(
systemConfig
.
getTableauDashboard
(),
getTicket
(
s
).
orElse
(
StringUtils
.
EMPTY
)));
}
}
}
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
ce5d78ce
...
@@ -231,8 +231,7 @@ public class ReportServiceImpl extends BaseService {
...
@@ -231,8 +231,7 @@ public class ReportServiceImpl extends BaseService {
return
operationResult
;
return
operationResult
;
}
}
private
void
clearPeriodData
(
String
projectId
,
Integer
period
,
List
<
Long
>
templateIds
,
boolean
isMergeManualData
)
{
private
void
clearPeriodData
(
String
projectId
,
Integer
period
,
boolean
isMergeManualData
)
{
if
(
templateIds
.
isEmpty
())
templateIds
.
add
(
Long
.
MAX_VALUE
);
PeriodFormulaBlockExample
periodFormulaBlockExample
=
new
PeriodFormulaBlockExample
();
PeriodFormulaBlockExample
periodFormulaBlockExample
=
new
PeriodFormulaBlockExample
();
periodFormulaBlockExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
);
periodFormulaBlockExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
);
periodFormulaBlockMapper
.
deleteByExample
(
periodFormulaBlockExample
);
periodFormulaBlockMapper
.
deleteByExample
(
periodFormulaBlockExample
);
...
@@ -242,15 +241,15 @@ public class ReportServiceImpl extends BaseService {
...
@@ -242,15 +241,15 @@ public class ReportServiceImpl extends BaseService {
periodTaxRuleSettingMapper
.
deleteByExample
(
periodTaxRuleSettingExample
);
periodTaxRuleSettingMapper
.
deleteByExample
(
periodTaxRuleSettingExample
);
PeriodCellTemplateExample
periodCellTemplateExample
=
new
PeriodCellTemplateExample
();
PeriodCellTemplateExample
periodCellTemplateExample
=
new
PeriodCellTemplateExample
();
periodCellTemplateExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
)
.
andReportTemplateIdNotIn
(
templateIds
)
;
periodCellTemplateExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
);
periodCellTemplateMapper
.
deleteByExample
(
periodCellTemplateExample
);
periodCellTemplateMapper
.
deleteByExample
(
periodCellTemplateExample
);
PeriodCellTemplateConfigExample
periodCellTemplateConfigExample
=
new
PeriodCellTemplateConfigExample
();
PeriodCellTemplateConfigExample
periodCellTemplateConfigExample
=
new
PeriodCellTemplateConfigExample
();
periodCellTemplateConfigExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
)
.
andReportTemplateIdNotIn
(
templateIds
)
;
periodCellTemplateConfigExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
);
periodCellTemplateConfigMapper
.
deleteByExample
(
periodCellTemplateConfigExample
);
periodCellTemplateConfigMapper
.
deleteByExample
(
periodCellTemplateConfigExample
);
PeriodTemplateExample
periodTemplateExample
=
new
PeriodTemplateExample
();
PeriodTemplateExample
periodTemplateExample
=
new
PeriodTemplateExample
();
periodTemplateExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
)
.
andTemplateIdNotIn
(
templateIds
)
;
periodTemplateExample
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodEqualTo
(
period
);
periodTemplateMapper
.
deleteByExample
(
periodTemplateExample
);
periodTemplateMapper
.
deleteByExample
(
periodTemplateExample
);
PeriodTaxPayerReportRuleExample
periodTaxPayerReportRuleExample
=
new
PeriodTaxPayerReportRuleExample
();
PeriodTaxPayerReportRuleExample
periodTaxPayerReportRuleExample
=
new
PeriodTaxPayerReportRuleExample
();
...
@@ -304,12 +303,13 @@ public class ReportServiceImpl extends BaseService {
...
@@ -304,12 +303,13 @@ public class ReportServiceImpl extends BaseService {
}
}
private
void
updateConfig
(
String
projectId
,
Integer
period
,
Boolean
isMergeManualData
,
List
<
Template
>
templates
,
PeriodJob
job
)
{
private
void
updateConfig
(
String
projectId
,
Integer
period
,
Boolean
isMergeManualData
,
List
<
Template
>
templates
,
PeriodJob
job
)
{
List
<
Long
>
exceptTemplateIds
=
templateMapper
.
getIdsForExceptTemplate
();
//财务报表不删除,这个逻辑用不到,先注释掉
// List<Long> exceptTemplateIds = templateMapper.getIdsForExceptTemplate();
//根据收入类型映射生成开票记录关联数据
//根据收入类型映射生成开票记录关联数据
assembleInvoiceRecord
(
projectId
,
period
,
isMergeManualData
);
assembleInvoiceRecord
(
projectId
,
period
,
isMergeManualData
);
//生成trial_balance_final数据
//生成trial_balance_final数据
assembleTrialBalanceFinal
(
projectId
,
period
);
assembleTrialBalanceFinal
(
projectId
,
period
);
clearPeriodData
(
projectId
,
period
,
exceptTemplateIds
,
isMergeManualData
);
clearPeriodData
(
projectId
,
period
,
isMergeManualData
);
copyTemplateAndConfigFromAdmin
(
projectId
,
templates
,
period
);
copyTemplateAndConfigFromAdmin
(
projectId
,
templates
,
period
);
setStatus
(
job
,
STATUS_END
);
setStatus
(
job
,
STATUS_END
);
periodJobMapper
.
updateByPrimaryKey
(
job
);
periodJobMapper
.
updateByPrimaryKey
(
job
);
...
...
atms-api/src/main/resources/conf/conf.properties
View file @
ce5d78ce
...
@@ -80,4 +80,5 @@ tableau_doc_situation=${tableau_doc_situation}
...
@@ -80,4 +80,5 @@ tableau_doc_situation=${tableau_doc_situation}
tableau_global_overview
=
${tableau_global_overview}
tableau_global_overview
=
${tableau_global_overview}
tableau_mexican_tax
=
${tableau_mexican_tax}
tableau_mexican_tax
=
${tableau_mexican_tax}
tableau_australian_tax
=
${tableau_australian_tax}
tableau_australian_tax
=
${tableau_australian_tax}
tableau_brazilian_tax
=
${tableau_brazilian_tax}
tableau_brazilian_tax
=
${tableau_brazilian_tax}
\ No newline at end of file
tableau_dashboard
=
${tableau_dashboard}
\ No newline at end of file
atms-api/src/main/resources/conf/conf_profile_dev.properties
View file @
ce5d78ce
...
@@ -70,3 +70,4 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
...
@@ -70,3 +70,4 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_dashboard
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
atms-api/src/main/resources/conf/conf_profile_pub.properties
View file @
ce5d78ce
...
@@ -74,3 +74,5 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
...
@@ -74,3 +74,5 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_dashboard
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
atms-api/src/main/resources/conf/conf_profile_staging.properties
View file @
ce5d78ce
...
@@ -69,3 +69,5 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
...
@@ -69,3 +69,5 @@ tableau_global_overview=http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_2019
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_mexican_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_dashboard
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
atms-api/src/main/resources/conf/conf_profile_uat.properties
View file @
ce5d78ce
...
@@ -74,4 +74,5 @@ tableau_global_overview=http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/
...
@@ -74,4 +74,5 @@ tableau_global_overview=http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/
tableau_mexican_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_mexican_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Mexico?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_australian_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Australia?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_brazilian_tax
=
http://172.20.201.98:8090/trusted/%s/views/UAT_20190409/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
tableau_dashboard
=
http://10.158.230.16:8890/trusted/%s/views/Didi_Tax_20190307/Brazil?iframeSizedToWindow=true&:embed=y&:showAppBanner=false&:display_count=no&:showVizHome=no&:toolbar=no
atms-web/src/main/webapp/Scripts/module-part2.js
View file @
ce5d78ce
...
@@ -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/analysisDashboard"
,
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-resources/i18n/zh-CN/app.json
View file @
ce5d78ce
...
@@ -907,6 +907,7 @@
...
@@ -907,6 +907,7 @@
"MenuAustralianTax"
:
"澳洲税务分析"
,
"MenuAustralianTax"
:
"澳洲税务分析"
,
"MenuBrazilianTax"
:
"巴西税务分析"
,
"MenuBrazilianTax"
:
"巴西税务分析"
,
"MenuOtherCountries"
:
"其他国家税务分析"
,
"MenuOtherCountries"
:
"其他国家税务分析"
,
"MenuDashboard"
:
"Dashboard"
,
"ApproveCommitted"
:
"审核中"
,
"ApproveCommitted"
:
"审核中"
,
"ApproveAgreed"
:
"通过"
,
"ApproveAgreed"
:
"通过"
,
...
...
atms-web/src/main/webapp/app/analysis/dashboard/dashboard/dashboard.ctrl.js
0 → 100644
View file @
ce5d78ce
analysisModule
.
controller
(
'AnalysisDashboardController'
,
[
'$scope'
,
'$filter'
,
'$log'
,
'$translate'
,
'$http'
,
'SweetAlert'
,
'apiConfig'
,
function
(
$scope
,
$filter
,
$log
,
$translate
,
$http
,
SweetAlert
,
apiConfig
)
{
'use strict'
;
function
init
()
{
$http
.
get
(
'/tableau/dashboard'
,
apiConfig
.
createVat
())
.
success
(
function
(
res
)
{
if
(
res
&&
0
===
res
.
code
)
{
var
placeholderDiv
=
document
.
getElementById
(
'vizContainer'
);
var
url
=
res
.
data
;
var
options
=
{
onFirstInteractive
:
function
()
{
// The viz is now ready and can be safely used.
console
.
log
(
"Run this code when the viz has finished loading."
);
}
};
try
{
new
tableau
.
Viz
(
placeholderDiv
,
url
,
options
);
}
catch
(
e
)
{
}
}
else
{
SweetAlert
.
error
(
$translate
.
instant
(
'SystemError'
));
}
});
}
init
();
(
function
initialize
()
{
})();
}
]);
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/dashboard/dashboard.html
0 → 100644
View file @
ce5d78ce
<div
id=
"vizContainer"
style=
"display: flex; justify-content: center; height: 90%"
></div>
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/dashboard/dashboard.js
0 → 100644
View file @
ce5d78ce
analysisModule
.
directive
(
'analysisDashboard'
,
[
'$log'
,
function
(
$log
)
{
'use strict'
;
return
{
restrict
:
'E'
,
templateUrl
:
'/app/analysis/dashboard/dashboard/dashboard.html'
+
'?_='
+
Math
.
random
(),
scope
:
{
serviceTypeId
:
"=?"
,
periodId
:
"=?"
},
controller
:
'AnalysisDashboardController'
,
link
:
function
(
scope
,
element
)
{
$
(
'.main-contents'
)[
0
].
style
.
width
=
"260px"
;
$
(
'.data-import-contents'
)[
0
].
style
.
display
=
"block"
;
$
(
'.main-contents'
)[
0
].
style
.
float
=
"left"
;
$
(
'.main-contents'
)[
0
].
style
.
styleFloat
=
"left"
;
$
(
'.main-contents'
)[
0
].
style
.
cssFloat
=
"left"
;
}
};
}
]);
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/dashboard/dashboard/dashboard.less
0 → 100644
View file @
ce5d78ce
@import "~/app-resources/less/theme.less";
\ No newline at end of file
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