From 196df4d4bf1941546d349cadbf343655578ec280 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 13 九月 2023 15:05:56 +0800
Subject: [PATCH] sit期间修改
---
force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js b/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
index f038f63..115a49c 100644
--- a/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
+++ b/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
@@ -217,8 +217,7 @@
Agency__c: this.agency1Id,
StageName__c: this.opportunityStage,
Change_To_Opportunity__c: this.recordId,
- Department_Cateogy__c: this.opportunityCategory,
- RecordTypeId: recTypeId
+ Department_Cateogy__c: this.opportunityCategory
});
this[NavigationMixin.Navigate]({
type: 'standard__objectPage',
@@ -229,6 +228,7 @@
state: {
nooverride: '1',
defaultFieldValues: defaultValues,
+ recordTypeId: recTypeId
}
});
this.dispatchEvent(new CloseActionScreenEvent());
@@ -245,9 +245,10 @@
}
showToast(msg,type) {
const event = new ShowToastEvent({
- title: '',
+ title: ' ',
message: msg,
- variant: type
+ variant: type,
+ mode: 'sticky'
});
this.dispatchEvent(event);
}
--
Gitblit v1.9.1