liangxiaozhen
2023-08-11 af908216bb0012fe849e3b49b3039c7ba238f8f0
force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
@@ -18,7 +18,7 @@
         }
     }
    
     //逻辑删除
    connectedCallback(){
        init({
            recordId: this.recordId
@@ -26,24 +26,9 @@
            if (result != null) {
                this.IsLoading = false;
                this.id = result.Id;
                this.LogicButton();
                window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350');
                this.dispatchEvent(new CloseActionScreenEvent());
            }
        }).catch(() => {
        }).finally(() => {
        });
        })
    }
    //逻辑删除
    LogicButton(){
        window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350');
    }
}
// function IfResponse(){
//     window.open ('/apex/TenderDeletePagelwc?id={!Tender_information__c.Id}', '', 'height=350, width=600, top=200, left=350');
//     }
//     IfResponse();
}