From f66abb6dad1b8caa18aca9d65dceb34a34c022b6 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期五, 11 八月 2023 11:42:16 +0800
Subject: [PATCH] review

---
 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..31e3de4 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=380, width=680, 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