liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
<apex:page id="Page" showHeader="false" sidebar="false" Controller="PersonalEvaluationController" action="{!init}">
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
AccessToken=<span id="AccessToken"></span><br/>
    <analytics:reportChart reportId="{!$Label.personal_1}" cacheResults="true" size="small" filter="[{column:'SS_monthly_submit_daily_report__c.Province__c',operator:'equals',value:'上海市'}]" />
<script type="text/javascript">
sforce.connection.sessionId = '{!$Api.Session_ID}';
var accessToken = sforce.apex.execute("ControllerUtil", "getAccessToken", {});
document.getElementById("AccessToken").innerText = accessToken;
</script>
</apex:page>