From 50ce6a5e5ae7ac6ce3e6281acca9a0db568306e6 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期三, 23 八月 2023 14:54:59 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev
---
force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js b/force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js
index ba54123..608637e 100644
--- a/force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js
+++ b/force-app/main/default/lwc/lexInquiryFormServiceFollow/lexInquiryFormServiceFollow.js
@@ -1,3 +1,10 @@
+/*
+ * @Author: zhangchunxu
+ * @Date: 2023-05-29 10:16:02
+ * @LastEditors: zhangchunxu
+ * @LastEditTime: 2023-08-02 10:27:43
+ *
+ */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -7,7 +14,7 @@
@api recordId;//OwnerId
IsLoading = true;
FSEOwnerId;
- ServiceStatus;
+ userId;
JINGZHUOJISHU;
@wire(CurrentPageReference)
@@ -25,7 +32,6 @@
init({
recordId: this.recordId
}).then(result => {
- this.ServiceStatus = result.ServiceStatus;
this.FSEOwnerId = result.FSEOwnerId;
this.userId = result.userId;
this.JINGZHUOJISHU = result.JINGZHUOJISHU;
@@ -36,9 +42,9 @@
}
// 浜у搧鍜ㄨ鍗� 鏈嶅姟璺熻繘
ServiceFollow (){
- if(null != this.FSEOwnerId && this.FSEOwnerId== this.userId || this.userId == this.JINGZHUOJISHU){
+ if(null != this.FSEOwnerId && (this.FSEOwnerId== this.userId || this.userId == this.JINGZHUOJISHU)){
window.open ('/apex/ServiceFollowPage?id='+this.recordId, '鏈嶅姟璺熻繘',
- 'height=400, width=800, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
+ 'height=400, width=890, top=200, left=230, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
}else{
// alert("姝ゆ寜閽彧鏈塅SE鍙互鐐瑰嚮!");
this.showToast("姝ゆ寜閽彧鏈塅SE鍙互鐐瑰嚮!","error")
--
Gitblit v1.9.1