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
aecbfd2a
Commit
aecbfd2a
authored
Mar 21, 2019
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、fix
parent
aa5e4c32
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
15 deletions
+21
-15
UserServiceImpl.java
...n/java/pwc/taxtech/atms/service/impl/UserServiceImpl.java
+9
-3
UserRoleInfo.java
...-dao/src/main/java/pwc/taxtech/atms/dpo/UserRoleInfo.java
+0
-7
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+5
-0
organization-manage.less
...nfrastructure/organizationManage/organization-manage.less
+1
-0
user-manage-list.ctrl.js
...in/infrastructure/userManageList/user-manage-list.ctrl.js
+1
-1
constant.js
atms-web/src/main/webapp/app/common/utils/constant.js
+5
-4
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/UserServiceImpl.java
View file @
aecbfd2a
...
@@ -1046,13 +1046,19 @@ public class UserServiceImpl extends AbstractService {
...
@@ -1046,13 +1046,19 @@ public class UserServiceImpl extends AbstractService {
if
(
data
.
size
()<
1
){
if
(
data
.
size
()<
1
){
throw
new
ServiceException
(
ErrorMessage
.
ExportFailed
);
throw
new
ServiceException
(
ErrorMessage
.
ExportFailed
);
}
}
data
.
forEach
(
d
->
{
for
(
UserRoleInfo
d
:
data
)
{
if
(!
d
.
getRoleInfoList
().
isEmpty
()){
if
(!
d
.
getRoleInfoList
().
isEmpty
()){
List
<
String
>
rList
=
d
.
getRoleInfoList
().
stream
().
map
(
RoleInfo:
:
getName
).
collect
(
Collectors
.
toList
());
List
<
String
>
rList
=
d
.
getRoleInfoList
().
stream
().
map
(
RoleInfo:
:
getName
).
collect
(
Collectors
.
toList
());
d
.
setRoleList
(
JSON
.
toJSONString
(
rList
));
d
.
setRoleList
(
JSON
.
toJSONString
(
rList
));
}
}
d
.
setStatusStr
(
d
.
getStatus
());
String
statusStr
=
""
;
});
if
(
d
.
getStatus
()
==
0
){
statusStr
=
"禁用"
;
}
else
{
statusStr
=
"启用"
;
}
d
.
setStatusStr
(
statusStr
);
}
OutputStream
outputStream
=
commonDocumentHelper
.
toXlsxFileUsingJxls
(
data
,
excelTemplatePathInClassPath
);
OutputStream
outputStream
=
commonDocumentHelper
.
toXlsxFileUsingJxls
(
data
,
excelTemplatePathInClassPath
);
try
{
try
{
...
...
atms-dao/src/main/java/pwc/taxtech/atms/dpo/UserRoleInfo.java
View file @
aecbfd2a
...
@@ -248,11 +248,4 @@ public class UserRoleInfo {
...
@@ -248,11 +248,4 @@ public class UserRoleInfo {
public
void
setStatusStr
(
String
statusStr
)
{
public
void
setStatusStr
(
String
statusStr
)
{
this
.
statusStr
=
statusStr
;
this
.
statusStr
=
statusStr
;
}
}
public
void
setStatusStr
(
Integer
status
)
{
if
(
status
==
0
){
this
.
statusStr
=
"禁用"
;
}
this
.
statusStr
=
"启用"
;
}
}
}
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
aecbfd2a
...
@@ -1344,6 +1344,11 @@
...
@@ -1344,6 +1344,11 @@
dataField
:
"approvedLevyProject"
,
dataField
:
"approvedLevyProject"
,
allowHeaderFiltering
:
false
,
allowHeaderFiltering
:
false
,
caption
:
$translate
.
instant
(
'ApprovedLevyProject'
),
caption
:
$translate
.
instant
(
'ApprovedLevyProject'
),
lookup
:
{
dataSource
:
constant
.
GroupTypeList
,
displayExpr
:
"type"
,
valueExpr
:
"type"
},
width
:
'15%'
width
:
'15%'
},
{
},
{
dataField
:
"approvedValidityPeriodStartTime"
,
dataField
:
"approvedValidityPeriodStartTime"
,
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.less
View file @
aecbfd2a
...
@@ -549,6 +549,7 @@
...
@@ -549,6 +549,7 @@
.leftUp {
.leftUp {
width: 50%;
width: 50%;
margin-bottom: -40px;
}
}
.rightUp {
.rightUp {
...
...
atms-web/src/main/webapp/app/admin/infrastructure/userManageList/user-manage-list.ctrl.js
View file @
aecbfd2a
...
@@ -969,7 +969,7 @@
...
@@ -969,7 +969,7 @@
var
doExport
=
function
()
{
var
doExport
=
function
()
{
var
localDate
=
$filter
(
'date'
)(
new
Date
(),
'yyyyMMddHHmmss'
);
var
localDate
=
$filter
(
'date'
)(
new
Date
(),
'yyyyMMddHHmmss'
);
var
fileName
=
'用户信息列表'
+
localDate
;
var
fileName
=
'用户信息列表'
+
localDate
;
userService
.
downloadFile
(
$scope
.
originalU
serRoleList
,
fileName
).
then
(
function
(
data
)
{
userService
.
downloadFile
(
$scope
.
u
serRoleList
,
fileName
).
then
(
function
(
data
)
{
if
(
data
)
{
if
(
data
)
{
ackMessageBox
.
success
(
translate
(
'FileExportSuccess'
));
ackMessageBox
.
success
(
translate
(
'FileExportSuccess'
));
}
}
...
...
atms-web/src/main/webapp/app/common/utils/constant.js
View file @
aecbfd2a
...
@@ -1444,10 +1444,11 @@ constant.TaxDecCycleList = [
...
@@ -1444,10 +1444,11 @@ constant.TaxDecCycleList = [
];
];
constant
.
ApprovedLevyTermList
=
[
constant
.
ApprovedLevyTermList
=
[
{
code
:
0
,
type
:
"月"
},
{
code
:
0
,
type
:
"次"
},
{
code
:
1
,
type
:
"季"
},
{
code
:
1
,
type
:
"月"
},
{
code
:
2
,
type
:
"半年"
},
{
code
:
2
,
type
:
"季"
},
{
code
:
3
,
type
:
"年"
}
{
code
:
3
,
type
:
"半年"
},
{
code
:
4
,
type
:
"年"
}
];
];
constant
.
TaxpayerQualificationTypeList
=
[
constant
.
TaxpayerQualificationTypeList
=
[
...
...
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