Commit 79bd35d6 authored by frank.xa.zhang's avatar frank.xa.zhang

save data to org -- frank

parent ecc42b3e
......@@ -240,6 +240,7 @@
$scope.orgOperateType = constant.Operation.Add;
$scope.isAdd = true;
$scope.selectedOrg = null;
$scope.showEditModal = true;
};
// 编辑机构
......
......@@ -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"-->
......
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('isShowD', function (newValue, oldValue) {
if (newValue) {
$scope.modalManage.uploadInvoiceExtra.open();
$scope.modalManage.directorModal.open();
}
});
}
......
......@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationDirectorModal', ['$log', function ($log)
replace: true,
controller: 'editOrganizationDirectorModalController',
scope: {
isShow: '=?',
isShowD: '=?',
parentPage: '@',
editModel: '=?'
},
......
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;
......
<div class="edit-organization-modal-wrapper">
<div class="modal fade addOrgControlPop" id="addOrgControlPop{{dimensionId}}" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title" ng-if="isAdd">{{'AddOrganization' | translate}}
</div>
<div class="modal-title" ng-if="!isAdd">{{'EditOrganization' | translate}}
</div>
</div>
<div id="orgControlTab">
<ul class="nav nav-tabs" ng-if="isAdd">
<li class="active">
<a href="#basicdata" data-toggle="tab">
{{'FundamentalInfo' | translate}}
<span class="glyphicon glyphicon-exclamation-sign" ng-if="isShowBasic"></span>
</a>
</li>
<li>
<a href="#advancedOptions" data-toggle="tab">
{{'ShareholderInfo' | translate}}
<span class="glyphicon glyphicon-exclamation-sign" ng-if="isShowAdvanced"></span>
</a>
</li>
</ul>
</div>
<div id="myTabContent" class="tab-content">
<div id="basicdata" class="tab-pane in active">
<form class="form-horizontal" id="orgControlForm" name="orgControlForm">
<div class="local">
<div style="margin-left: 20px;margin-top: 20px">
<span style="font-weight: bold;font-size: large;">{{'EntityInfo'|translate}}</span>
<script type="text/ng-template" id="edit-organization-modal.html">
<div class="modal-header">
<div class="modal-title" ng-if="isAdd">{{'AddOrganization' | translate}}
</div>
<div class="modal-title" ng-if="!isAdd">{{'EditOrganization' | translate}}
</div>
</div>
<div id="orgControlTab">
<ul class="nav nav-tabs" ng-if="isAdd">
<li class="active">
<a href="#basicdata" data-toggle="tab">
{{'FundamentalInfo' | translate}}
<span class="glyphicon glyphicon-exclamation-sign" ng-if="isShowBasic"></span>
</a>
</li>
<li>
<a href="#advancedOptions" data-toggle="tab">
{{'ShareholderInfo' | translate}}
<span class="glyphicon glyphicon-exclamation-sign" ng-if="isShowAdvanced"></span>
</a>
</li>
</ul>
</div>
<div id="myTabContent" class="tab-content">
<div id="basicdata" class="tab-pane in active">
<form class="form-horizontal" id="orgControlForm" name="orgControlForm">
<div class="local">
<div style="margin-left: 20px;margin-top: 20px">
<span style="font-weight: bold;font-size: large;">{{'EntityInfo'|translate}}</span>
</div>
<div class="bottom-row">
<div class="quarter-div leftUp">
<!--机构名称-->
<div class="form-group">
<label class="col-sm-3 control-label"><span class="must-input">*</span>{{'OrganizationName' | translate}}:</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.name.$invalid && (orgControlForm.name.$dirty || orgControlForm.$submitted)}">
<input class="form-control localRequired" id="name"
ng-model="editOrgModel.name" name="name"
placeholder="{{resources.OrganizationName}}" ng-keyup="nameKeyUp()"
maxlength="100">
<!--<p ng-show="orgControlForm.name.$error.required && (orgControlForm.name.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">{{resources.OrganizationMsgNameRequired}}-->
<!--</p>-->
<!--<p ng-show="editOrgModel.nameError" class="has-error label">-->
<!--{{editOrgModel.nameError}}</p>-->
</div>
</div>
<div class="bottom-row">
<div class="quarter-div leftUp">
<!--机构名称-->
<div class="form-group">
<label class="col-sm-3 control-label"><span class="must-input">*</span>{{'OrganizationName' | translate}}:</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.name.$invalid && (orgControlForm.name.$dirty || orgControlForm.$submitted)}">
<input class="form-control localRequired" id="name"
ng-model="editOrgModel.name" name="name"
placeholder="{{resources.OrganizationName}}" ng-keyup="nameKeyUp()"
maxlength="100">
<!--<p ng-show="orgControlForm.name.$error.required && (orgControlForm.name.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">{{resources.OrganizationMsgNameRequired}}-->
<!--</p>-->
<!--<p ng-show="editOrgModel.nameError" class="has-error label">-->
<!--{{editOrgModel.nameError}}</p>-->
</div>
</div>
<!--Internal Entity Code-->
<div class="form-group">
<label class="col-sm-3 control-label"></span>{{'EntityCode' | translate}}:</label>
<div class="col-sm-9">
<input class="form-control" id="entityCode"
ng-model="editOrgModel.code" name="entityCode"
placeholder="{{resources.EntityCode}}"
ng-keyup="nameKeyUp()" maxlength="100">
</div>
</div>
<!--Legal Form-->
<div class="form-group">
<label for="legalForm" class="col-sm-3 control-label"><span
class="must-input">*</span>{{'OrganizationLegalForm' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.legalForm.$invalid && (orgControlForm.legalForm.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='legalForm'
name="legalForm" ng-model="editOrgModel.legalForm"
ng-options="item.type as item.type for item in legalFormTypeList">
<option value="">{{resources.LegalForm}}</option>
</select>
<!--<p ng-show="orgControlForm.clientCode.$error.required && (orgControlForm.clientCode.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgClientCodeRequired}}</p>-->
</div>
</div>
<!--Internal Entity Code-->
<div class="form-group">
<label class="col-sm-3 control-label"></span>{{'EntityCode' | translate}}:</label>
<div class="col-sm-9">
<input class="form-control" id="entityCode"
ng-model="editOrgModel.code" name="entityCode"
placeholder="{{resources.EntityCode}}"
ng-keyup="nameKeyUp()" maxlength="100">
</div>
</div>
<!--registerAddress-->
<div class="form-group">
<label for="registerAddress"
class="col-sm-3 control-label">{{'RegistrationLocation' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registerAddress.$invalid && (orgControlForm.registerAddress.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="registerAddress" id="registerAddress"
ng-model="editOrgModel.registerAddress"
placeholder="{{resources.registrationLocation}}" maxlength="100">
<!--<p ng-show="orgControlForm.architectureType.$error.required && (orgControlForm.architectureType.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgArchitectureTypeRequired}}</p>-->
</div>
</div>
<!--Legal Form-->
<div class="form-group">
<label for="legalForm" class="col-sm-3 control-label"><span
class="must-input">*</span>{{'OrganizationLegalForm' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.legalForm.$invalid && (orgControlForm.legalForm.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='legalForm'
name="legalForm" ng-model="editOrgModel.legalForm"
ng-options="item.type as item.type for item in legalFormTypeList">
<option value="">{{resources.LegalForm}}</option>
</select>
<!--<p ng-show="orgControlForm.clientCode.$error.required && (orgControlForm.clientCode.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgClientCodeRequired}}</p>-->
</div>
</div>
<!--authorisedCapital-->
<div class="form-group">
<label for="authorisedCapital" class="col-sm-3 control-label">{{'authorisedCapital' | translate}}:</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.authorisedCapital.$invalid && (orgControlForm.authorisedCapital.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="authorisedCapital" id="authorisedCapital"
ng-model="editOrgModel.authorisedCapital"
placeholder="{{resources.authorisedCapital}}" maxlength="100">
</div>
</div>
<!--registerAddress-->
<div class="form-group">
<label for="registerAddress"
class="col-sm-3 control-label">{{'RegistrationLocation' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registerAddress.$invalid && (orgControlForm.registerAddress.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="registerAddress" id="registerAddress"
ng-model="editOrgModel.registerAddress"
placeholder="{{resources.registrationLocation}}" maxlength="100">
<!--<p ng-show="orgControlForm.architectureType.$error.required && (orgControlForm.architectureType.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgArchitectureTypeRequired}}</p>-->
</div>
</div>
<!--issuedCapital-->
<div class="form-group">
<label for="issuedCapital" class="col-sm-3 control-label">{{'issuedCapital' | translate}}:</label>
<!-- <div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registrationCapital.$invalid && (orgControlForm.registrationCapital.$dirty || orgControlForm.$submitted)}"> -->
<div class="col-sm-9">
<input class="form-control" name="issuedCapital"
id="issuedCapital" ng-model="editOrgModel.issuedCapital"
placeholder="{{resources.issuedCapital}}" maxlength="50">
</div>
</div>
<!--authorisedCapital-->
<div class="form-group">
<label for="authorisedCapital" class="col-sm-3 control-label">{{'authorisedCapital' | translate}}</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.authorisedCapital.$invalid && (orgControlForm.authorisedCapital.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="authorisedCapital" id="authorisedCapital"
ng-model="editOrgModel.authorisedCapital"
placeholder="{{resources.authorisedCapital}}" maxlength="100">
</div>
</div>
<!--industry-->
<div class="form-group">
<label for="industry" class="col-sm-3 control-label">{{'industry' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.industry.$invalid && (orgControlForm.industry.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="industry"
id="industry" ng-model="editOrgModel.industry"
placeholder="{{resources.industry}}" maxlength="50">
</div>
</div>
<!--issuedCapital-->
<div class="form-group">
<label for="issuedCapital" class="col-sm-3 control-label">{{'issuedCapital' | translate}}</label>
<!-- <div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registrationCapital.$invalid && (orgControlForm.registrationCapital.$dirty || orgControlForm.$submitted)}"> -->
<div class="col-sm-9">
<input class="form-control" name="issuedCapital"
id="issuedCapital" ng-model="editOrgModel.issuedCapital"
placeholder="{{resources.issuedCapital}}" maxlength="50">
</div>
<div class="quarter-div rightUp">
<!--businessLicense-->
<div class="form-group">
<label for="businessLicense" class="col-sm-3 control-label"><span class="must-input">*</span>{{'businessLicense' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.businessLicense.$invalid && (orgControlForm.businessLicense.$dirty || orgControlForm.$submitted)}">
<input class="form-control localRequired" name="businessLicense"
id="businessLicense" ng-model="editOrgModel.businessLicense"
maxlength="50" placeholder="{{resources.businessLicense}}">
<!--<p ng-show="orgControlForm.businessLicense.$error.taxPayerNumberUnique && (orgControlForm.businessLicense.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgTaxPayerNumberUnique}}</p>-->
</div>
</div>
</div>
<!--entityLevel-->
<div class="form-group">
<label for="entityLevel" class="col-sm-3 control-label"><span
class="must-input">*</span>{{'entityLevel' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.entityLevel.$invalid && (orgControlForm.entityLevel.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='entityLevel'
name="entityLevel" ng-model="editOrgModel.entityLevel"
ng-options="item.type as item.type for item in entityLevelTypeList">
<option value="">{{resources.entityLevel}}</option>
</select>
</div>
</div>
<!--industry-->
<div class="form-group">
<label for="industry" class="col-sm-3 control-label">{{'industry' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.industry.$invalid && (orgControlForm.industry.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="industry"
id="industry" ng-model="editOrgModel.industry"
placeholder="{{resources.industry}}" maxlength="50">
</div>
</div>
</div>
<div class="quarter-div rightUp">
<!--businessLicense-->
<div class="form-group">
<label for="businessLicense" class="col-sm-3 control-label"><span class="must-input">*</span>{{'businessLicense' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.businessLicense.$invalid && (orgControlForm.businessLicense.$dirty || orgControlForm.$submitted)}">
<input class="form-control localRequired" name="businessLicense"
id="businessLicense" ng-model="editOrgModel.businessLicense"
maxlength="50" placeholder="{{resources.businessLicense}}">
<!--<p ng-show="orgControlForm.businessLicense.$error.taxPayerNumberUnique && (orgControlForm.businessLicense.$dirty || orgControlForm.$submitted)"-->
<!--class="has-error label">-->
<!--{{resources.OrganizationMsgTaxPayerNumberUnique}}</p>-->
</div>
</div>
<!--dateOfIncorporation-->
<div class="form-group">
<label for="dateOfIncorporation" class="col-sm-3 control-label">{{'dateOfIncorporation' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.dateOfIncorporation.$invalid && (orgControlForm.dateOfIncorporation.$dirty || orgControlForm.$submitted)}">
<div class="input-daterange startDatepicker">
<input type="text" id="dateOfIncorporation" class="input-sm form-control" name="dateOfIncorporation" ng-model="editOrgModel.dateOfIncorporation"
required="required" placeholder="{{resources.dateOfIncorporation}}"/>
</div>
<!-- <p ng-show="orgControlForm.regStatus.$error.required && (orgControlForm.regStatus.$dirty || orgControlForm.$submitted)"
class="has-error label">
{{resources.OrganizationMsgRegStatusRequired}}</p> -->
</div>
</div>
<!--entityLevel-->
<div class="form-group">
<label for="entityLevel" class="col-sm-3 control-label"><span
class="must-input">*</span>{{'entityLevel' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.entityLevel.$invalid && (orgControlForm.entityLevel.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='entityLevel'
name="entityLevel" ng-model="editOrgModel.entityLevel"
ng-options="item.type as item.type for item in entityLevelTypeList">
<option value="">{{resources.entityLevel}}</option>
</select>
</div>
</div>
<!--jurisdictionOfFormation-->
<div class="form-group">
<label for="jurisdictionOfFormation" class="col-sm-3 control-label"><span class="must-input">*</span>{{'jurisdictionOfFormation' | translate}}:</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.jurisdictionOfFormation.$invalid && (orgControlForm.jurisdictionOfFormation.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='jurisdictionOfFormation'
name="jurisdictionOfFormation" ng-model="editOrgModel.jurisdictionOfFormation"
ng-options="item.type as item.type for item in jurisdictionOfFormationTypeList">
<option value="">{{resources.jurisdictionOfFormation}}</option>
</select>
<!-- <p ng-show="orgControlForm.code.$error.required && (orgControlForm.name.$dirty || orgControlForm.$submitted)"
class="has-error label">{{resources.OrganizationMsgCodeRequired}}</p>
<p ng-show="orgControlForm.code.$error.maxlength"
class="has-error label">
{{resources.OrganizationMsgCodeMaxLength}}</p>
<p ng-show="orgControlForm.code.$error.pattern" class="has-error label">
{{resources.OrganizationMsgCodePattern}}</p>
<p ng-show="orgControlForm.code.$error.codeUnique"
class="has-error label">{{resources.OrganizationMsgCodeUnique}}</p> -->
</div>
<!--dateOfIncorporation-->
<div class="form-group">
<label for="dateOfIncorporation" class="col-sm-3 control-label">{{'dateOfIncorporation' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.dateOfIncorporation.$invalid && (orgControlForm.dateOfIncorporation.$dirty || orgControlForm.$submitted)}">
<div class="input-daterange startDatepicker">
<input type="text" id="dateOfIncorporation" class="input-sm form-control" name="dateOfIncorporation" ng-model="editOrgModel.dateOfIncorporation"
required="required" placeholder="{{resources.dateOfIncorporation}}"/>
</div>
<!-- <p ng-show="orgControlForm.regStatus.$error.required && (orgControlForm.regStatus.$dirty || orgControlForm.$submitted)"
class="has-error label">
{{resources.OrganizationMsgRegStatusRequired}}</p> -->
</div>
</div>
<!--financialYearEnd-->
<div class="form-group">
<label for="financialYearEnd" class="col-sm-3 control-label">{{'financialYearEnd' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.financialYearEnd.$invalid && (orgControlForm.financialYearEnd.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="financialYearEnd" id="financialYearEnd" ng-model="editOrgModel.financialYearEnd"
placeholder="{{resources.financialYearEnd}}" maxlength="50">
</div>
</div>
<!--jurisdictionOfFormation-->
<div class="form-group">
<label for="jurisdictionOfFormation" class="col-sm-3 control-label"><span class="must-input">*</span>{{'jurisdictionOfFormation' | translate}}:</label>
<div class="col-sm-9" ng-class="{'has-error':orgControlForm.jurisdictionOfFormation.$invalid && (orgControlForm.jurisdictionOfFormation.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='jurisdictionOfFormation'
name="jurisdictionOfFormation" ng-model="editOrgModel.jurisdictionOfFormation"
ng-options="item.type as item.type for item in jurisdictionOfFormationTypeList">
<option value="">{{resources.jurisdictionOfFormation}}</option>
</select>
<!-- <p ng-show="orgControlForm.code.$error.required && (orgControlForm.name.$dirty || orgControlForm.$submitted)"
class="has-error label">{{resources.OrganizationMsgCodeRequired}}</p>
<p ng-show="orgControlForm.code.$error.maxlength"
class="has-error label">
{{resources.OrganizationMsgCodeMaxLength}}</p>
<p ng-show="orgControlForm.code.$error.pattern" class="has-error label">
{{resources.OrganizationMsgCodePattern}}</p>
<p ng-show="orgControlForm.code.$error.codeUnique"
class="has-error label">{{resources.OrganizationMsgCodeUnique}}</p> -->
</div>
</div>
<!--registeredAgent-->
<div class="form-group">
<label for="registeredAgent" class="col-sm-3 control-label">{{'registeredAgent' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registeredAgent.$invalid && (orgControlForm.registeredAgent.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="registeredAgent" id="registeredAgent" ng-model="editOrgModel.registeredAgent" placeholder="{{resources.registeredAgent}}" maxlength="50">
</div>
</div>
<!--financialYearEnd-->
<div class="form-group">
<label for="financialYearEnd" class="col-sm-3 control-label">{{'financialYearEnd' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.financialYearEnd.$invalid && (orgControlForm.financialYearEnd.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="financialYearEnd" id="financialYearEnd" ng-model="editOrgModel.financialYearEnd"
placeholder="{{resources.financialYearEnd}}" maxlength="50">
</div>
</div>
<!--ownershipForm-->
<div class="form-group">
<label for="ownershipForm"
class="col-sm-3 control-label">{{'ownershipForm' | translate}}:</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.ownershipForm.$invalid && (orgControlForm.ownershipForm.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='ownershipForm'
name="ownershipForm"
ng-model="editOrgModel.ownershipForm"
ng-options="item.type as item.type for item in ownershipFormTypeList">
<option value="">{{resources.ownershipForm}}
</option>
</select>
<!-- <p ng-show="orgControlForm.engageNationalProhibitIndustry.$error.required && (orgControlForm.engageNationalProhibitIndustry.$dirty || orgControlForm.$submitted)"
class="has-error label">
{{resources.OrganizationMsgEngageNationalProhibitIndustryRequired}}
</p> -->
</div>
</div>
<!--registeredAgent-->
<div class="form-group">
<label for="registeredAgent" class="col-sm-3 control-label">{{'registeredAgent' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.registeredAgent.$invalid && (orgControlForm.registeredAgent.$dirty || orgControlForm.$submitted)}">
<input class="form-control" name="registeredAgent" id="registeredAgent" ng-model="editOrgModel.registeredAgent" placeholder="{{resources.registeredAgent}}" maxlength="50">
</div>
</div>
</div>
</form>
</div>
<div id="advancedOptions" class="tab-pane fade">
<!--Equity information-->
<div class="label-current-holding">
<label class="basic-label" style="font-weight: bold;font-size: large;">{{'ShareHolder' | translate}}</label>
<button type="button" class="btn btn-in-grid" style="width: 117px;float:right" ng-click="addEquity()">
<i class="material-icons middle">create</i>{{'Create' | translate}}
</button>
</div>
<div class="dx-viewport grid-container">
<div id="equityGridContainer" dx-data-grid="equityGridOptions" style="margin-top: 10px;">
</div>
</div>
<!--Direcotr information-->
<div class="label-director">
<label class="basic-label" style="font-weight: bold;font-size: large;">{{'DirectorInfo' | translate}}</label>
<button type="button" class="btn btn-in-grid" style="width: 117px;float:right" ng-click="addDirector()">
<i class="material-icons middle">create</i>{{'Create' | translate}}
</button>
</div>
<div class="dx-viewport grid-container">
<div id="DirectorGridContainer" dx-data-grid="directorGridOptions" style="margin-top: 10px;">
<!--ownershipForm-->
<div class="form-group">
<label for="ownershipForm"
class="col-sm-3 control-label">{{'ownershipForm' | translate}}</label>
<div class="col-sm-9"
ng-class="{'has-error':orgControlForm.ownershipForm.$invalid && (orgControlForm.ownershipForm.$dirty || orgControlForm.$submitted)}">
<select class="form-control" id='ownershipForm'
name="ownershipForm"
ng-model="editOrgModel.ownershipForm"
ng-options="item.type as item.type for item in ownershipFormTypeList">
<option value="">{{resources.ownershipForm}}
</option>
</select>
<!-- <p ng-show="orgControlForm.engageNationalProhibitIndustry.$error.required && (orgControlForm.engageNationalProhibitIndustry.$dirty || orgControlForm.$submitted)"
class="has-error label">
{{resources.OrganizationMsgEngageNationalProhibitIndustryRequired}}
</p> -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer" id="orgModalFooter" style="padding-left:139px;">
<button type="submit" class="btn btn-primary" ng-click="saveOrg()">
{{'Confirm' | translate}}
</form>
</div>
<div id="advancedOptions" class="tab-pane fade">
<!--Equity information-->
<div class="label-current-holding">
<label class="basic-label" style="font-weight: bold;font-size: large;">{{'ShareHolder' | translate}}</label>
<button type="button" class="btn btn-in-grid" style="width: 117px;float:right" ng-click="addEquity()">
<i class="material-icons middle">create</i>{{'Create' | translate}}
</button>
<button type="button" class="btn btn-third" ng-click="closeModal()" data-dismiss="modal">
{{'Cancel' | translate}}
</div>
<div class="dx-viewport grid-container">
<div id="equityGridContainer" dx-data-grid="equityGridOptions" style="margin-top: 10px;">
</div>
</div>
<!--Direcotr information-->
<div class="label-director">
<label class="basic-label" style="font-weight: bold;font-size: large;">{{'DirectorInfo' | translate}}</label>
<button type="button" class="btn btn-in-grid" style="width: 117px;float:right" ng-click="addDirector()">
<i class="material-icons middle">create</i>{{'Create' | translate}}
</button>
</div>
<div class="dx-viewport grid-container">
<div id="DirectorGridContainer" dx-data-grid="directorGridOptions" style="margin-top: 10px;">
</div>
</div>
</div>
</div>
</div>
<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 class="modal-footer" id="orgModalFooter" style="padding-left:139px;">
<span style="float:right">
<button type="submit" class="btn btn-primary" ng-click="saveOrg()">
{{'Confirm' | translate}}
</button>
<button type="button" class="btn btn-third" ng-click="closeModal()" data-dismiss="modal">
{{'Cancel' | translate}}
</button>
</span>
</div>
<edit-organization-shareholder-modal is-show-s="isShowShareholderModal" parent-page=".edit-organization-modal-wrapper" edit-model="editShareholder"></edit-organization-shareholder-modal>
<edit-organization-director-modal is-show-d="isShowDirectorModal" parent-page=".edit-organization-modal-wrapper" edit-model="editDirector"></edit-organization-director-modal>
</script>
</div>
\ No newline at end of file
......@@ -10,6 +10,8 @@
controller: 'editOrganizationModalController',
scope:
{
isShow: '=?',
parentPage: '@',
//区分是添加还是编辑
operateType: '=',
......
@footer-button-left: 159px;
.edit-organization-modal-wrapper {
.addOrgControlPop {
.modal-header{
border-bottom: 0px;
}
.modal-title {
font-size: 16px;
}
.must-input {
color: red;
}
.modal-dialog {
width: 1100px;
height: 600px;
}
.btn-default {
height: 33px;
width: 250px;
}
input {
width: 250px;
height: 33px;
}
.modal-body {
padding-left: 0px !important;
width: auto;
}
.dropdown-menu {
max-height: 220px;
overflow-y: auto;
width: 250px;
}
.scoreDropDownBtn {
width: 250px;
}
select {
width: 250px;
height: 33px;
padding-left: 8px !important;
}
form .col-sm-3 {
font-weight: normal;
width: 35%;
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;
}
form .col-sm-9 {
width: 65%;
margin-left: -20px;
.pic-file-wrapper {
width: 100%;
/*height:480px!important;*/
height: calc(~"100% - 20px");
/*background: url('TestInvoice.JPG');*/
background-size: contain;
background-repeat: no-repeat;
}
form input[type='radio'] {
margin: 0 5px;
.show-full-pic {
cursor: pointer;
float: right;
margin-top: 18px;
}
}
.control-label {
padding-left: 12px;
white-space: nowrap;
}
.right-container {
}
}
.modal-footer {
text-align: left;
}
}
.modal-header {
border-bottom: 0px;
}
.modal-title {
font-size: 16px;
}
.must-input {
color: red;
}
.btn-default {
height: 33px;
width: 250px;
}
input {
width: 250px;
height: 33px;
}
//.modal-body {
// padding-left: 0px !important;
// width: auto;
//}
.dropdown-menu {
max-height: 220px;
overflow-y: auto;
width: 250px;
}
.scoreDropDownBtn {
width: 250px;
}
select {
width: 250px;
height: 33px;
padding-left: 8px !important;
}
form .col-sm-3 {
font-weight: normal;
width: 35%;
}
form .col-sm-9 {
width: 65%;
margin-left: -20px;
}
form input[type='radio'] {
margin: 0 5px;
}
.control-label {
padding-left: 12px;
white-space: nowrap;
}
.dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none; //IE
margin-top: -2px !important;
}
.dropdown-toggle .caret:before {
//IE
content: url(../../../../app-resources/images/ie11Trigangle.png);
margin-left: -12px !important;
margin-right: 1px;
}
.main {
margin: 20px 1px;
border-bottom: 1px;
}
//Target Chrome
@media screen and (-webkit-min-device-pixel-ratio: 0) {
.dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none;
margin-top: 0px;
margin-right: -10px;
}
.dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none; //IE
margin-top: -2px !important;
.dropdown-toggle .caret:before {
content: url(../../../../app-resources/images/chromeTriangle.png);
margin-left: 3px;
}
}
.bottom-row {
display: block;
}
.quarter-div {
width: 50%;
float: left;
padding: 30px 10px 10px 10px;
}
.row-line {
height: 1px;
border-bottom: 1px solid #CDCDCD;
margin: 0px 20px;
}
.leftUp {
/*background-color: #5BC0DE;*/
width: 50%;
/*margin-left: 20px;*/
/*width: 44%;*/
}
.rightUp {
width: 45%;
/*background-color: #5CB85C;*/
}
.leftDown {
/*border-top: 1px solid #D5D5D5;*/
/*margin-left: 20px;*/
width: 50%;
/*background-color: #F0AD4E;*/
/*overflow-y: auto;*/
}
.rightDown {
/*border-top: 1px solid #D5D5D5;*/
width: 45%;
/*overflow-y: auto;*/
/*background-color: #FFC706;*/
}
.tab-pane {
/*height: 460px;*/
overflow-y: auto;
}
#basicdata {
max-height: 460px;
overflow-y: auto;
}
#orgControlTab {
padding: 0 10px;
ul {
color: #ffc107;
border-bottom: 0px;
li {
/*height: 30px;*/
width: 50%;
border: 1px solid #F2F2F2;
&:hover {
/*border: 1px solid #F2F2F2!important;*/
}
.dropdown-toggle .caret:before {
//IE
content: url(../../../../app-resources/images/ie11Trigangle.png);
margin-left: -12px !important;
margin-right: 1px;
a:hover {
color: #D35412 !important;
background-color: white !important;
}
.main {
margin: 20px 1px;
border-bottom: 1px;
} //Target Chrome
@media screen and (-webkit-min-device-pixel-ratio:0) {
.dropdown-toggle .caret {
width: 10px;
height: 10px;
border: none;
margin-top: 0px;
margin-right: -10px;
}
.dropdown-toggle .caret:before {
content: url(../../../../app-resources/images/chromeTriangle.png);
margin-left: 3px;
}
}
li a {
font-size: 16px;
height: 38px;
line-height: 38px;
border-radius: 1px;
padding: 0px 20px;
vertical-align: middle;
text-align: center;
border: 0px;
color: black !important;
}
li.active {
background-color: #f3f2f0 !important;
/*border:0px;*/
a,
a:hover,
a:focus {
color: black !important;
background-color: #f3f2f0 !important;
}
}
li a span {
float: right;
vertical-align: middle;
line-height: 30px;
margin-top: -2px;
}
.glyphicon-exclamation-sign {
color: red;
}
}
}
.bottom-row {
display: block;
}
.level-title {
padding: 18px 15px;
.quarter-div {
width: 50%;
float: left;
padding: 30px 10px 10px 10px;
}
span {
color: #D35412;
font-weight: bold;
}
}
.row-line {
height: 1px;
border-bottom: 1px solid #CDCDCD;
margin: 0px 20px;
}
.account-modal-table {
margin-left: 15px;
margin-right: 15px;
.leftUp {
/*background-color: #5BC0DE;*/
width: 50%;
/*margin-left: 20px;*/
/*width: 44%;*/
}
.account-set-select {
width: 150px;
}
.rightUp {
width: 45%;
/*background-color: #5CB85C;*/
}
.row {
margin-left: 0px;
margin-right: 0px;
.leftDown {
/*border-top: 1px solid #D5D5D5;*/
/*margin-left: 20px;*/
width: 50%;
/*background-color: #F0AD4E;*/
/*overflow-y: auto;*/
}
span {
margin-top: 8px;
display: inline-block;
}
.rightDown {
/*border-top: 1px solid #D5D5D5;*/
width: 45%;
/*overflow-y: auto;*/
/*background-color: #FFC706;*/
}
select {
margin-right: 10px;
}
.delete {
color: #D35412;
cursor: pointer;
}
.tab-pane {
/*height: 460px;*/
overflow-y: auto;
}
.add {
cursor: pointer;
}
}
#basicdata {
max-height: 460px;
overflow-y: auto;
}
.box {
border-left: 1px solid #d4d4d4;
border-top: 1px solid #d4d4d4;
height: 54px;
padding: 9px;
.AccountName-span {
padding-right: 0px;
padding-left: 0px;
width: 80px;
}
.StartTime-span {
width: 56px;
padding-left: 0px;
padding-right: 0px;
margin-left: 55px;
}
.To-span {
width: 5px;
padding-left: 15px;
padding-right: 0px;
}
.test-select {
width: 130px;
}
.col-sm-5 {
padding-right: 0px;
width: 120px;
}
.col-sm-4 {
width: 180px;
}
.form_datetime {
width: 120px;
border-radius: 4px;
padding-left: 15px;
background-color: white;
}
}
#orgControlTab {
padding: 0 10px;
ul {
color: #ffc107;
border-bottom: 0px;
li {
/*height: 30px;*/
width: 50%;
border: 1px solid #F2F2F2;
&:hover{
/*border: 1px solid #F2F2F2!important;*/
}
a:hover {
color: #D35412!important;
background-color: white!important;
}
}
li a {
font-size: 16px;
height: 38px;
line-height: 38px;
border-radius: 1px;
padding: 0px 20px;
vertical-align: middle;
text-align: center;
border: 0px;
color: black!important;
}
li.active {
background-color: #f3f2f0!important;
/*border:0px;*/
a,
a:hover,
a:focus {
color: black!important;
background-color: #f3f2f0!important;
}
}
li a span {
float: right;
vertical-align: middle;
line-height: 30px;
margin-top: -2px;
}
.glyphicon-exclamation-sign {
color: red;
}
}
}
.box-right {
border-right: 1px solid #d4d4d4;
}
.level-title {
padding: 18px 15px;
.box-bottom {
border-bottom: 1px solid #d4d4d4;
}
}
.server-modal-table {
margin-left: 15px;
margin-right: 15px;
width: 800px;
height: 163px;
.row {
margin-left: 0px;
margin-right: 0px;
span {
margin-top: 8px;
display: inline-block;
}
select {
margin-right: 10px;
}
.delete {
color: #D35412;
cursor: pointer;
}
.add {
cursor: pointer;
}
}
span {
color: #D35412;
font-weight: bold;
}
}
.box {
/*border-left: 1px solid #d4d4d4;*/
border-bottom: 1px solid #d4d4d4;
height: 54px;
padding: 9px;
width: 630px;
.serviceCheckBox {
width: 60px;
padding-top: 4px;
}
.ServiceName-span {
padding-right: 0px;
padding-left: 0px;
width: 150px;
font-weight: inherit;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
margin-top: 6px;
}
.ReportTemplate-span {
width: 80px;
padding-left: 0px;
padding-right: 0px;
margin-left: 55px;
font-weight: inherit;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
margin-top: 6px;
}
.test-select {
width: 130px;
}
.col-sm-5 {
padding-right: 0px;
width: 80px;
}
.col-sm-4 {
width: 180px;
}
.form_datetime {
width: 80px;
border: 1px solid #cccccc;
border-radius: 4px;
padding-left: 15px;
background-color: white;
}
}
.account-modal-table {
margin-left: 15px;
margin-right: 15px;
.account-set-select {
width: 150px;
}
.row {
margin-left: 0px;
margin-right: 0px;
span {
margin-top: 8px;
display: inline-block;
}
select {
margin-right: 10px;
}
.delete {
color: #D35412;
cursor: pointer;
}
.add {
cursor: pointer;
}
}
.box {
border-left: 1px solid #d4d4d4;
border-top: 1px solid #d4d4d4;
height: 54px;
padding: 9px;
.AccountName-span {
padding-right: 0px;
padding-left: 0px;
width: 80px;
}
.StartTime-span {
width: 56px;
padding-left: 0px;
padding-right: 0px;
margin-left: 55px;
}
.To-span {
width: 5px;
padding-left: 15px;
padding-right: 0px;
}
.test-select {
width: 130px;
}
.col-sm-5 {
padding-right: 0px;
width: 120px;
}
.col-sm-4 {
width: 180px;
}
.form_datetime {
width: 120px;
border-radius: 4px;
padding-left: 15px;
background-color: white;
}
}
.box-right {
border-right: 1px solid #d4d4d4;
}
.box-bottom {
border-bottom: 1px solid #d4d4d4;
}
}
.box-right {
border-right: 1px solid #d4d4d4;
}
.server-modal-table {
margin-left: 15px;
margin-right: 15px;
width: 800px;
height: 163px;
.row {
margin-left: 0px;
margin-right: 0px;
span {
margin-top: 8px;
display: inline-block;
}
select {
margin-right: 10px;
}
.delete {
color: #D35412;
cursor: pointer;
}
.add {
cursor: pointer;
}
}
.box {
/*border-left: 1px solid #d4d4d4;*/
border-bottom: 1px solid #d4d4d4;
height: 54px;
padding: 9px;
width: 630px;
.serviceCheckBox {
width: 60px;
padding-top: 4px;
}
.ServiceName-span {
padding-right: 0px;
padding-left: 0px;
width: 150px;
font-weight: inherit;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
margin-top: 6px;
}
.ReportTemplate-span {
width: 80px;
padding-left: 0px;
padding-right: 0px;
margin-left: 55px;
font-weight: inherit;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
margin-top: 6px;
}
.test-select {
width: 130px;
}
.col-sm-5 {
padding-right: 0px;
width: 80px;
}
.col-sm-4 {
width: 180px;
}
.form_datetime {
width: 80px;
border: 1px solid #cccccc;
border-radius: 4px;
padding-left: 15px;
background-color: white;
}
}
.box-right {
border-right: 1px solid #d4d4d4;
}
.box-bottom {
border-bottom: 1px solid #d4d4d4;
}
.checkService {
width: 16px;
height: 16px;
}
}
.box-bottom {
border-bottom: 1px solid #d4d4d4;
}
#advancedOptions {
max-height: 100%;
.checkService {
width: 16px;
height: 16px;
}
}
margin:10px 20px 0px 20px;
#advancedOptions {
max-height: 100%;
.right-option {
height: 30px;
display: inline-block;
vertical-align: middle;
float: right;
}
margin: 10px 20px 0px 20px;
#equityGridContainer {
/*height: 600px;*/
margin-bottom: 15px;
}
.right-option {
height: 30px;
display: inline-block;
vertical-align: middle;
float: right;
}
.label-current-holding {
padding-top: 10px;
}
#equityGridContainer {
/*height: 600px;*/
margin-bottom: 15px;
}
.current-holding-info {
padding-top: 10px;
}
.label-current-holding {
padding-top: 10px;
}
.label {
padding-bottom: 2px;
}
.current-holding-info {
padding-top: 10px;
}
.page-footer {
display: inline-block;
float: right;
/*padding-right: 20px;*/
}
.label {
padding-bottom: 2px;
}
.page-form-group {
float: right;
margin-top: 20px;
.page-footer {
display: inline-block;
float: right;
/*padding-right: 20px;*/
}
.page-size {
margin: 0;
}
.page-form-group {
float: right;
margin-top: 20px;
.pagination {
margin: 0;
}
}
.page-size {
margin: 0;
}
}
.pagination {
margin: 0;
}
}
}
}
\ No newline at end of file
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 = {
directorModal: {
shareholderModal: {
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('isShowS', function (newValue, oldValue) {
if (newValue) {
$scope.modalManage.uploadInvoiceExtra.open();
$scope.modalManage.shareholderModal.open();
}
});
}
......
......@@ -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.directorModal.cancel()" translate="Cancel"></button>
<button class="btn btn-third" type="button" ng-click="modalManage.shareholderModal.cancel()" translate="Cancel"></button>
</span>
</div>
</script>
......
......@@ -7,7 +7,7 @@ commonModule.directive('editOrganizationShareholderModal', ['$log', function ($l
replace: true,
controller: 'editOrganizationShareholderModalController',
scope: {
isShow: '=?',
isShowS: '=?',
parentPage: '@',
editModel: '=?'
},
......
......@@ -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: 80% !important;
width: 50% !important;
.modal-body {
height: 100%;
......
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