From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期五, 03 三月 2023 14:50:59 +0800 Subject: [PATCH] gzw 测试环境代码更新 --- force-app/main/default/objects/eSignForm__c/webLinks/HPConfirmation.webLink-meta.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/objects/eSignForm__c/webLinks/HPConfirmation.webLink-meta.xml b/force-app/main/default/objects/eSignForm__c/webLinks/HPConfirmation.webLink-meta.xml index e3c2bba..a3e43fe 100644 --- a/force-app/main/default/objects/eSignForm__c/webLinks/HPConfirmation.webLink-meta.xml +++ b/force-app/main/default/objects/eSignForm__c/webLinks/HPConfirmation.webLink-meta.xml @@ -2,6 +2,7 @@ <WebLink xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>HPConfirmation</fullName> <availability>online</availability> + <description>2022-03-15 澧炲姞璺宠繃OBSAP鐢ㄦ埛鐨勫垽鏂�</description> <displayType>button</displayType> <linkType>javascript</linkType> <masterLabel>楠屾敹纭(鍖婚櫌)</masterLabel> @@ -9,7 +10,7 @@ <protected>false</protected> <url>{!REQUIRESCRIPT('/soap/ajax/51.0/connection.js')} {!REQUIRESCRIPT('/soap/ajax/51.0/apex.js')} -//2021-10-22 gwy 鐗堟湰鏇存敼涓�51.0 + var foo = function() { //褰撳墠鐢ㄦ埛鐧诲綍id var userId = "{!CASESAFEID($User.Id)}"; @@ -44,7 +45,7 @@ var sales_Root_Formula = "{!eSignForm__c.Sales_Root_Formula__c}"; if (salesManage || ProfileId == '00e10000000Y3o5') { -if (salesManage != userId && ProfileId != '00e10000000Y3o5') { +if (salesManage != userId && ProfileId != '00e10000000Y3o5' && ProfileId != '00e10000000s2cp') { alert('鎮ㄥ彧鑳藉鎵硅惀涓氱鐞嗛儴鎷呭綋鏄嚜宸辩殑绛炬敹鍗曪紒'); return; } else if (status != '鐢宠涓�') { -- Gitblit v1.9.1