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
79bd35d6
Commit
79bd35d6
authored
Jul 10, 2019
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save data to org -- frank
parent
ecc42b3e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
63 additions
and
24 deletions
+63
-24
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+1
-0
organization-manage.html
...nfrastructure/organizationManage/organization-manage.html
+3
-3
edit-organization-director-modal.ctrl.js
...n-director-modal/edit-organization-director-modal.ctrl.js
+6
-4
edit-organization-director-modal.js
...zation-director-modal/edit-organization-director-modal.js
+1
-1
edit-organization-modal.ctrl.js
...s/edit-organization-modal/edit-organization-modal.ctrl.js
+39
-6
edit-organization-modal.html
...rols/edit-organization-modal/edit-organization-modal.html
+0
-0
edit-organization-modal.js
...ntrols/edit-organization-modal/edit-organization-modal.js
+2
-0
edit-organization-modal.less
...rols/edit-organization-modal/edit-organization-modal.less
+0
-0
edit-organization-shareholder-modal.ctrl.js
...eholder-modal/edit-organization-shareholder-modal.ctrl.js
+8
-6
edit-organization-shareholder-modal.html
...hareholder-modal/edit-organization-shareholder-modal.html
+1
-1
edit-organization-shareholder-modal.js
...-shareholder-modal/edit-organization-shareholder-modal.js
+1
-1
edit-organization-shareholder-modal.less
...hareholder-modal/edit-organization-shareholder-modal.less
+1
-2
No files found.
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
79bd35d6
...
...
@@ -240,6 +240,7 @@
$scope
.
orgOperateType
=
constant
.
Operation
.
Add
;
$scope
.
isAdd
=
true
;
$scope
.
selectedOrg
=
null
;
$scope
.
showEditModal
=
true
;
};
// 编辑机构
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.html
View file @
79bd35d6
...
...
@@ -385,10 +385,10 @@
</div>
<operate-log
is-show=
"isShowLog"
></operate-log>
<edit-organization-modal
operate-type=
"orgOperateType"
is-update=
"isOrgUpdate"
<edit-organization-modal
is-show=
"showEditModal"
parent-page=
".system-manage"
operate-type=
"orgOperateType"
is-update=
"isOrgUpdate"
selected-organization=
"selectedOrg"
dimension-id=
"showAttributeDimensionID"
></edit-organization-modal>
<edit-organization-shareholder-modal
is-show
=
"isShowShareholderModal
"
parent-page=
".system-manage"
edit-model=
""
></edit-organization-shareholder-modal>
<edit-organization-director-modal
is-show
=
"isShowDirectorModal
"
parent-page=
".system-manage"
edit-model=
""
></edit-organization-director-modal>
<edit-organization-shareholder-modal
is-show
-s=
"isShowShareholderModal2
"
parent-page=
".system-manage"
edit-model=
""
></edit-organization-shareholder-modal>
<edit-organization-director-modal
is-show
-d=
"isShowDirectorModal2
"
parent-page=
".system-manage"
edit-model=
""
></edit-organization-director-modal>
<!--<edit-equity-modal operate-type="equityEditOperateType" is-update="isEquityUpdate"-->
<!--selected-organization="selectedOrg"></edit-equity-modal>-->
<!--<edit-equity-change-modal operate-type="equityChangeOperateType" is-update="isEquityChange"-->
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-director-modal/edit-organization-director-modal.ctrl.js
View file @
79bd35d6
commonModule
.
controller
(
'editOrganizationDirectorModalController'
,
[
'$scope'
,
'$log'
,
function
(
$scope
,
$log
)
{
commonModule
.
controller
(
'editOrganizationDirectorModalController'
,
[
'$scope'
,
'$log'
,
'ackUibModal'
,
function
(
$scope
,
$log
,
ackUibModal
)
{
'use strict'
;
$scope
.
isShow
=
false
;
...
...
@@ -9,16 +9,18 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
'edit-organization-director-modal.html'
,
'edit-organization-director-modal'
,
$scope
.
parentPage
,
'static'
,
function
()
{
null
,
'static'
,
function
()
{
$scope
.
isShow
=
false
;
ackMessageBox
.
close
();
});
$scope
.
modalInstance
.
open
();
},
close
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
close
();
},
cancel
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
cancel
();
}
}
...
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
},
initWatches
:
function
()
{
$scope
.
$watch
(
'isShow'
,
function
(
newValue
,
oldValue
)
{
$scope
.
$watch
(
'isShow
D
'
,
function
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
$scope
.
modalManage
.
uploadInvoiceExtra
.
open
();
$scope
.
modalManage
.
directorModal
.
open
();
}
});
}
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-director-modal/edit-organization-director-modal.js
View file @
79bd35d6
...
...
@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationDirectorModal', ['$log', function ($log)
replace
:
true
,
controller
:
'editOrganizationDirectorModalController'
,
scope
:
{
isShow
:
'=?'
,
isShow
D
:
'=?'
,
parentPage
:
'@'
,
editModel
:
'=?'
},
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.ctrl.js
View file @
79bd35d6
commonModule
.
controller
(
'editOrganizationModalController'
,
[
'$scope'
,
'$log'
,
'$translate'
,
'uiGridConstants'
,
'$location'
,
'$timeout'
,
'$interval'
,
'$filter'
,
'SweetAlert'
,
'orgHKService'
,
function
(
$scope
,
$log
,
$translate
,
uiGridConstants
,
$location
,
$timeout
,
$interval
,
$filter
,
SweetAlert
,
orgHKService
)
{
commonModule
.
controller
(
'editOrganizationModalController'
,
[
'$scope'
,
'$log'
,
'$translate'
,
'uiGridConstants'
,
'$location'
,
'$timeout'
,
'$interval'
,
'$filter'
,
'SweetAlert'
,
'orgHKService'
,
'ackUibModal'
,
function
(
$scope
,
$log
,
$translate
,
uiGridConstants
,
$location
,
$timeout
,
$interval
,
$filter
,
SweetAlert
,
orgHKService
,
ackUibModal
)
{
var
selectedModel
=
'.addOrgControlPop'
;
//'#addOrgControlPop' + $scope.dimensionId;
...
...
@@ -77,12 +77,14 @@
// $scope.selfDimensionModel = getAddOrgSetDimension();
// initIsCheckedServiceList();
// resetErrorStatus();
$scope
.
orgControlForm
.
$setPristine
();
if
(
$scope
.
isShow
)
{
$scope
.
orgControlForm
.
$setPristine
();
$
(
'#orgControlTab a:first'
).
tab
(
'show'
);
// $(selectedModel).modal('show');
}
// $scope.advancedControlForm.$setPristine();
// set first active page is basic info
$
(
'#orgControlTab a:first'
).
tab
(
'show'
);
// $('#orgModalFooter').css('padding-left','139px');
$
(
selectedModel
).
modal
(
'show'
);
};
$scope
.
nameKeyUp
=
function
()
{
...
...
@@ -392,6 +394,7 @@
$scope
.
closeModal
=
function
()
{
$scope
.
operateType
=
null
;
$scope
.
modalManage
.
editOrgModal
.
cancel
();
};
$scope
.
addEquity
=
function
()
{
...
...
@@ -415,7 +418,7 @@
$scope
.
countryCNList
=
constant
.
countryCNList
;
$scope
.
legalFormTypeList
=
constant
.
organizationHK
.
legalFormTypeList
;
$scope
.
entityLevelTypeList
=
constant
.
organizationHK
.
EntityLevel
;
$scope
.
jurisdictionOfFormationTypeList
=
constant
.
organizationHK
.
JurisdictionOfFormation
;
$scope
.
jurisdictionOfFormationTypeList
=
constant
.
organizationHK
.
JurisdictionOfFormation
;
$scope
.
ownershipFormTypeList
=
constant
.
organizationHK
.
OwnershipForm
;
$
(
'.localRequired'
).
attr
(
"required"
,
true
);
$
(
'.orgAreaRequired'
).
attr
(
"required"
,
true
);
...
...
@@ -658,6 +661,36 @@
};
$scope
.
isShow
=
false
;
//模态框管理
$scope
.
modalManage
=
{
editOrgModal
:
{
open
:
function
()
{
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
'edit-organization-modal.html'
,
'edit-organization-modal-wrapper'
,
$scope
.
parentPage
,
'static'
,
function
()
{
$scope
.
isShow
=
false
;
ackMessageBox
.
close
();
});
$scope
.
modalInstance
.
open
();
},
close
:
function
()
{
$scope
.
modalInstance
.
close
();
},
cancel
:
function
()
{
$scope
.
modalInstance
.
cancel
();
}
}
};
$scope
.
$watch
(
'isShow'
,
function
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
$scope
.
modalManage
.
editOrgModal
.
open
();
}
});
(
function
initialize
()
{
$log
.
debug
(
'editOrganizationModalController.ctor()...'
);
$scope
.
maxdropLength
=
20
;
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.html
View file @
79bd35d6
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.js
View file @
79bd35d6
...
...
@@ -10,6 +10,8 @@
controller
:
'editOrganizationModalController'
,
scope
:
{
isShow
:
'=?'
,
parentPage
:
'@'
,
//区分是添加还是编辑
operateType
:
'='
,
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.less
View file @
79bd35d6
This diff is collapsed.
Click to expand it.
atms-web/src/main/webapp/app/common/controls/edit-organization-shareholder-modal/edit-organization-shareholder-modal.ctrl.js
View file @
79bd35d6
commonModule
.
controller
(
'editOrganizationShareholderModalController'
,
[
'$scope'
,
'$log'
,
function
(
$scope
,
$log
)
{
commonModule
.
controller
(
'editOrganizationShareholderModalController'
,
[
'$scope'
,
'$log'
,
'ackUibModal'
,
function
(
$scope
,
$log
,
ackUibModal
)
{
'use strict'
;
$scope
.
isShow
=
false
;
//模态框管理
$scope
.
modalManage
=
{
directo
rModal
:
{
shareholde
rModal
:
{
open
:
function
()
{
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
'edit-organization-shareholder-modal.html'
,
'edit-organization-shareholder-modal'
,
$scope
.
parentPage
,
'static'
,
function
()
{
'edit-organization-shareholder-modal
-wrapper
'
,
null
,
'static'
,
function
()
{
$scope
.
isShow
=
false
;
ackMessageBox
.
close
();
});
$scope
.
modalInstance
.
open
();
},
close
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
close
();
},
cancel
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
cancel
();
}
}
...
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationShareholderModalController', ['$scope',
},
initWatches
:
function
()
{
$scope
.
$watch
(
'isShow'
,
function
(
newValue
,
oldValue
)
{
$scope
.
$watch
(
'isShow
S
'
,
function
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
$scope
.
modalManage
.
uploadInvoiceExtra
.
open
();
$scope
.
modalManage
.
shareholderModal
.
open
();
}
});
}
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-shareholder-modal/edit-organization-shareholder-modal.html
View file @
79bd35d6
...
...
@@ -76,7 +76,7 @@
<
div
class
=
"modal-footer"
>
<
span
style
=
"float:right"
>
<
button
class
=
"btn btn-primary"
type
=
"button"
ng
-
click
=
"save()"
translate
=
"Submit"
><
/button
>
<
button
class
=
"btn btn-third"
type
=
"button"
ng
-
click
=
"modalManage.
directo
rModal.cancel()"
translate
=
"Cancel"
><
/button
>
<
button
class
=
"btn btn-third"
type
=
"button"
ng
-
click
=
"modalManage.
shareholde
rModal.cancel()"
translate
=
"Cancel"
><
/button
>
<
/span
>
<
/div
>
</script>
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-shareholder-modal/edit-organization-shareholder-modal.js
View file @
79bd35d6
...
...
@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationShareholderModal', ['$log', function ($l
replace
:
true
,
controller
:
'editOrganizationShareholderModalController'
,
scope
:
{
isShow
:
'=?'
,
isShow
S
:
'=?'
,
parentPage
:
'@'
,
editModel
:
'=?'
},
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-shareholder-modal/edit-organization-shareholder-modal.less
View file @
79bd35d6
...
...
@@ -8,7 +8,6 @@
.edit-organization-shareholder-modal-wrapper {
height: 100%;
.modal-title {
font-family: 'Arial Bold', 'Arial';
font-weight: 700;
...
...
@@ -19,7 +18,7 @@
}
.modal-dialog {
width:
8
0% !important;
width:
5
0% !important;
.modal-body {
height: 100%;
...
...
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