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
6ff6b040
Commit
6ff6b040
authored
Mar 19, 2019
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、fixbug
parent
a3ba953d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
70 additions
and
38 deletions
+70
-38
pom.xml
atms-api/pom.xml
+16
-0
TemplateGroupDto.java
.../src/main/java/pwc/taxtech/atms/dto/TemplateGroupDto.java
+3
-3
TemplateGroupServiceImpl.java
...c/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
+4
-4
systemConfiguration.json
.../webapp/app-resources/i18n/en-us/systemConfiguration.json
+1
-1
systemConfiguration.json
.../webapp/app-resources/i18n/zh-CN/systemConfiguration.json
+1
-1
organization-list-view.html
...tructure/organizationListView/organization-list-view.html
+5
-2
organization-list-view.less
...tructure/organizationListView/organization-list-view.less
+3
-2
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+20
-20
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+0
-0
organization-manage.less
...nfrastructure/organizationManage/organization-manage.less
+15
-2
user-detail-view.ctrl.js
.../admin/infrastructure/userDetail/user-detail-view.ctrl.js
+1
-1
edit-user-modal.ctrl.js
...p/common/controls/edit-user-modal/edit-user-modal.ctrl.js
+1
-2
No files found.
atms-api/pom.xml
View file @
6ff6b040
...
@@ -514,6 +514,22 @@
...
@@ -514,6 +514,22 @@
</includes>
</includes>
<targetPath>
${basedir}/target/classes/cit_excel_template
</targetPath>
<targetPath>
${basedir}/target/classes/cit_excel_template
</targetPath>
</resource>
</resource>
<resource>
<directory>
src/main/resources/analysis_excel_template
</directory>
<includes>
<include>
**/*.xls
</include>
<include>
**/*.xlsx
</include>
</includes>
<targetPath>
${basedir}/target/classes/analysis_excel_template
</targetPath>
</resource>
<resource>
<directory>
src/main/resources/user_excel_template
</directory>
<includes>
<include>
**/*.xls
</include>
<include>
**/*.xlsx
</include>
</includes>
<targetPath>
${basedir}/target/classes/user_excel_template
</targetPath>
</resource>
</resources>
</resources>
<plugins>
<plugins>
<plugin>
<plugin>
...
...
atms-api/src/main/java/pwc/taxtech/atms/dto/TemplateGroupDto.java
View file @
6ff6b040
...
@@ -8,7 +8,7 @@ import java.util.List;
...
@@ -8,7 +8,7 @@ import java.util.List;
*/
*/
public
class
TemplateGroupDto
{
public
class
TemplateGroupDto
{
private
Stri
ng
id
;
private
Lo
ng
id
;
private
String
name
;
private
String
name
;
private
String
serviceTypeId
;
private
String
serviceTypeId
;
private
Date
updateTime
;
private
Date
updateTime
;
...
@@ -31,11 +31,11 @@ public class TemplateGroupDto {
...
@@ -31,11 +31,11 @@ public class TemplateGroupDto {
this
.
reportType
=
reportType
;
this
.
reportType
=
reportType
;
}
}
public
Stri
ng
getId
()
{
public
Lo
ng
getId
()
{
return
id
;
return
id
;
}
}
public
void
setId
(
Stri
ng
id
)
{
public
void
setId
(
Lo
ng
id
)
{
this
.
id
=
id
;
this
.
id
=
id
;
}
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
View file @
6ff6b040
...
@@ -106,9 +106,9 @@ public class TemplateGroupServiceImpl extends AbstractService {
...
@@ -106,9 +106,9 @@ public class TemplateGroupServiceImpl extends AbstractService {
}
}
public
OperationResultDto
<
Object
>
updateTemplateGroupName
(
TemplateGroupDto
templateGroupDto
)
{
public
OperationResultDto
<
Object
>
updateTemplateGroupName
(
TemplateGroupDto
templateGroupDto
)
{
TemplateGroup
entity
=
templateGroupMapper
.
selectByPrimaryKey
(
Long
.
parseLong
(
templateGroupDto
.
getId
()
));
TemplateGroup
entity
=
templateGroupMapper
.
selectByPrimaryKey
(
templateGroupDto
.
getId
(
));
TemplateGroupExample
example
=
new
TemplateGroupExample
();
TemplateGroupExample
example
=
new
TemplateGroupExample
();
example
.
createCriteria
().
andNameEqualTo
(
templateGroupDto
.
getName
()).
andIdNotEqualTo
(
Long
.
parseLong
(
templateGroupDto
.
getId
()
)).
andServiceTypeIdEqualTo
(
entity
.
getServiceTypeId
()).
andIndustryIdsEqualTo
(
entity
.
getIndustryIds
()).
andPayTaxTypeEqualTo
(
entity
.
getPayTaxType
());
example
.
createCriteria
().
andNameEqualTo
(
templateGroupDto
.
getName
()).
andIdNotEqualTo
(
templateGroupDto
.
getId
(
)).
andServiceTypeIdEqualTo
(
entity
.
getServiceTypeId
()).
andIndustryIdsEqualTo
(
entity
.
getIndustryIds
()).
andPayTaxTypeEqualTo
(
entity
.
getPayTaxType
());
List
<
TemplateGroup
>
templateGroups
=
templateGroupMapper
.
selectByExample
(
example
);
List
<
TemplateGroup
>
templateGroups
=
templateGroupMapper
.
selectByExample
(
example
);
if
(!
templateGroups
.
isEmpty
())
{
if
(!
templateGroups
.
isEmpty
())
{
OperationResultDto
<
Object
>
result
=
new
OperationResultDto
<>();
OperationResultDto
<
Object
>
result
=
new
OperationResultDto
<>();
...
@@ -125,7 +125,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
...
@@ -125,7 +125,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
Exception
.
class
)
public
OperationResultDto
<
Object
>
deleteTemplateGroup
(
TemplateGroupDto
templateGroupDto
)
{
public
OperationResultDto
<
Object
>
deleteTemplateGroup
(
TemplateGroupDto
templateGroupDto
)
{
OperationResultDto
<
Object
>
result
=
new
OperationResultDto
<>();
OperationResultDto
<
Object
>
result
=
new
OperationResultDto
<>();
TemplateGroup
templateGroupDb
=
templateGroupMapper
.
selectByPrimaryKey
(
Long
.
parseLong
(
templateGroupDto
.
getId
()
));
TemplateGroup
templateGroupDb
=
templateGroupMapper
.
selectByPrimaryKey
(
templateGroupDto
.
getId
(
));
if
(
templateGroupDb
.
getIsSystemType
())
{
if
(
templateGroupDb
.
getIsSystemType
())
{
result
.
setResult
(
false
);
result
.
setResult
(
false
);
...
@@ -133,7 +133,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
...
@@ -133,7 +133,7 @@ public class TemplateGroupServiceImpl extends AbstractService {
return
result
;
return
result
;
}
}
List
<
String
>
userOranizationNameList
=
organizationServiceTemplateGroupMapper
.
getOrgnizationServiceTemplateGroupOrgNames
(
Long
.
parseLong
(
templateGroupDto
.
getId
()
));
List
<
String
>
userOranizationNameList
=
organizationServiceTemplateGroupMapper
.
getOrgnizationServiceTemplateGroupOrgNames
(
templateGroupDto
.
getId
(
));
if
(
userOranizationNameList
!=
null
&&
!
userOranizationNameList
.
isEmpty
())
{
if
(
userOranizationNameList
!=
null
&&
!
userOranizationNameList
.
isEmpty
())
{
result
.
setResult
(
false
);
result
.
setResult
(
false
);
result
.
setResultMsg
(
TemplateGroupMessage
.
ORGANIZATION_USED_TEMPLATE_GROUP
);
result
.
setResultMsg
(
TemplateGroupMessage
.
ORGANIZATION_USED_TEMPLATE_GROUP
);
...
...
atms-web/src/main/webapp/app-resources/i18n/en-us/systemConfiguration.json
View file @
6ff6b040
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
"ReportType"
:
"报表类型:"
,
"ReportType"
:
"报表类型:"
,
"SelectReport"
:
"报表:"
,
"SelectReport"
:
"报表:"
,
"Filter"
:
"筛选
:
"
,
"Filter"
:
"筛选"
,
"KeyValueConfiguration"
:
"关键数据配置"
,
"KeyValueConfiguration"
:
"关键数据配置"
,
"AddKeyValue"
:
"添加关键数据"
,
"AddKeyValue"
:
"添加关键数据"
,
"FinancialStatement"
:
"财务报表"
,
"FinancialStatement"
:
"财务报表"
,
...
...
atms-web/src/main/webapp/app-resources/i18n/zh-CN/systemConfiguration.json
View file @
6ff6b040
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
"EtsSubjectNameCol"
:
"对应企业科目"
,
"EtsSubjectNameCol"
:
"对应企业科目"
,
"ExistMappedOrg"
:
"当前选中机构的科目对应已经存在,是否覆盖?"
,
"ExistMappedOrg"
:
"当前选中机构的科目对应已经存在,是否覆盖?"
,
"FillingInstructions"
:
"填报说明"
,
"FillingInstructions"
:
"填报说明"
,
"Filter"
:
"筛选
:
"
,
"Filter"
:
"筛选"
,
"FinancialStatement"
:
"财务报表"
,
"FinancialStatement"
:
"财务报表"
,
"Formula"
:
"公式:"
,
"Formula"
:
"公式:"
,
"FormulaConfig"
:
"公式配置"
,
"FormulaConfig"
:
"公式配置"
,
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationListView/organization-list-view.html
View file @
6ff6b040
...
@@ -18,13 +18,16 @@
...
@@ -18,13 +18,16 @@
</button>
</button>
<div
class=
"account-filter"
style=
"display:inline-block;margin-left: 16px;"
>
<div
class=
"account-filter"
style=
"display:inline-block;margin-left: 16px;"
>
<button
type=
"button"
style=
"font-size: 16px;"
class=
"btn btn-in-grid"
ng-click=
"showFilter()"
>
<i
class=
"fa fa-filter"
ng-click=
"showFilter()"
><span>
{{'Filter' | translate}}
</span></i>
</button>
<!--
<span style="height: 25px;display: inline-block;line-height: 25px;vertical-align: middle;">
<span style="height: 25px;display: inline-block;line-height: 25px;vertical-align: middle;">
{{'Filter' | translate }}
{{'Filter' | translate }}
</span>
</span>
<span>
<span>
<i class="fa fa-filter" style="font-size: 16px;" aria-hidden="true" ng-click="showFilter()"></i>
<i class="fa fa-filter" style="font-size: 16px;" aria-hidden="true" ng-click="showFilter()"></i>
</span>
</span>
-->
<div
class=
"filter-select"
tabindex=
"-1"
style=
"display:none"
>
<div
class=
"filter-select"
tabindex=
"-1"
style=
"display:none"
>
<ul
ng-repeat=
" x in taxPayerFilterList"
>
<ul
ng-repeat=
" x in taxPayerFilterList"
>
<li>
<li>
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationListView/organization-list-view.less
View file @
6ff6b040
...
@@ -81,8 +81,9 @@
...
@@ -81,8 +81,9 @@
}
}
.fa-filter {
.fa-filter {
font-size: 25px;
//font-size: 25px;
vertical-align: sub;
//vertical-align: sub;
width: 100%;
}
}
}
}
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
6ff6b040
...
@@ -2135,21 +2135,21 @@
...
@@ -2135,21 +2135,21 @@
// 编辑机构其他信息
// 编辑机构其他信息
$scope
.
updateOrgExtra
=
function
()
{
$scope
.
updateOrgExtra
=
function
()
{
$
(
'.
extra-organization-info
.col-sm-4 span'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.
tax-reg-info-content
.col-sm-4 span'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.
extra-organization-info
.col-sm-8 span'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.
tax-extra-info-content
.col-sm-8 span'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.extra-organization-info .right-option .button2position'
).
removeAttr
(
"hidden"
);
$
(
'.extra-organization-info .right-option .button2position'
).
removeAttr
(
"hidden"
);
$
(
'.extra-organization-info .right-option .updOrgBtn'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.extra-organization-info .right-option .updOrgBtn'
).
attr
(
"hidden"
,
"hidden"
);
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-4 input'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-reg-info-content
.col-sm-4 input'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-4 input'
)[
i
].
style
.
display
=
"inline"
;
$
(
'.
tax-reg-info-content
.col-sm-4 input'
)[
i
].
style
.
display
=
"inline"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-4 select'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-reg-info-content
.col-sm-4 select'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-4 select'
)[
i
].
style
.
display
=
"inline"
;
$
(
'.
tax-reg-info-content
.col-sm-4 select'
)[
i
].
style
.
display
=
"inline"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-8 input'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-extra-info-content
.col-sm-8 input'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-8 input'
)[
i
].
style
.
display
=
"inline"
;
$
(
'.
tax-extra-info-content
.col-sm-8 input'
)[
i
].
style
.
display
=
"inline"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-8 select'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-extra-info-content
.col-sm-8 select'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-8 select'
)[
i
].
style
.
display
=
"inline"
;
$
(
'.
tax-extra-info-content
.col-sm-8 select'
)[
i
].
style
.
display
=
"inline"
;
}
}
$scope
.
editOldData
=
angular
.
copy
(
$scope
.
editOrgExtraModel
);
$scope
.
editOldData
=
angular
.
copy
(
$scope
.
editOrgExtraModel
);
$scope
.
comExtraOldData
=
angular
.
copy
(
$scope
.
selectCompanyExtra
);
$scope
.
comExtraOldData
=
angular
.
copy
(
$scope
.
selectCompanyExtra
);
...
@@ -2164,21 +2164,21 @@
...
@@ -2164,21 +2164,21 @@
};
};
var
cancelWebChange
=
function
(){
var
cancelWebChange
=
function
(){
$
(
'.
extra-organization-info
.col-sm-8 span'
).
removeAttr
(
"hidden"
);
$
(
'.
tax-extra-info-content
.col-sm-8 span'
).
removeAttr
(
"hidden"
);
$
(
'.
extra-organization-info
.col-sm-4 span'
).
removeAttr
(
"hidden"
);
$
(
'.
tax-reg-info-content
.col-sm-4 span'
).
removeAttr
(
"hidden"
);
$
(
'.extra-organization-info .right-option .button2position'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.extra-organization-info .right-option .button2position'
).
attr
(
"hidden"
,
"hidden"
);
$
(
'.extra-organization-info .right-option .updOrgBtn'
).
removeAttr
(
"hidden"
);
$
(
'.extra-organization-info .right-option .updOrgBtn'
).
removeAttr
(
"hidden"
);
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-4 input'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-reg-info-content
.col-sm-4 input'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-4 input'
)[
i
].
style
.
display
=
"none"
;
$
(
'.
tax-reg-info-content
.col-sm-4 input'
)[
i
].
style
.
display
=
"none"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-4 select'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-reg-info-content
.col-sm-4 select'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-4 select'
)[
i
].
style
.
display
=
"none"
;
$
(
'.
tax-reg-info-content
.col-sm-4 select'
)[
i
].
style
.
display
=
"none"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-8 input'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-extra-info-content
.col-sm-8 input'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-8 input'
)[
i
].
style
.
display
=
"none"
;
$
(
'.
tax-extra-info-content
.col-sm-8 input'
)[
i
].
style
.
display
=
"none"
;
}
}
for
(
var
i
=
0
;
i
<
$
(
'.
extra-organization-info
.col-sm-8 select'
).
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$
(
'.
tax-extra-info-content
.col-sm-8 select'
).
length
;
i
++
)
{
$
(
'.
extra-organization-info
.col-sm-8 select'
)[
i
].
style
.
display
=
"none"
;
$
(
'.
tax-extra-info-content
.col-sm-8 select'
)[
i
].
style
.
display
=
"none"
;
}
}
};
};
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
6ff6b040
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.less
View file @
6ff6b040
...
@@ -459,9 +459,12 @@
...
@@ -459,9 +459,12 @@
outline: none;
outline: none;
}
}
input {
width: 70% !important;
}
select {
select {
width : 172px;
width: 70% !important;
height : 20px;
}
}
.divider {
.divider {
...
@@ -496,7 +499,17 @@
...
@@ -496,7 +499,17 @@
font-weight: 700;
font-weight: 700;
font-family: 'Microsoft YaHei Bold', 'Microsoft YaHei Regular', 'Microsoft YaHei';
font-family: 'Microsoft YaHei Bold', 'Microsoft YaHei Regular', 'Microsoft YaHei';
}
}
.tax-reg-info-table{
.tax-reg-info-content {
.row input {
width: 70%;
}
.row select {
width: 70%;
}
}
}
.tax-extra-info-table {
.tax-extra-info-table {
...
...
atms-web/src/main/webapp/app/admin/infrastructure/userDetail/user-detail-view.ctrl.js
View file @
6ff6b040
...
@@ -495,7 +495,7 @@
...
@@ -495,7 +495,7 @@
$scope
.
userOperateType
=
constant
.
Operation
.
Edit
;
$scope
.
userOperateType
=
constant
.
Operation
.
Edit
;
$scope
.
isUpdateUser
=
false
;
$scope
.
isUpdateUser
=
false
;
$scope
.
selectedUser
=
{
$scope
.
selectedUser
=
{
id
:
user
.
id
id
:
$stateParams
.
id
};
};
};
};
...
...
atms-web/src/main/webapp/app/common/controls/edit-user-modal/edit-user-modal.ctrl.js
View file @
6ff6b040
...
@@ -29,13 +29,12 @@ controller('editUserModalController', ['$scope', '$log', '$translate', 'uiGridCo
...
@@ -29,13 +29,12 @@ controller('editUserModalController', ['$scope', '$log', '$translate', 'uiGridCo
$scope
.
editUserModel
.
Status
=
userData
.
status
;
$scope
.
editUserModel
.
Status
=
userData
.
status
;
$scope
.
editUserModel
.
OrganizationID
=
userData
.
organizationID
;
$scope
.
editUserModel
.
OrganizationID
=
userData
.
organizationID
;
$scope
.
editUserModel
.
Email
=
userData
.
email
;
$scope
.
editUserModel
.
Email
=
userData
.
email
;
$scope
.
editUserModel
.
O
rgName
=
userData
.
orgName
;
$scope
.
editUserModel
.
o
rgName
=
userData
.
orgName
;
$scope
.
editUserModel
.
RoleIDs
=
userData
.
roleIDs
;
$scope
.
editUserModel
.
RoleIDs
=
userData
.
roleIDs
;
$scope
.
editUserModel
.
RoleNames
=
userData
.
roleNames
;
$scope
.
editUserModel
.
RoleNames
=
userData
.
roleNames
;
$scope
.
editUserModel
.
CreateTime
=
userData
.
createTime
;
$scope
.
editUserModel
.
CreateTime
=
userData
.
createTime
;
$scope
.
editUserModel
.
Password
=
userData
.
password
;
$scope
.
editUserModel
.
Password
=
userData
.
password
;
$scope
.
editUserModel
.
isAdmin
=
userData
.
isAdmin
;
$scope
.
editUserModel
.
isAdmin
=
userData
.
isAdmin
;
});
});
$
(
'.edit-user-modal-wrapper .modal'
).
modal
(
'show'
);
$
(
'.edit-user-modal-wrapper .modal'
).
modal
(
'show'
);
};
};
...
...
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