From 53d3efae4778c0ee936911317411d931f930bf2b Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期四, 06 四月 2023 17:05:00 +0800
Subject: [PATCH] 黄千龙提交按钮(更新至2023.4.6)
---
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