| | |
| | | @AuraEnabled public List<Map<String,String>> doctorList{get;set;} |
| | | // PIPL update Yin Mingjie 21/02/2022 start |
| | | @AuraEnabled public Map<String,String> awsurl{get;set;} |
| | | @AuraEnabled public Map<String,String> contactawsurl{get;set;} |
| | | // PIPL update Yin Mingjie 21/02/2022 end |
| | | public WeeklyReportCmp() { |
| | | } |
| | |
| | | Map<String,String> space = new Map<String,String>(); |
| | | space.put('label', ''); |
| | | space.put('value', ''); |
| | | // PIPL update Yin Mingjie 21/02/2022 start |
| | | space.put('awsid', ''); |
| | | // PIPL update Yin Mingjie 21/02/2022 end |
| | | space.put('selected', 'true'); |
| | | tmp.add(space); |
| | | |
| | |
| | | Map<String,String> om = new Map<String,String>(); |
| | | om.put('label', var.Name); |
| | | om.put('value', var.Id); |
| | | // PIPL update Yin Mingjie 21/02/2022 start |
| | | om.put('awsid', var.AWS_Data_Id__c); |
| | | // PIPL update Yin Mingjie 21/02/2022 end |
| | | om.put('selected', 'false'); |
| | | tmp.add(om); |
| | | } |
| | |
| | | //System.debug('allselectlist is ' + this.allselectlist); |
| | | |
| | | this.awsurl = getAwsurl('Agency_Contact__c');// 20220222 PI改造 by Bright |
| | | this.contactawsurl = getAwsurl('Contact');// 20220222 PI改造 by Bright |
| | | } |
| | | |
| | | |
| | |
| | | @AuraEnabled |
| | | public static List<Agency_Hospital_Link__c> getHospitalList(String hospital_name) { |
| | | hospital_name = '%' + hospital_name.trim() + '%'; |
| | | return [select Hospital_Name_readonly__c, Id, Hospital__c from Agency_Hospital_Link__c where Hospital_Name_readonly__c like :hospital_name and Agency_Campaign_Obj__c = true]; |
| | | system.debug('hospital_name+++'+hospital_name); |
| | | List<Agency_Hospital_Link__c> ahllist = [select Hospital_Name_readonly__c, Id, Hospital__c from Agency_Hospital_Link__c where Hospital_Name_readonly__c like :hospital_name and Agency_Campaign_Obj__c = true]; |
| | | system.debug('Agency_Campaign_Obj__c+++'+ahllist); |
| | | return ahllist; |
| | | } |
| | | |
| | | @RemoteAction |