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

diff --git a/force-app/main/default/lwc/lexOPDReport/lexOPDReport.js b/force-app/main/default/lwc/lexOPDReport/lexOPDReport.js
index 50883e0..0937ca1 100644
--- a/force-app/main/default/lwc/lexOPDReport/lexOPDReport.js
+++ b/force-app/main/default/lwc/lexOPDReport/lexOPDReport.js
@@ -37,9 +37,10 @@
     }
     showToast(msg,type) {
         const event = new ShowToastEvent({
-            title: '',
+            title: ' ',
             message: msg,
-            variant: type
+            variant: type,
+            mode: 'sticky'
         });
         this.dispatchEvent(event);
         this.dispatchEvent(new CloseActionScreenEvent());
@@ -93,6 +94,7 @@
                 Opportunity_Situation__c: '璺熻繘璇环',
                 
             });
+            console.log('defaultValues = ' + defaultValues);
             this[NavigationMixin.Navigate]({
                 type: 'standard__objectPage',
                 attributes: {
@@ -100,7 +102,7 @@
                     actionName: 'new'
                 },
                 state: {
-                    nooverride: '1',
+                    //nooverride: '1',
                     defaultFieldValues: defaultValues,
                     recordTypeId: this.recordTypeId
                 }
@@ -118,6 +120,7 @@
             Report_OPDPlan__c: this.opdPlan,
             Hospital_Department__c: this.account
         });
+        console.log('defaultValues = ' + defaultValues);
         this[NavigationMixin.Navigate]({
             type: 'standard__objectPage',
             attributes: {
@@ -125,7 +128,7 @@
                 actionName: 'new'
             },
             state: {
-                nooverride: '1',
+                //nooverride: '1',
                 defaultFieldValues: defaultValues,
                 recordTypeId: this.recordTypeId
             }

--
Gitblit v1.9.1