From e14d6d0619330cad423f06493e3aa2371faa2a8f Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期六, 09 九月 2023 14:02:23 +0800
Subject: [PATCH] Sit期间修改
---
force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
index 1356a5d..d95e89e 100644
--- a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
+++ b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
@@ -18,7 +18,7 @@
userId;
systemProfileId;
luShengId;
- huDiAnId;
+ // huDiAnId;
Isloading = true;
@wire(CurrentPageReference)
@@ -52,7 +52,7 @@
this.profileId = result.profileId;
this.systemProfileId = result.systemProfileId;
this.luShengId = result.luShengId;
- this.huDiAnId = result.huDiAnId;
+ // this.huDiAnId = result.huDiAnId;
console.log(this.status);
this.check();
//window.location.replace("https://ocsm--partial.sandbox.lightning.force.com/lightning/r/Report__c/" + this.recordId + "/view");
@@ -92,7 +92,8 @@
}
check (){
// 闄嗚儨锛岃儭杩畨锛岀郴缁熺鐞嗗憳鍙偣(闇�瑕佽皟鏁�)
- if (this.userId != this.luShengId && this.userId != this.huDiAnId && this.profileId != this.systemProfileId) {
+ // && this.userId != this.huDiAnId 鑳¤开瀹夊凡绂昏亴
+ if (this.userId != this.luShengId && this.profileId != this.systemProfileId) {
this.showToast("浣犳病鏈夊垽瀹歏OC鐨勬潈闄�","error");
this.dispatchEvent(new CloseActionScreenEvent());
return;
@@ -118,6 +119,7 @@
this.showToast(result,"error");
}else{
this.updateRecordView(this.recordId);
+ console.log("success");
}
this.Isloading = false;
this.dispatchEvent(new CloseActionScreenEvent());
--
Gitblit v1.9.1