19626
2023-09-09 e14d6d0619330cad423f06493e3aa2371faa2a8f
force-app/main/default/lwc/lexLoseReport/lexLoseReport.js
@@ -4,7 +4,7 @@
 * @Author: chen jing wu
 * @Date: 2023-04-20 14:08:55
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-04-21 15:15:44
 * @LastEditTime: 2023-08-25 16:44:13
 */
/*
 * @Description: 
@@ -82,25 +82,28 @@
        //alert("关联招投标项目的询价,只能在有结果后做失单报告!");
        //}
        else {
            location.href = '/a1U/e?retURL=%2F' + this.recordId +
            '&RecordType=01210000000R4hM' +
            '&CF00N10000004lbGT=' + this.name +
            '&CF00N10000004lbGT_lkid=' + this.recordId +
            '&CF00N10000006QShg=' + this.salesAssistantName +
            '&CF00N10000006QShg_lkid=' + this.salesAssistantID +
            '&CF00N10000006QShq=' + this.managerName +
            '&CF00N10000006QShq_lkid=' + this.salesManagerDepartmentID +
            '&CF00N10000006QShb=' + this.salesOwnerBuchang +
            '&CF00N10000006QShb_lkid=' + this.salesOwnerBuchangID +
            '';
            var url = '/apex/PCLLostReportPageLwc?pageStatus=Create&oppId=' + this.recordId + '&lostType=失单';
            location.href = url;
            // location.href = '/a1U/e?retURL=%2F' + this.recordId +
            // '&RecordType=01210000000R4hM' +
            // '&CF00N10000004lbGT=' + this.name +
            // '&CF00N10000004lbGT_lkid=' + this.recordId +
            // '&CF00N10000006QShg=' + this.salesAssistantName +
            // '&CF00N10000006QShg_lkid=' + this.salesAssistantID +
            // '&CF00N10000006QShq=' + this.managerName +
            // '&CF00N10000006QShq_lkid=' + this.salesManagerDepartmentID +
            // '&CF00N10000006QShb=' + this.salesOwnerBuchang +
            // '&CF00N10000006QShb_lkid=' + this.salesOwnerBuchangID +
            // '';
        }
        this.dispatchEvent(new CloseActionScreenEvent());
    }
    showToast(msg,type) {
        const event = new ShowToastEvent({
            title: '',
            title: ' ',
            message: msg,
            variant: type
            variant: type,
            mode: 'sticky'
        });
        this.dispatchEvent(event);
    }