From 5f16ffd9a4cb1cf8658d37dfa96b1c831b5b8af7 Mon Sep 17 00:00:00 2001
From: zz <1842059105@qq.com>
Date: 星期三, 10 五月 2023 17:34:06 +0800
Subject: [PATCH] 招标项目 失单 新建医院 附件查看 修改
---
force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js | 30 +++---------------------------
1 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js b/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
index 6999b54..46b2353 100644
--- a/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
+++ b/force-app/main/default/lwc/lexTenderingHospitalButton/lexTenderingHospitalButton.js
@@ -24,46 +24,22 @@
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(() => {
-
- });
+ })
}
- //鏂板缓鍖婚櫌
+ //鎷涙爣椤圭洰鏂板缓鍖婚櫌
HospitalButton(){
var url = this.Environment_Url+'001/e?CF00N10000009I0o7='+encodeURIComponent(this.name)
+'&CF00N10000009I0o7_lkid='+encodeURIComponent(this.id)
+'&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