<?xml version="1.0" encoding="UTF-8"?>
|
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Minister</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>确认</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<requireRowSelection>true</requireRowSelection>
|
<url>{!REQUIRESCRIPT('/soap/ajax/51.0/connection.js')}
|
{!REQUIRESCRIPT('/soap/ajax/51.0/apex.js')}
|
//2021-10-22 gwy 版本更改为51.0
|
var records = {!GETRECORDIDS( Event__c.Id )};
|
if(records != null && records != ''){
|
|
if(window.confirm('{!$Label.Message_005}')){
|
|
var ret = sforce.apex.execute('Event_Confirmation','checkMinister',{idList:records});
|
alert(ret);
|
|
if(ret == '{!$Label.Save_Completion}'){
|
window.location.reload();
|
}
|
}
|
}</url>
|
</WebLink>
|