From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改
---
force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js b/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
index b7c1329..a7bb91b 100644
--- a/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
+++ b/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
@@ -28,13 +28,13 @@
init({recordId:this.recordId}).then(res => {
console.log('result======>',res)
if(res != null){
- if (res.IsActive != '鏈夊姽' && res.IsActive != '鏈夋晥') {
+ if (res.isActive != '鏈夊姽' && res.isActive != '鏈夋晥') {
this.showToast("鍖婚櫌鏈夋晥鍚庢墠鍙互璧勮川瀹℃壒銆�",'error');
return;
}
- var job = res.JobCategory;
- var profileId = res.ProfileId;
+ var job = res.jobCategory;
+ var profileId = res.profileId;
if (job != '鏀彺' && job != '閿�鍞帹骞�' && job != '閿�鍞湇鍔�' && profileId != '00e10000000Nab7') {
this.showToast("蹇呴』鑱岀鏄敮鎻达紝閿�鍞帹骞�,閿�鍞湇鍔″拰鐗圭害搴楃獥鍙g殑鐢ㄦ埛鎵嶅彲浠ユ彁浜よ祫璐�!",'error');
--
Gitblit v1.9.1