D C
2023-05-26 dec96e2f8b84ea04d773c0c520c39b0822912ee3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>NewHospital</fullName>
    <availability>online</availability>
    <displayType>button</displayType>
    <linkType>javascript</linkType>
    <masterLabel>新建医院</masterLabel>
    <openType>onClickJavaScript</openType>
    <protected>false</protected>
    <url>{!REQUIRESCRIPT(&quot;/soap/ajax/51.0/connection.js&quot;)};
{!REQUIRESCRIPT(&quot;/soap/ajax/51.0/apex.js&quot;)};
{!RequireScript(&quot;/resource/CommonUtilJs&quot;)}
 
var foo = function() {
 
var TenderId = &apos;{!Tender_information__c.Id}&apos;;
var Tendername = &apos;{!Tender_information__c.Name}&apos;;
var HospitalSource= &apos;招标项目&apos;;
 
var url = &apos;{!$Label.Environment_Url}&apos;+&apos;001/e?CF00N9D000007FeEK=&apos;+encodeURIComponent(Tendername)
+&apos;&amp;CF00N9D000007FeEK_lkid=&apos;+encodeURIComponent(TenderId)
+&apos;&amp;00N10000009HFQT=&apos;+encodeURIComponent(HospitalSource)
 
+&apos;&amp;RecordType=01210000000QemG&apos;
+&apos;&amp;retURL=&apos;+ encodeURIComponent(TenderId);
window.top.location.href = url;
 
}
foo();</url>
</WebLink>