Commit ecc42b3e authored by frank.xa.zhang's avatar frank.xa.zhang

save data to org -- frank

parent ed6907a4
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
$scope.editOrgExtraModel = {}; $scope.editOrgExtraModel = {};
var translate = { var translate = {
Enabled: $translate.instant('BusinessUnitActive'), //已启用 Enabled: $translate.instant('Actived'), //已启用
Disabled: $translate.instant('BusinessUnitDisabled')//已停用 Disabled: $translate.instant('Disabled')//已停用
}; };
//jack //jack
...@@ -613,7 +613,9 @@ ...@@ -613,7 +613,9 @@
{ {
dataField: "dateOfIncorporation", dataField: "dateOfIncorporation",
caption: $translate.instant('dateOfIncorporation'), caption: $translate.instant('dateOfIncorporation'),
allowHeaderFiltering: false allowHeaderFiltering: false,
dataType: "date",
format: "yyyy-MM-dd"
}, },
{ {
dataField: "jurisdictionOfFormation", dataField: "jurisdictionOfFormation",
...@@ -696,6 +698,7 @@ ...@@ -696,6 +698,7 @@
$scope.showAll = function () { $scope.showAll = function () {
$scope.showOrgs = true; $scope.showOrgs = true;
getOrgList();
$scope.showSingle = false; $scope.showSingle = false;
$scope.selectCompany = {}; $scope.selectCompany = {};
}; };
...@@ -704,6 +707,14 @@ ...@@ -704,6 +707,14 @@
}; };
$scope.exportOrgs = function () {
};
$scope.refreshOrg = function () {
getOrgList();
};
(function initialize() { (function initialize() {
$log.debug('organizationManageController.ctor()...'); $log.debug('organizationManageController.ctor()...');
$scope.title = $translate.instant('OrganizationManageTitle'); $scope.title = $translate.instant('OrganizationManageTitle');
......
...@@ -50,11 +50,11 @@ ...@@ -50,11 +50,11 @@
{{'EntityList'||translate}}</p> {{'EntityList'||translate}}</p>
</div> </div>
<div class="right-option"> <div class="right-option">
<button type="button" class="btn btn-in-grid" style="width: 117px;" ng-click="updateOrg()" id="orgListRefreshBtn"> <button type="button" class="btn btn-in-grid" style="width: 117px;" ng-click="refreshOrg()" id="orgListRefreshBtn">
<i class="dx-icon-refresh"></i>{{'Refresh' | translate}} <i class="dx-icon-refresh"></i>{{'Refresh' | translate}}
</button> </button>
<button type="button" id="organizationExportBtn" <button type="button" id="organizationExportBtn"
class="btn btn-in-grid" ng-click="updateIsActive()"><i class="btn btn-in-grid" ng-click="exportOrgs()"><i
class="dx-icon-export"></i>{{'Export'||translate}} class="dx-icon-export"></i>{{'Export'||translate}}
</button> </button>
<span class="right-operate"></span> <span class="right-operate"></span>
......
...@@ -1689,27 +1689,27 @@ constant.EnumTaxEventType = { ...@@ -1689,27 +1689,27 @@ constant.EnumTaxEventType = {
constant.organizationHK = { constant.organizationHK = {
legalFormTypeList: [ legalFormTypeList: [
{code: 1, type: "LimitedPartnership"}, {code: 1, type: "Limited Partnership"},
{code: 2, type: "LimitedCompany"}, {code: 2, type: "Limited Company"},
{code: 3, type: "Trustee"} {code: 3, type: "Trustee"}
], ],
EntityLevel: [ EntityLevel: [
{code: 1, type: "InvestmentFund"}, {code: 1, type: "Investment Fund"},
{code: 2, type: "InvestmentHolding"}, {code: 2, type: "Investment Holding"},
{code: 3, type: "PortfolioCompany"} {code: 3, type: "Portfolio Company"}
], ],
JurisdictionOfFormation: [ JurisdictionOfFormation: [
{code: 1, type: "HongKong"}, {code: 1, type: "Hong Kong"},
{code: 2, type: "BritishVirginIslands"}, {code: 2, type: "British Virgin Islands"},
{code: 3, type: "CaymanIslands"} {code: 3, type: "Cayman Islands"}
], ],
OwnershipForm: [ OwnershipForm: [
{code: 1, type: "OrdinaryShares"}, {code: 1, type: "Ordinary Shares"},
{code: 2, type: "PreferenceShares"} {code: 2, type: "Preference Shares"}
], ],
BoardMeetingRequirement: [ BoardMeetingRequirement: [
{code: 1, type: "Annual"}, {code: 1, type: "Annual"},
{code: 2, type: "SemiQnnual"}, {code: 2, type: "Semi Qnnual"},
{code: 3, type: "Quarter"}, {code: 3, type: "Quarter"},
{code: 4, type: "Monthly"} {code: 4, type: "Monthly"}
], ],
......
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