From 492f744d9d84289e27b2ddac9a9b4a2137fd11d6 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期一, 07 八月 2023 11:25:24 +0800
Subject: [PATCH] slefreview

---
 force-app/main/default/lwc/lexProductRepairQuoteAsset/lexProductRepairQuoteAsset.js |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/force-app/main/default/lwc/lexProductRepairQuoteAsset/lexProductRepairQuoteAsset.js b/force-app/main/default/lwc/lexProductRepairQuoteAsset/lexProductRepairQuoteAsset.js
index ff1281c..01c253b 100644
--- a/force-app/main/default/lwc/lexProductRepairQuoteAsset/lexProductRepairQuoteAsset.js
+++ b/force-app/main/default/lwc/lexProductRepairQuoteAsset/lexProductRepairQuoteAsset.js
@@ -17,18 +17,18 @@
         }
     }
 
-     connectedCallback(){
+    connectedCallback(){
         this.ProductRepairQuoteAsset()
         .then(result => {
         	this.closeScreen();
 
         }).catch(error => {
-			const event3 = new ShowToastEvent({
+			      const event3 = new ShowToastEvent({
+	           	title: '鎸夐挳璺宠浆閿欒',
 	           	message:
 	            error.message,
-              variant : 'error'
-        	});
-        	this.dispatchEvent(event3);
+        	  });
+        	  this.dispatchEvent(event3);
         });
 
     }
@@ -36,11 +36,11 @@
 
     
 	async ProductRepairQuoteAsset(){
-	window.open ('/apex/ProductRepairQuote?productid='+this.recordId+'&flag=asset', '', 'height=250, width=500, top=300, left=350,location=no')
+	  window.open ('/apex/ProductRepairQuote?productid='+this.recordId+'&flag=asset', '', 'height=250, width=500, top=300, left=350,location=no')
 	}
 
 	closeScreen(){
 		this.IsLoading=false;
-        this.dispatchEvent(new CloseActionScreenEvent());
+    this.dispatchEvent(new CloseActionScreenEvent());
 	}    
 }
\ No newline at end of file

--
Gitblit v1.9.1