Commit 6ff6b040 authored by gary's avatar gary

1、fixbug

parent a3ba953d
...@@ -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>
......
...@@ -8,7 +8,7 @@ import java.util.List; ...@@ -8,7 +8,7 @@ import java.util.List;
*/ */
public class TemplateGroupDto { public class TemplateGroupDto {
private String id; private Long 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 String getId() { public Long getId() {
return id; return id;
} }
public void setId(String id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
......
...@@ -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);
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
"ReportType": "报表类型:", "ReportType": "报表类型:",
"SelectReport": "报表:", "SelectReport": "报表:",
"Filter": "筛选:", "Filter": "筛选",
"KeyValueConfiguration": "关键数据配置", "KeyValueConfiguration": "关键数据配置",
"AddKeyValue": "添加关键数据", "AddKeyValue": "添加关键数据",
"FinancialStatement": "财务报表", "FinancialStatement": "财务报表",
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"EtsSubjectNameCol": "对应企业科目", "EtsSubjectNameCol": "对应企业科目",
"ExistMappedOrg": "当前选中机构的科目对应已经存在,是否覆盖?", "ExistMappedOrg": "当前选中机构的科目对应已经存在,是否覆盖?",
"FillingInstructions": "填报说明", "FillingInstructions": "填报说明",
"Filter": "筛选:", "Filter": "筛选",
"FinancialStatement": "财务报表", "FinancialStatement": "财务报表",
"Formula": "公式:", "Formula": "公式:",
"FormulaConfig": "公式配置", "FormulaConfig": "公式配置",
......
...@@ -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>
......
...@@ -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%;
} }
} }
......
...@@ -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";
} }
}; };
......
...@@ -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 {
......
...@@ -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
}; };
}; };
......
...@@ -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.OrgName = userData.orgName; $scope.editUserModel.orgName = 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');
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment