| | |
| | | this.id = result.Id; |
| | | this.AntiLogicButton(); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | }) |
| | | }).catch(() => { |
| | | |
| | | }).finally(() => { |
| | | |
| | | }); |
| | | } |
| | | |
| | | //招标项目反逻辑删除 |
| | | //反逻辑删除 |
| | | AntiLogicButton(){ |
| | | ContraryLogicalDel({DTenId : this.id}).then(result =>{ |
| | | console.log(result,'成功与否'); |
| | | if(result == 'OK'){ |
| | | this.showToast("反逻辑删除成功","success"); |
| | | } |
| | |
| | | variant: type |
| | | }); |
| | | this.dispatchEvent(event); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | } |
| | | } |
| | | |
| | | |
| | | // /var ContraryL = function(){ |
| | | // var DTenId = "{!Tender_information__c.Id}";//删除的招投标 |
| | | // var rtn = sforce.apex.execute("TenderWebService", "ContraryLogicalDel", {DTenId : DTenId } ); |
| | | // //重新加载页面 |
| | | // window.location.reload(); |
| | | // } |
| | | // ContraryL(); |