1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public with sharing class lexFollowUpHistoryController {
    public lexFollowUpHistoryController() {
        
    }
    @AuraEnabled
    public static InitData init(String recordId){
        InitData res = new InitData();
        try {
            List<Report> r2=[SELECT Id from Report where name='询价跟进历史 -询价按钮-'];
 
            res.reportId=r2.get(0).Id;
        } catch (Exception e) {
            return res;
        }
        return res;
    }
    public class InitData{
        @AuraEnabled public String reportId;
    }
}