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/lexContractAuthorize/lexContractAuthorize.js |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexContractAuthorize/lexContractAuthorize.js b/force-app/main/default/lwc/lexContractAuthorize/lexContractAuthorize.js
index 52329fc..15a8678 100644
--- a/force-app/main/default/lwc/lexContractAuthorize/lexContractAuthorize.js
+++ b/force-app/main/default/lwc/lexContractAuthorize/lexContractAuthorize.js
@@ -14,6 +14,7 @@
 import oppCheck from '@salesforce/apex/LexContractAuthorizeController.oppCheck';
 import updReg from '@salesforce/apex/LexContractAuthorizeController.updReg';
 import updateOppotunity from '@salesforce/apex/LexContractAuthorizeController.updateOppotunity';
+import queryProfileId from '@salesforce/apex/LexContractAuthorizeController.updateOppotunity';
 
 export default class lexContractAuthorize extends LightningElement {
 
@@ -76,11 +77,8 @@
 		//2022-03-22 yjk SWAG-CCL6R7
 		let Closing_Bid_Date = this.data.Closing_Bid_Date__c;//13.涓爣鏃�
 		let Closing_Bid_Date_Bid = this.data.Closing_Bid_Date_Bid__c;
-
-		if (profileId != '00e10000000Y3o5' && profileId != '00e10000000Nab7' &&
-		profileId != '00e10000000xnpR' && profileId != '00e10000000xyK6' && profileId != '00e10000000xnpW' && profileId != '00e10000000NbCE' && profileId != '00e10000000Nb7i'
-		&& profileId != '00e10000000xyK6') {
-
+		let res=await queryProfileId();
+		if (!res) {
 			const event = new ShowToastEvent({
 	            title: '鎻愮ず淇℃伅',
 	            message:"鎮ㄦ病鏈夊悎鍚岀敵璇风殑鏉冮檺銆傝鑱旂郴绯荤粺绠$悊鍛樸��"
@@ -105,6 +103,7 @@
 	        this.dispatchEvent(event);
 			return;
 		}
+		
 		//SWAG-CG88AG銆愬鎵樸�戞彁鍑轰环鏍肩敵璇锋槸鍦ㄥ崗璁湁鏁堟湡鍐咃紝鍏佽WIN fy start
 		if (DecidedQuoteNo !="") {
 			let judg=await judgeIsAssistantAppliedOutTime({Quoteid:DecidedQuoteNo});

--
Gitblit v1.9.1