<aura:component
|
implements="lightning:actionOverride,lightning:isUrlAddressable,force:lightningQuickAction,force:hasRecordId"
|
access="global" controller="NewAgencyContactController">
|
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
|
<aura:attribute name="isPartner" type="Boolean" default = "False"/>
|
<aura:html tag="style">
|
.slds-modal__container{
|
max-width: 65rem !important;
|
width:100% !important;
|
min-height:60%
|
}
|
.cuf-content {
|
padding: 0 0rem !important;
|
}
|
.slds-p-around--medium {
|
padding: 0rem !important;
|
}
|
.slds-modal__content{
|
overflow-y:auto !important;
|
height:unset !important;
|
max-height:unset !important;
|
min-height:8rem;
|
}
|
.slds-tile_board{
|
padding:20px 40px;
|
}
|
</aura:html>
|
<aura:if isTrue="{!!v.isPartner}">
|
<c:lexNewAndEditAgencyContactPIPL onclose="{!c.closeModal}" onrefresh="{!c.refreshView}" recordId="{!v.recordId}"/>
|
</aura:if>
|
<aura:if isTrue="{!v.isPartner}">
|
<c:NewAgencyContact recordId="{!v.recordId}"/> <!-- 引用名为 NewAgencyContact 的组件 -->
|
</aura:if>
|
</aura:component>
|