From 7986d6aaf7e235f2f5a7dac7345f97a76ac00b97 Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期五, 26 五月 2023 12:23:09 +0800
Subject: [PATCH] 清理多余引用,去除多余update操作(跳转带默认值未完成)

---
 force-app/main/default/lwc/lexSendQIS/lexSendQIS.js |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/force-app/main/default/lwc/lexSendQIS/lexSendQIS.js b/force-app/main/default/lwc/lexSendQIS/lexSendQIS.js
index f1ca368..359f78a 100644
--- a/force-app/main/default/lwc/lexSendQIS/lexSendQIS.js
+++ b/force-app/main/default/lwc/lexSendQIS/lexSendQIS.js
@@ -1,12 +1,9 @@
 import { LightningElement,wire,track,api} from 'lwc';
 import { CurrentPageReference } from "lightning/navigation";
 import { CloseActionScreenEvent } from 'lightning/actions';
-import { NavigationMixin } from 'lightning/navigation';
 import { ShowToastEvent } from 'lightning/platformShowToastEvent';
 import init  from '@salesforce/apex/QISReportController.initForlexSendQISButton';
 import sendSPO  from '@salesforce/apex/QISReportController.updateQisForSendQIS';
-import UserInfo_Owner from '@salesforce/apex/TaskFeedbackController.UserInfo_Owner';
-import { updateRecord } from 'lightning/uiRecordApi';
 
 export default class lexSendQIS extends LightningElement {
 	@api recordId;
@@ -80,10 +77,6 @@
 
         });
     }
-    updateRecordView(recordId) {
-        updateRecord({fields: { Id: recordId }});
-    }
-
     send2SPO(){
         	sendSPO({
         		 recordId: this.recordId
@@ -107,7 +100,6 @@
                         });
 		                this.dispatchEvent(evt);   
 		                this.dispatchEvent(new CloseActionScreenEvent());
-		                this.updateRecordView(this.recordId);
                         window.location.replace("https://olympus.sharepoint.cn/sites/GSPWF/SitePages/HomePage.aspx");
                     }
                 

--
Gitblit v1.9.1