From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523

---
 force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js |   28 ++--------------------------
 1 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js b/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
index 6999b54..044ae5f 100644
--- a/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
+++ b/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
@@ -24,18 +24,13 @@
         init({
             recordId: this.recordId
         }).then(result => {
-            console.log(result)
                 this.IsLoading = false;
                 this.id = result.Id;
                 this.name = result.name;
                 this.Environment_Url = result.Environment_Url
                 this.HospitalButton();
                 this.dispatchEvent(new CloseActionScreenEvent());
-        }).catch(error => {
-            console.log("error"+error);
-        }).finally(() => {
-            
-        });        
+        })       
     }
 
     //鏂板缓鍖婚櫌
@@ -45,25 +40,6 @@
         +'&00N10000009HFQT='+encodeURIComponent('鎷涙爣椤圭洰')
         +'&RecordType=01210000000QemG'
         +'&retURL='+ encodeURIComponent(this.id);
-        console.log('url',url)
         window.location.href = url;
     }
-}
-
-
-// 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();
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.1