| | |
| | | import LinkedHospitals from '@salesforce/apex/TenderLostController.LinkedHospitals'; |
| | | import { ShowToastEvent } from 'lightning/platformShowToastEvent'; |
| | | import { CloseActionScreenEvent } from 'lightning/actions'; |
| | | |
| | | import {loadStyle} from 'lightning/platformResourceLoader' |
| | | import tnederDeletePageCss from '@salesforce/resourceUrl/tnederDeletePageCss'; |
| | | export default class TenderLost extends LightningElement { |
| | | @api |
| | | recordid; |
| | |
| | | |
| | | //初始化 |
| | | connectedCallback(){ |
| | | Promise.all([ |
| | | loadStyle(this, tnederDeletePageCss) |
| | | ]); |
| | | // this.tenId = this.getQueryVariable('id'); |
| | | this.tenId = this.recordid |
| | | InitData({ParamIdStr:this.tenId}).then(response=>{ |
| | |
| | | // this.Alert("保存成功",false,true); |
| | | this.showToast("保存成功",'success') |
| | | window.location.href = '/'+this.recordid |
| | | window.open('/lightning/n/PCLLostReportPageLwc#pageStatus=Create&oppId=' + response + '&lostType=失单'); |
| | | window.open('/apex/PCLLostReportPageLwc?pageStatus=Create&oppId=' + response + '&lostType=失单'); |
| | | // top.window.close(); |
| | | // window.location.hash = "Refresh"+"=="+response; |
| | | }else{ |