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
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
138 additions
and
58 deletions
+138
-58
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
+38
-5
edit-organization-modal.html
...rols/edit-organization-modal/edit-organization-modal.html
+7
-9
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
+69
-26
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 @@
...
@@ -240,6 +240,7 @@
$scope
.
orgOperateType
=
constant
.
Operation
.
Add
;
$scope
.
orgOperateType
=
constant
.
Operation
.
Add
;
$scope
.
isAdd
=
true
;
$scope
.
isAdd
=
true
;
$scope
.
selectedOrg
=
null
;
$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 @@
...
@@ -385,10 +385,10 @@
</div>
</div>
<operate-log
is-show=
"isShowLog"
></operate-log>
<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>
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-shareholder-modal
is-show
-s=
"isShowShareholderModal2
"
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-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"-->
<!--<edit-equity-modal operate-type="equityEditOperateType" is-update="isEquityUpdate"-->
<!--selected-organization="selectedOrg"></edit-equity-modal>-->
<!--selected-organization="selectedOrg"></edit-equity-modal>-->
<!--<edit-equity-change-modal operate-type="equityChangeOperateType" is-update="isEquityChange"-->
<!--<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'
;
'use strict'
;
$scope
.
isShow
=
false
;
$scope
.
isShow
=
false
;
...
@@ -9,16 +9,18 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
...
@@ -9,16 +9,18 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
'edit-organization-director-modal.html'
,
'edit-organization-director-modal.html'
,
'edit-organization-director-modal'
,
'edit-organization-director-modal'
,
$scope
.
parentPage
,
'static'
,
function
()
{
null
,
'static'
,
function
()
{
$scope
.
isShow
=
false
;
$scope
.
isShow
=
false
;
ackMessageBox
.
close
();
ackMessageBox
.
close
();
});
});
$scope
.
modalInstance
.
open
();
$scope
.
modalInstance
.
open
();
},
},
close
:
function
()
{
close
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
close
();
$scope
.
modalInstance
.
close
();
},
},
cancel
:
function
()
{
cancel
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
cancel
();
$scope
.
modalInstance
.
cancel
();
}
}
}
}
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationDirectorModalController', ['$scope', '$
},
},
initWatches
:
function
()
{
initWatches
:
function
()
{
$scope
.
$watch
(
'isShow'
,
function
(
newValue
,
oldValue
)
{
$scope
.
$watch
(
'isShow
D
'
,
function
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
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)
...
@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationDirectorModal', ['$log', function ($log)
replace
:
true
,
replace
:
true
,
controller
:
'editOrganizationDirectorModalController'
,
controller
:
'editOrganizationDirectorModalController'
,
scope
:
{
scope
:
{
isShow
:
'=?'
,
isShow
D
:
'=?'
,
parentPage
:
'@'
,
parentPage
:
'@'
,
editModel
:
'=?'
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'
,
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
)
{
function
(
$scope
,
$log
,
$translate
,
uiGridConstants
,
$location
,
$timeout
,
$interval
,
$filter
,
SweetAlert
,
orgHKService
,
ackUibModal
)
{
var
selectedModel
=
'.addOrgControlPop'
;
//'#addOrgControlPop' + $scope.dimensionId;
var
selectedModel
=
'.addOrgControlPop'
;
//'#addOrgControlPop' + $scope.dimensionId;
...
@@ -77,12 +77,14 @@
...
@@ -77,12 +77,14 @@
// $scope.selfDimensionModel = getAddOrgSetDimension();
// $scope.selfDimensionModel = getAddOrgSetDimension();
// initIsCheckedServiceList();
// initIsCheckedServiceList();
// resetErrorStatus();
// resetErrorStatus();
if
(
$scope
.
isShow
)
{
$scope
.
orgControlForm
.
$setPristine
();
$scope
.
orgControlForm
.
$setPristine
();
$
(
'#orgControlTab a:first'
).
tab
(
'show'
);
// $(selectedModel).modal('show');
}
// $scope.advancedControlForm.$setPristine();
// $scope.advancedControlForm.$setPristine();
// set first active page is basic info
// set first active page is basic info
$
(
'#orgControlTab a:first'
).
tab
(
'show'
);
// $('#orgModalFooter').css('padding-left','139px');
// $('#orgModalFooter').css('padding-left','139px');
$
(
selectedModel
).
modal
(
'show'
);
};
};
$scope
.
nameKeyUp
=
function
()
{
$scope
.
nameKeyUp
=
function
()
{
...
@@ -392,6 +394,7 @@
...
@@ -392,6 +394,7 @@
$scope
.
closeModal
=
function
()
{
$scope
.
closeModal
=
function
()
{
$scope
.
operateType
=
null
;
$scope
.
operateType
=
null
;
$scope
.
modalManage
.
editOrgModal
.
cancel
();
};
};
$scope
.
addEquity
=
function
()
{
$scope
.
addEquity
=
function
()
{
...
@@ -415,7 +418,7 @@
...
@@ -415,7 +418,7 @@
$scope
.
countryCNList
=
constant
.
countryCNList
;
$scope
.
countryCNList
=
constant
.
countryCNList
;
$scope
.
legalFormTypeList
=
constant
.
organizationHK
.
legalFormTypeList
;
$scope
.
legalFormTypeList
=
constant
.
organizationHK
.
legalFormTypeList
;
$scope
.
entityLevelTypeList
=
constant
.
organizationHK
.
EntityLevel
;
$scope
.
entityLevelTypeList
=
constant
.
organizationHK
.
EntityLevel
;
$scope
.
jurisdictionOfFormationTypeList
=
constant
.
organizationHK
.
JurisdictionOfFormation
;
$scope
.
jurisdictionOfFormationTypeList
=
constant
.
organizationHK
.
JurisdictionOfFormation
;
$scope
.
ownershipFormTypeList
=
constant
.
organizationHK
.
OwnershipForm
;
$scope
.
ownershipFormTypeList
=
constant
.
organizationHK
.
OwnershipForm
;
$
(
'.localRequired'
).
attr
(
"required"
,
true
);
$
(
'.localRequired'
).
attr
(
"required"
,
true
);
$
(
'.orgAreaRequired'
).
attr
(
"required"
,
true
);
$
(
'.orgAreaRequired'
).
attr
(
"required"
,
true
);
...
@@ -658,6 +661,36 @@
...
@@ -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
()
{
(
function
initialize
()
{
$log
.
debug
(
'editOrganizationModalController.ctor()...'
);
$log
.
debug
(
'editOrganizationModalController.ctor()...'
);
$scope
.
maxdropLength
=
20
;
$scope
.
maxdropLength
=
20
;
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.html
View file @
79bd35d6
<div
class=
"edit-organization-modal-wrapper"
>
<div
class=
"edit-organization-modal-wrapper"
>
<div
class=
"modal fade addOrgControlPop"
id=
"addOrgControlPop{{dimensionId}}"
tabindex=
"-1"
role=
"dialog"
<script
type=
"text/ng-template"
id=
"edit-organization-modal.html"
>
aria-labelledby=
"myModalLabel"
>
<div
class=
"modal-dialog"
role=
"document"
>
<div
class=
"modal-content"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-header"
>
<
div
class
=
"modal-title"
ng
-
if
=
"isAdd"
>
{{
'AddOrganization'
|
translate
}}
<
div
class
=
"modal-title"
ng
-
if
=
"isAdd"
>
{{
'AddOrganization'
|
translate
}}
<
/div
>
<
/div
>
...
@@ -261,16 +258,16 @@
...
@@ -261,16 +258,16 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"modal-footer"
id
=
"orgModalFooter"
style
=
"padding-left:139px;"
>
<
div
class
=
"modal-footer"
id
=
"orgModalFooter"
style
=
"padding-left:139px;"
>
<
span
style
=
"float:right"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
ng
-
click
=
"saveOrg()"
>
<
button
type
=
"submit"
class
=
"btn btn-primary"
ng
-
click
=
"saveOrg()"
>
{{
'Confirm'
|
translate
}}
{{
'Confirm'
|
translate
}}
<
/button
>
<
/button
>
<
button
type
=
"button"
class
=
"btn btn-third"
ng
-
click
=
"closeModal()"
data
-
dismiss
=
"modal"
>
<
button
type
=
"button"
class
=
"btn btn-third"
ng
-
click
=
"closeModal()"
data
-
dismiss
=
"modal"
>
{{
'Cancel'
|
translate
}}
{{
'Cancel'
|
translate
}}
<
/button
>
<
/button
>
<
/span
>
<
/div
>
<
/div
>
</div>
<
edit
-
organization
-
shareholder
-
modal
is
-
show
-
s
=
"isShowShareholderModal"
parent
-
page
=
".edit-organization-modal-wrapper"
edit
-
model
=
"editShareholder"
><
/edit-organization-shareholder-modal
>
</div>
<
edit
-
organization
-
director
-
modal
is
-
show
-
d
=
"isShowDirectorModal"
parent
-
page
=
".edit-organization-modal-wrapper"
edit
-
model
=
"editDirector"
><
/edit-organization-director-modal
>
</div>
</script>
<edit-organization-shareholder-modal
is-show=
"isShowShareholderModal"
parent-page=
".edit-organization-modal-wrapper"
edit-model=
"editShareholder"
></edit-organization-shareholder-modal>
<edit-organization-director-modal
is-show=
"isShowDirectorModal"
parent-page=
".edit-organization-modal-wrapper"
edit-model=
"editDirector"
></edit-organization-director-modal>
</div>
</div>
\ No newline at end of file
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.js
View file @
79bd35d6
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
controller
:
'editOrganizationModalController'
,
controller
:
'editOrganizationModalController'
,
scope
:
scope
:
{
{
isShow
:
'=?'
,
parentPage
:
'@'
,
//区分是添加还是编辑
//区分是添加还是编辑
operateType
:
'='
,
operateType
:
'='
,
...
...
atms-web/src/main/webapp/app/common/controls/edit-organization-modal/edit-organization-modal.less
View file @
79bd35d6
@footer-button-left: 159px;
@footer-button-left: 159px;
.edit-organization-modal-wrapper {
.edit-organization-modal-wrapper {
height: 100%;
.modal-title {
font-family: 'Arial Bold', 'Arial';
font-weight: 700;
font-style: normal;
font-size: 16px;
color: #000000;
line-height: 20px;
}
.modal-dialog {
width: 1100px;
height: 600px;
.modal-body {
height: 100%;
padding-left: 0px !important;
width: auto;
.row {
height: 100%;
margin-bottom: 20px;
}
.left-container {
height: 100%;
.pic-file-title {
.base-font-style;
}
.pic-file-wrapper {
width: 100%;
/*height:480px!important;*/
height: calc(~"100% - 20px");
/*background: url('TestInvoice.JPG');*/
background-size: contain;
background-repeat: no-repeat;
}
.show-full-pic {
cursor: pointer;
float: right;
margin-top: 18px;
}
}
.right-container {
}
}
.addOrgControlPop {
.modal-footer {
.modal-header{
text-align: left;
}
}
.modal-header {
border-bottom: 0px;
border-bottom: 0px;
}
}
.modal-title {
.modal-title {
...
@@ -14,11 +66,6 @@
...
@@ -14,11 +66,6 @@
color: red;
color: red;
}
}
.modal-dialog {
width: 1100px;
height: 600px;
}
.btn-default {
.btn-default {
height: 33px;
height: 33px;
width: 250px;
width: 250px;
...
@@ -29,10 +76,10 @@
...
@@ -29,10 +76,10 @@
height: 33px;
height: 33px;
}
}
.modal-body {
//
.modal-body {
padding-left: 0px !important;
//
padding-left: 0px !important;
width: auto;
//
width: auto;
}
//
}
.dropdown-menu {
.dropdown-menu {
max-height: 220px;
max-height: 220px;
...
@@ -69,7 +116,6 @@
...
@@ -69,7 +116,6 @@
white-space: nowrap;
white-space: nowrap;
}
}
.dropdown-toggle .caret {
.dropdown-toggle .caret {
width: 10px;
width: 10px;
height: 10px;
height: 10px;
...
@@ -87,8 +133,9 @@
...
@@ -87,8 +133,9 @@
.main {
.main {
margin: 20px 1px;
margin: 20px 1px;
border-bottom: 1px;
border-bottom: 1px;
} //Target Chrome
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
//Target Chrome
@media screen and (-webkit-min-device-pixel-ratio: 0) {
.dropdown-toggle .caret {
.dropdown-toggle .caret {
width: 10px;
width: 10px;
height: 10px;
height: 10px;
...
@@ -146,7 +193,6 @@
...
@@ -146,7 +193,6 @@
/*background-color: #FFC706;*/
/*background-color: #FFC706;*/
}
}
.tab-pane {
.tab-pane {
/*height: 460px;*/
/*height: 460px;*/
overflow-y: auto;
overflow-y: auto;
...
@@ -169,12 +215,12 @@
...
@@ -169,12 +215,12 @@
width: 50%;
width: 50%;
border: 1px solid #F2F2F2;
border: 1px solid #F2F2F2;
&:hover
{
&:hover
{
/*border: 1px solid #F2F2F2!important;*/
/*border: 1px solid #F2F2F2!important;*/
}
}
a:hover {
a:hover {
color: #D35412
!important;
color: #D35412
!important;
background-color: white
!important;
background-color: white
!important;
}
}
}
}
...
@@ -187,17 +233,17 @@
...
@@ -187,17 +233,17 @@
vertical-align: middle;
vertical-align: middle;
text-align: center;
text-align: center;
border: 0px;
border: 0px;
color: black
!important;
color: black
!important;
}
}
li.active {
li.active {
background-color: #f3f2f0
!important;
background-color: #f3f2f0
!important;
/*border:0px;*/
/*border:0px;*/
a,
a,
a:hover,
a:hover,
a:focus {
a:focus {
color: black
!important;
color: black
!important;
background-color: #f3f2f0
!important;
background-color: #f3f2f0
!important;
}
}
}
}
...
@@ -373,7 +419,6 @@
...
@@ -373,7 +419,6 @@
margin-top: 6px;
margin-top: 6px;
}
}
.test-select {
.test-select {
width: 130px;
width: 130px;
}
}
...
@@ -413,7 +458,7 @@
...
@@ -413,7 +458,7 @@
#advancedOptions {
#advancedOptions {
max-height: 100%;
max-height: 100%;
margin:
10px 20px 0px 20px;
margin:
10px 20px 0px 20px;
.right-option {
.right-option {
height: 30px;
height: 30px;
...
@@ -459,5 +504,4 @@
...
@@ -459,5 +504,4 @@
}
}
}
}
}
}
}
\ No newline at end of file
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'
;
'use strict'
;
$scope
.
isShow
=
false
;
$scope
.
isShow
=
false
;
//模态框管理
//模态框管理
$scope
.
modalManage
=
{
$scope
.
modalManage
=
{
directo
rModal
:
{
shareholde
rModal
:
{
open
:
function
()
{
open
:
function
()
{
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
$scope
.
modalInstance
=
ackUibModal
(
$scope
,
'edit-organization-shareholder-modal.html'
,
'edit-organization-shareholder-modal.html'
,
'edit-organization-shareholder-modal'
,
'edit-organization-shareholder-modal
-wrapper
'
,
$scope
.
parentPage
,
'static'
,
function
()
{
null
,
'static'
,
function
()
{
$scope
.
isShow
=
false
;
$scope
.
isShow
=
false
;
ackMessageBox
.
close
();
ackMessageBox
.
close
();
});
});
$scope
.
modalInstance
.
open
();
$scope
.
modalInstance
.
open
();
},
},
close
:
function
()
{
close
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
close
();
$scope
.
modalInstance
.
close
();
},
},
cancel
:
function
()
{
cancel
:
function
()
{
$scope
.
isShow
=
false
;
$scope
.
modalInstance
.
cancel
();
$scope
.
modalInstance
.
cancel
();
}
}
}
}
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationShareholderModalController', ['$scope',
...
@@ -40,9 +42,9 @@ commonModule.controller('editOrganizationShareholderModalController', ['$scope',
},
},
initWatches
:
function
()
{
initWatches
:
function
()
{
$scope
.
$watch
(
'isShow'
,
function
(
newValue
,
oldValue
)
{
$scope
.
$watch
(
'isShow
S
'
,
function
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
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 @@
...
@@ -76,7 +76,7 @@
<
div
class
=
"modal-footer"
>
<
div
class
=
"modal-footer"
>
<
span
style
=
"float:right"
>
<
span
style
=
"float:right"
>
<
button
class
=
"btn btn-primary"
type
=
"button"
ng
-
click
=
"save()"
translate
=
"Submit"
><
/button
>
<
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
>
<
/span
>
<
/div
>
<
/div
>
</script>
</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
...
@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationShareholderModal', ['$log', function ($l
replace
:
true
,
replace
:
true
,
controller
:
'editOrganizationShareholderModalController'
,
controller
:
'editOrganizationShareholderModalController'
,
scope
:
{
scope
:
{
isShow
:
'=?'
,
isShow
S
:
'=?'
,
parentPage
:
'@'
,
parentPage
:
'@'
,
editModel
:
'=?'
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 @@
...
@@ -8,7 +8,6 @@
.edit-organization-shareholder-modal-wrapper {
.edit-organization-shareholder-modal-wrapper {
height: 100%;
height: 100%;
.modal-title {
.modal-title {
font-family: 'Arial Bold', 'Arial';
font-family: 'Arial Bold', 'Arial';
font-weight: 700;
font-weight: 700;
...
@@ -19,7 +18,7 @@
...
@@ -19,7 +18,7 @@
}
}
.modal-dialog {
.modal-dialog {
width:
8
0% !important;
width:
5
0% !important;
.modal-body {
.modal-body {
height: 100%;
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