<?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("/soap/ajax/51.0/connection.js")}; 
 | 
{!REQUIRESCRIPT("/soap/ajax/51.0/apex.js")}; 
 | 
{!RequireScript("/resource/CommonUtilJs")} 
 | 
  
 | 
var foo = function() { 
 | 
  
 | 
var TenderId = '{!Tender_information__c.Id}'; 
 | 
var Tendername = '{!Tender_information__c.Name}'; 
 | 
var HospitalSource= '招标项目'; 
 | 
  
 | 
var url = '{!$Label.Environment_Url}'+'001/e?CF00N10000009I0o7='+encodeURIComponent(Tendername) 
 | 
+'&CF00N10000009I0o7_lkid='+encodeURIComponent(TenderId) 
 | 
+'&00N10000009HFQT='+encodeURIComponent(HospitalSource) 
 | 
  
 | 
+'&RecordType=01210000000QemG' 
 | 
+'&retURL='+ encodeURIComponent(TenderId); 
 | 
window.top.location.href = url; 
 | 
  
 | 
} 
 | 
foo();</url> 
 | 
</WebLink> 
 |