Commit 4af55d75 authored by sherlock's avatar sherlock

bug:19196\19195\19214\19215\192161\19217\19220

parent 17360b77
...@@ -19,10 +19,7 @@ import pwc.taxtech.atms.entity.StandardAccount; ...@@ -19,10 +19,7 @@ import pwc.taxtech.atms.entity.StandardAccount;
import pwc.taxtech.atms.entity.StandardAccountExample; import pwc.taxtech.atms.entity.StandardAccountExample;
import pwc.taxtech.atms.exception.ServiceException; import pwc.taxtech.atms.exception.ServiceException;
import java.util.ArrayList; import java.util.*;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@Service @Service
...@@ -67,7 +64,9 @@ public class StdAccountServiceImpl extends BaseService { ...@@ -67,7 +64,9 @@ public class StdAccountServiceImpl extends BaseService {
root.setExpanded(false); root.setExpanded(false);
root.setHasChildren(CollectionUtils.isNotEmpty(entry.getValue())); root.setHasChildren(CollectionUtils.isNotEmpty(entry.getValue()));
root.setTitle(StdAccountEnum.AcctProp.MAPPING.get(entry.getKey())); root.setTitle(StdAccountEnum.AcctProp.MAPPING.get(entry.getKey()));
root.setChildren(entry.getValue()); List<StdAccountFancyTreeDto> temp = entry.getValue();
root.setChildren(temp.stream().sorted(Comparator.comparing(StdAccountFancyTreeDto::getCode)).collect(Collectors.toList()));
// root.setChildren(entry.getValue());
resultList.add(root); resultList.add(root);
} }
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<button class="btn btn-secondary btnImport" ng-class="{false:'no-permission'}[hasEditPermission]" ng-click="popupImportFileModel()" ng-disabled="!hasEditPermission||!hasEnterpriseAccountSet"> <button class="btn btn-secondary btnImport" ng-class="{false:'no-permission'}[hasEditPermission]" ng-click="popupImportFileModel()" ng-disabled="!hasEditPermission||!hasEnterpriseAccountSet">
<span translate="ImportCustomerList"></span> <span translate="ImportCustomerList"></span>
</button> </button>
<export-button style="float: right; margin-right: 15px; margin-top: 7px; "><export-button> <!--<export-button style="float: right; margin-right: 15px; margin-top: 7px; "><export-button>-->
</div> </div>
</div> </div>
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<button type="button" class="btn btn-in-grid inline-div" ng-click="downEntepriseAccountTemplate()"><i <button type="button" class="btn btn-in-grid inline-div" ng-click="downEntepriseAccountTemplate()"><i
class="fa fa-download" aria-hidden="true"></i>下载模板 class="fa fa-download" aria-hidden="true"></i>下载模板
</button> </button>
<export-button style="float: right; margin-right: 1px; margin-top: 9px;"> <!--<export-button style="float: right; margin-right: 1px; margin-top: 9px;">-->
<export-button> <!--<export-button>-->
</div> </div>
</div> </div>
<div class="enterprise-account-list-wrap" id="enterprise-account-list-wrap" ng-show="hasEnterpriseAccountSet"> <div class="enterprise-account-list-wrap" id="enterprise-account-list-wrap" ng-show="hasEnterpriseAccountSet">
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
field: 'name', field: 'name',
name: $translate.instant('BusinessUnitName'), name: $translate.instant('BusinessUnitName'),
width: '50%', width: '50%',
cellTemplate: '<div class="business-unit-gridcell-name"><span>{{row.entity.name}}</span><span ng-hide="true">{{row.entity.id}}</span></div>' cellTemplate: '<div class="business-unit-gridcell-name" style="text-align: center"><span>{{row.entity.name}}</span><span ng-hide="true">{{row.entity.id}}</span></div>'
}, { }, {
field: 'isActive', field: 'isActive',
name: $translate.instant('BusinessUnitStatus'), name: $translate.instant('BusinessUnitStatus'),
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
field: 'name', field: 'name',
name: $translate.instant('OrganizationStructureName'), name: $translate.instant('OrganizationStructureName'),
width: '50%', width: '50%',
cellTemplate: '<div class="orangization-structure-gridcell-name"><span>{{row.entity.name}}</span><span ng-hide="true">{{row.entity.id}}</span></div>' cellTemplate: '<div class="orangization-structure-gridcell-name" style="text-align: center"><span style="text-align: center;float:left;">{{row.entity.name}}</span><span ng-hide="true">{{row.entity.id}}</span></div>'
}, { }, {
field: 'isActive', field: 'isActive',
name: $translate.instant('OrganizationStructureStatus'), name: $translate.instant('OrganizationStructureStatus'),
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<button class="btn btn-in-grid" atms-permission permission-code="{{$root.adminPermission.basicData.orangizationStructure.editCode}}" ng-click="createNewData()"> <button class="btn btn-in-grid" atms-permission permission-code="{{$root.adminPermission.basicData.orangizationStructure.editCode}}" ng-click="createNewData()">
<i class=" material-icons">add_circle_outline</i> <span translate="OrganizationStructureAddNew"></span> <i class=" material-icons">add_circle_outline</i> <span translate="OrganizationStructureAddNew"></span>
</button> </button>
<export-button style="float: right; margin-right: 15px; margin-top: 9px;"><export-button> <!--<export-button style="float: right; margin-right: 15px; margin-top: 9px;"><export-button>-->
</div> </div>
<div class="list-container"> <div class="list-container">
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
<div class="align-right" style="margin-top:5px;"> <div class="align-right" style="margin-top:5px;">
<!--<button class="btn btn-export" type="button" ng-click="" translate="Export"></button>--> <!--<button class="btn btn-export" type="button" ng-click="" translate="Export"></button>-->
<export-button style="float: right; margin-left: 0px; margin-top: 7px"><export-button> <!--<export-button style="float: right; margin-left: 0px; margin-top: 7px"><export-button>-->
</div> </div>
<div class="right-operate "> <div class="right-operate ">
<!-- board展示 --> <!-- board展示 -->
<a class="display-user" href="#/organizationViewInfrastructure/organizationBusinessUnitView" title="{{'ShowAsCard' | translate}}"><i class="fa fa-th" aria-hidden="true"></i></a> <!--<a class="display-user" href="#/organizationViewInfrastructure/organizationBusinessUnitView" title="{{'ShowAsCard' | translate}}"><i class="fa fa-th" aria-hidden="true"></i></a>-->
<a class="display-user border-left active" title="{{'ShowAsList' | translate}}"> <a class="display-user border-left active" title="{{'ShowAsList' | translate}}">
<!-- list展示 --> <!-- list展示 -->
<i class="fa fa-list-ul" aria-hidden="true"></i> <i class="fa fa-list-ul" aria-hidden="true"></i>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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