From b776940205e893302f77d24c4285613f228b44c6 Mon Sep 17 00:00:00 2001 From: Li Jun <buli@deloitte.com.cn> Date: 星期三, 11 五月 2022 17:14:29 +0800 Subject: [PATCH] Page Enhance 0511 --- force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp b/force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp index e3b28d8..486b5df 100644 --- a/force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp +++ b/force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp @@ -5,7 +5,12 @@ <aura:attribute name="hosStr" type="String"/> <aura:attribute name="conStr" type="String"/> <aura:attribute name="filedsmap" type="Map"/> - + <aura:attribute name="awsdata" type="Map"/> + <aura:attribute name="temp_aws_id" type="String"/> + <aura:attribute name="staticResource" type="Map"/> + + <ltng:require scripts="{! $Resource.jquery183minjs }" /> + <ltng:require scripts="{! $Resource.AWSService+'/AWSService.js' }" afterScriptsLoaded="{!c.scriptsLoaded}" /> <aura:renderIf isTrue="{!v.login}"> <div class="slds-spinner_container height100vh"> <div class="slds-spinner--brand slds-spinner slds-spinner--medium" role="alert"> @@ -46,17 +51,17 @@ <th scope="col" style = "width:5px;"> <div class="slds-truncate" title="{!v.filedsmap.Hospital_Name__c}">{!v.filedsmap.Hospital_Name__c}</div> </th> - <th scope="col"> + <th scope="col" style="width: 150px;"> <div class="slds-truncate" title="{!v.filedsmap.Department_Cateogy_F__c}">{!v.filedsmap.Department_Cateogy_F__c}</div> </th> <!-- 绮剧悽绉戞妧 zxk SWAG-C8F8TU end --> <!-- <th scope="col"> <div class="slds-truncate" title="{!v.filedsmap.Hospital_DC_Name__c}">{!v.filedsmap.Hospital_DC_Name__c}</div> </th> --> - <th scope="col"> + <th scope="col" style="width: 150px;"> <div class="slds-truncate" title="{!v.filedsmap.Type__c}">{!v.filedsmap.Type__c}</div> </th> - <th scope="col"> + <th scope="col" style="width: 150px;"> <div class="slds-truncate" title="{!v.filedsmap.Doctor_Division1__c}">{!v.filedsmap.Doctor_Division1__c}</div> </th> <th scope="col"> @@ -68,7 +73,13 @@ <aura:iteration items="{!v.accounts}" var="item" indexVar="index"> <tr> <th scope="row" data-label="Opportunity Name"> - <div class="slds-truncate" title="{!item.Name}"><a href="{!'/partner/s/agency-contact/' + item.Id}">{!item.Name}</a></div> + <aura:set attribute="temp_aws_id" value="{! item.AWS_Data_Id__c }" /> + + <div class="slds-truncate"> + <a href="{!'/partner/s/agency-contact/' + item.Id}" style="position: relative;"> + {!item.Name} + </a> + </div> </th> <!-- 绮剧悽绉戞妧 zxk SWAG-C8F8TU start --> <td data-label="Account Name"> @@ -94,10 +105,16 @@ </td> --> <td data-label="Close Date"> - <div class="slds-truncate" title="{!item.Type__c}">{!item.Type__c}</div> + <div class="slds-truncate" title="{!item.Type__c}"> + <span class="encrypt">{!item.Type__c}</span> + <span class="decrypt">{!item.awsdata.type}</span> + </div> </td> <td data-label="Stage"> - <div class="slds-truncate" title="{!item.Doctor_Division1__c}">{!item.Doctor_Division1__c}</div> + <div class="slds-truncate" title="{!item.Doctor_Division1__c}"> + <span class="encrypt">{!item.Doctor_Division1__c}</span> + <span class="decrypt">{!item.awsdata.doctorDivision1}</span> + </div> </td> <td data-label="IsOlympusContact__c"> <ui:outputCheckbox value="{!item.IsOlympusContact__c}" /> -- Gitblit v1.9.1