From 697794f729f3c93b2c16aed8fc78d8547d7d33dd Mon Sep 17 00:00:00 2001
From: sunxia <sunxia@prec-tech.com>
Date: 星期一, 11 四月 2022 15:04:02 +0800
Subject: [PATCH] NFM606测试类修改
---
force-app/main/default/aura/AgencyAccount/AgencyAccount.cmp | 32 +++++++++++++++++++++++++-------
1 files changed, 25 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..6f7d3c8 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,14 @@
<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;">
+ <span class="encrypt">{!item.Name}</span>
+ <span class="decrypt">{!item.awsdata.name}</span>
+ </a>
+ </div>
</th>
<!-- 绮剧悽绉戞妧 zxk SWAG-C8F8TU start -->
<td data-label="Account Name">
@@ -94,10 +106,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