|  |  | 
 |  |  |     <!-- It will display 100 records . Change for your requirement--> | 
 |  |  |     <aura:attribute name="NumOfRecords" type="Integer" default="1000"/>  | 
 |  |  |     <aura:attribute name="showMain" type="Boolean" default="true"/> | 
 |  |  |     <!-- PIPL update Yin Mingjie 21/02/2022 start --> | 
 |  |  |     <aura:attribute name="AWStoken" type="String"/>  | 
 |  |  |     <aura:attribute name="AWSsearch" type="String"/> | 
 |  |  |     <aura:attribute name="AWSinsert" type="String"/> | 
 |  |  |     <aura:attribute name="AWStransactionURL" type="String"/> | 
 |  |  |     <aura:attribute name="AWSDoctor2Map" type="String"/> | 
 |  |  |     <aura:attribute name="awsurl" type="Map"/> | 
 |  |  |     <aura:attribute name="contactawsurl" type="Map"/> | 
 |  |  |     <aura:attribute name="allselectlistAgencyPerson" type="Map"/> | 
 |  |  |     <!-- PIPL update Yin Mingjie 21/02/2022 end --> | 
 |  |  |     <!-- 批量添加周报 end--> | 
 |  |  |  | 
 |  |  |      | 
 |  |  | 
 |  |  |                             <span class="slds-truncate" title="Name">{!v.fieldsmap.Department_Cateogy__c}</span> | 
 |  |  |                         </th> | 
 |  |  |                         <th class="table_header slds-text-title--caps"> | 
 |  |  |                             <span class="slds-truncate" title="Name">{!v.fieldsmap.doctor2__c}</span> | 
 |  |  |                             <span class="slds-truncate" title="Name">{!v.fieldsmap.doctor2__r}</span> | 
 |  |  |                         </th> | 
 |  |  |                         <th class="table_header slds-text-title--caps"> | 
 |  |  |                             <span class="slds-truncate" title="Name">{!v.fieldsmap.visitor_title__c}</span> | 
 |  |  | 
 |  |  |                             </td> | 
 |  |  |                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  |                                 <span class="slds-grid slds-grid--align-spread"> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.Person_In_Charge2__r.Name}">{!item.Person_In_Charge2__r.Name}</span> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.Person_In_Charge2__r.Name}"> | 
 |  |  |                                         <span class="encrypt">{!item.Person_In_Charge2__r.Name}</span> | 
 |  |  |                                         <span class="decrypt">{!item.Person_In_Charge2__r.awsdata.lastName}</span> | 
 |  |  |                                     </span> | 
 |  |  |                                 </span> | 
 |  |  |                             </td> | 
 |  |  |                             <th scope="row" tabindex="0" class="slds-cell-edit"> | 
 |  |  | 
 |  |  |                             </td> | 
 |  |  |                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  |                                 <span class="slds-grid slds-grid--align-spread"> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.doctor2__r.Name}">{!item.doctor2__r.Name}</span> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.doctor2__r.Name}"> | 
 |  |  |                                         <span class="encrypt">{!item.doctor2__r.Name}</span> | 
 |  |  |                                         <span class="decrypt">{!item.doctor2__r.awsdata.name}</span> | 
 |  |  |                                     </span> | 
 |  |  |                                 </span> | 
 |  |  |                             </td> | 
 |  |  |                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  |                                 <span class="slds-grid slds-grid--align-spread"> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.visitor_title__c}">{!item.visitor_title__c}</span> | 
 |  |  |                                     <span class="slds-truncate" title="{!item.visitor_title__c}"> | 
 |  |  |                                         <span class="encrypt">{!item.visitor_title__c}</span> | 
 |  |  |                                         <span class="decrypt">{!item.doctor2__r.awsdata.doctorDivision1}</span> | 
 |  |  |                                     </span> | 
 |  |  |                                 </span> | 
 |  |  |                             </td> | 
 |  |  |                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  | 
 |  |  |                         <div class="slds-p-horizontal--small slds-size--1-of-1 slds-medium-size--1-of-5 slds-large-size--1-of-8"> | 
 |  |  |                             {!v.fieldsmap.visitor_title__c} | 
 |  |  |                             <div>{!v.doctor_title}</div> | 
 |  |  |                         </div> | 
 |  |  |                          | 
 |  |  |                         </div>        | 
 |  |  |                         <!-- 活动区分 --> | 
 |  |  |                         <div class="slds-p-horizontal--small slds-size--1-of-1 slds-medium-size--1-of-5 slds-large-size--1-of-6"> | 
 |  |  |                             {!v.fieldsmap.Purpose_Type__c} | 
 |  |  | 
 |  |  |                             <!-- <force:inputField value="{!v.data.Product_Category3__c}" aura:id="input-product-category3"/> --> | 
 |  |  |                             <ui:inputSelect aura:id="select_Product3" class="slds-select" change="{!c.productcategoryChange3}"/> | 
 |  |  |                         </div> | 
 |  |  |                          | 
 |  |  |                          <!--SWAG-CBX68C fy 【委托】DAMS系统周报模块内容需求增加 start--> | 
 |  |  |                         <!-- 支援需求 --> | 
 |  |  |                         <div class="slds-p-horizontal--small slds-size--1-of-1 slds-medium-size--1-of-5 slds-large-size--1-of-6"> | 
 |  |  |                             {!v.fieldsmap.SupportNeeds__c} | 
 |  |  |                             <ui:inputSelect aura:id="SupportNeeds__c" class="slds-select" change="{!c.SupportNeeds__c}"/> | 
 |  |  |                         </div> | 
 |  |  |                         <!--SWAG-CBX68C fy 【委托】DAMS系统周报模块内容需求增加 end--> | 
 |  |  |                         <div aura:id="result" class="disp_none slds-p-horizontal--small slds-size--1-of-1 slds-medium-size--3-of-12 slds-large-size--3-of-12"> | 
 |  |  |                             {!v.fieldsmap.Result__c} | 
 |  |  |                             <ui:inputSelect aura:id="select_result" class="slds-select"/> | 
 |  |  | 
 |  |  |                                             </td> | 
 |  |  |                                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  |                                                 <span class="slds-grid slds-grid--align-spread"> | 
 |  |  |                                                     <span class="slds-truncate" title="{!item.doctor2__r.Name}">{!item.doctor2__r.Name}</span> | 
 |  |  |                                                     <span class="slds-truncate" title="{!item.doctor2__r.Name}"> | 
 |  |  |                                                         <span class="encrypt">{!item.doctor2__r.Name}</span> | 
 |  |  |                                                         <span class="decrypt">{!item.doctor2NameOrigin}</span> | 
 |  |  |                                                     </span> | 
 |  |  |                                                 </span> | 
 |  |  |                                             </td> | 
 |  |  |                                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  |                                                 <span class="slds-grid slds-grid--align-spread"> | 
 |  |  |                                                     <span class="slds-truncate" title="{!item.visitor_title__c}">{!item.visitor_title__c}</span> | 
 |  |  |                                                     <span class="slds-truncate" title="{!item.visitor_title__c}"> | 
 |  |  |                                                         <span class="encrypt">{!item.visitor_title__c}</span> | 
 |  |  |                                                         <span class="decrypt">{!item.visitorTitleOrigin}</span> | 
 |  |  |                                                     </span> | 
 |  |  |                                                 </span> | 
 |  |  |                                             </td> | 
 |  |  |                                             <td role="gridcell" class="slds-cell-edit"> | 
 |  |  | 
 |  |  |                  <lightning:messages aura:id="OppMessage" /> | 
 |  |  |                     <!-- onload="{!c.showRequiredFields}" --> | 
 |  |  |                     <aura:renderIf isTrue="{!v.truthy}"> | 
 |  |  |                         <lightning:inputField fieldName="Name"/> | 
 |  |  |                         <lightning:inputField fieldName="Name" aura:id="newOpportunityField" /> | 
 |  |  |                         <lightning:inputField fieldName="Type__c" aura:id="newOpportunityField" /> | 
 |  |  |                         <lightning:inputField fieldName="Doctor_Division1__c" aura:id="newOpportunityField" /> | 
 |  |  |                         <!-- <lightning:inputField class="customRequired none" aura:id="Input_type__c" fieldName="Type__c"/> |