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
f668fbd3
Commit
f668fbd3
authored
Sep 26, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] hide menu for import data
parent
d74fd13d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
38 deletions
+40
-38
app-overview.ctrl.js
...in/webapp/app/framework/app-overview/app-overview.ctrl.js
+20
-19
framework.js
atms-web/src/main/webapp/bundles/framework.js
+20
-19
No files found.
atms-web/src/main/webapp/app/framework/app-overview/app-overview.ctrl.js
View file @
f668fbd3
...
...
@@ -900,25 +900,26 @@
$scope
.
$root
.
checkUserOrganizationPermissionList
(
menuList
).
success
(
function
(
data
)
{
if
(
data
)
{
if
(
data
[
constant
.
vatPermission
.
dataImport
.
balanceSheet
.
queryCode
])
{
$state
.
go
(
'vat.importData.balanceSheet'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
journalEntry
.
queryCode
])
{
$state
.
go
(
'vat.importData.journalEntry'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
erpImport
.
queryCode
])
{
$state
.
go
(
'vat.importData.erpData'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
auditAdjust
.
queryCode
])
{
$state
.
go
(
'vat.importData.auditAdjust'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
outputInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.outputInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
inputInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.inputInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
customInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.customInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
voucherMapping
.
queryCode
])
{
$state
.
go
(
'vat.importData.voucherMapping'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
invoiceMapping
.
queryCode
])
{
$state
.
go
(
'vat.importData.invoiceMapping'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
balanceSheet
.
queryCode
])
{
// if (data[constant.vatPermission.dataImport.balanceSheet.queryCode]) {
// $state.go('vat.importData.balanceSheet');
// } else if (data[constant.vatPermission.dataImport.journalEntry.queryCode]) {
// $state.go('vat.importData.journalEntry');
// } else if (data[constant.vatPermission.dataImport.erpImport.queryCode]) {
// $state.go('vat.importData.erpData');
// } else if (data[constant.vatPermission.dataImport.auditAdjust.queryCode]) {
// $state.go('vat.importData.auditAdjust');
// } else if (data[constant.vatPermission.dataImport.outputInvoice.queryCode]) {
// $state.go('vat.importData.outputInvoice');
// } else if (data[constant.vatPermission.dataImport.inputInvoice.queryCode]) {
// $state.go('vat.importData.inputInvoice');
// } else if (data[constant.vatPermission.dataImport.customInvoice.queryCode]) {
// $state.go('vat.importData.customInvoice');
// } else if (data[constant.vatPermission.dataImport.voucherMapping.queryCode]) {
// $state.go('vat.importData.voucherMapping');
// } else if (data[constant.vatPermission.dataImport.invoiceMapping.queryCode]) {
// $state.go('vat.importData.invoiceMapping');
// } else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
balanceSheet
.
queryCode
])
{
$state
.
go
(
'vat.previewData.balanceSheet'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
accountVoucher
.
queryCode
])
{
$state
.
go
(
'vat.previewData.accountVoucher'
);
...
...
atms-web/src/main/webapp/bundles/framework.js
View file @
f668fbd3
...
...
@@ -1826,25 +1826,26 @@ frameworkModule.controller('appOverviewController', ['$rootScope', '$scope', '$t
$scope
.
$root
.
checkUserOrganizationPermissionList
(
menuList
).
success
(
function
(
data
)
{
if
(
data
)
{
if
(
data
[
constant
.
vatPermission
.
dataImport
.
balanceSheet
.
queryCode
])
{
$state
.
go
(
'vat.importData.balanceSheet'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
journalEntry
.
queryCode
])
{
$state
.
go
(
'vat.importData.journalEntry'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
erpImport
.
queryCode
])
{
$state
.
go
(
'vat.importData.erpData'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
auditAdjust
.
queryCode
])
{
$state
.
go
(
'vat.importData.auditAdjust'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
outputInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.outputInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
inputInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.inputInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
customInvoice
.
queryCode
])
{
$state
.
go
(
'vat.importData.customInvoice'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
voucherMapping
.
queryCode
])
{
$state
.
go
(
'vat.importData.voucherMapping'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataImport
.
invoiceMapping
.
queryCode
])
{
$state
.
go
(
'vat.importData.invoiceMapping'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
balanceSheet
.
queryCode
])
{
// if (data[constant.vatPermission.dataImport.balanceSheet.queryCode]) {
// $state.go('vat.importData.balanceSheet');
// } else if (data[constant.vatPermission.dataImport.journalEntry.queryCode]) {
// $state.go('vat.importData.journalEntry');
// } else if (data[constant.vatPermission.dataImport.erpImport.queryCode]) {
// $state.go('vat.importData.erpData');
// } else if (data[constant.vatPermission.dataImport.auditAdjust.queryCode]) {
// $state.go('vat.importData.auditAdjust');
// } else if (data[constant.vatPermission.dataImport.outputInvoice.queryCode]) {
// $state.go('vat.importData.outputInvoice');
// } else if (data[constant.vatPermission.dataImport.inputInvoice.queryCode]) {
// $state.go('vat.importData.inputInvoice');
// } else if (data[constant.vatPermission.dataImport.customInvoice.queryCode]) {
// $state.go('vat.importData.customInvoice');
// } else if (data[constant.vatPermission.dataImport.voucherMapping.queryCode]) {
// $state.go('vat.importData.voucherMapping');
// } else if (data[constant.vatPermission.dataImport.invoiceMapping.queryCode]) {
// $state.go('vat.importData.invoiceMapping');
// } else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
balanceSheet
.
queryCode
])
{
$state
.
go
(
'vat.previewData.balanceSheet'
);
}
else
if
(
data
[
constant
.
vatPermission
.
dataPreview
.
accountVoucher
.
queryCode
])
{
$state
.
go
(
'vat.previewData.accountVoucher'
);
...
...
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