From 5d155accb594089737a0b4edd753152a1ea66bc4 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 04 四月 2023 15:23:51 +0800
Subject: [PATCH] 处理review 4.4
---
force-app/main/default/lwc/lexSIStoOPD/lexSIStoOPD.js | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diff --git a/force-app/main/default/lwc/lexSIStoOPD/lexSIStoOPD.js b/force-app/main/default/lwc/lexSIStoOPD/lexSIStoOPD.js
index b612e13..b85d07d 100644
--- a/force-app/main/default/lwc/lexSIStoOPD/lexSIStoOPD.js
+++ b/force-app/main/default/lwc/lexSIStoOPD/lexSIStoOPD.js
@@ -12,24 +12,7 @@
ownerId;
status;
userId;
- recordTypeId = '01210000000Qekj';
errorMsg;
- @wire(CurrentPageReference)
- getStateParameters(currentPageReference) {
- console.log(111);
- console.log(currentPageReference);
-
- if (currentPageReference) {
- const urlValue = currentPageReference.state.recordId;
- if (urlValue) {
- let str = `${urlValue}`;
- console.log("str");
- console.log(str);
- this.recordId = str;
- }
- }
- }
-
connectedCallback(){
console.log(this.recordId);
@@ -73,8 +56,7 @@
SIStoOPD () {
if(this.ownerId == this.userId && this.status == "鑽夋涓�") {
updateForSIStoOPDButton({
- recordId: this.recordId,
- recordTypeId: this.recordTypeId
+ recordId: this.recordId
}).then(result=>{
if(result){
this.showToast(result,"error");
--
Gitblit v1.9.1