chenjingwu
2024-04-11 3621e0c60fc46bc05cdd0bb91b05ed8e1d77303e
force-app/main/default/lwc/lexOPDReportFlowLwc/lexOPDReportFlowLwc.js
@@ -1,3 +1,11 @@
/*
 * @Description:
 * @version:
 * @Author: chen jing wu
 * @Date: 2023-05-16 16:45:16
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-05-18 09:45:28
 */
import { LightningElement,api, track, wire } from 'lwc';
import {CurrentPageReference} from 'lightning/navigation';
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -55,22 +63,6 @@
            '&CF00N10000002DT68_lkid=' + this.followUPOppId +
            '&00N10000002DHk5=跟进询价'
        }
        //window.open('/a0B/e?retURL=%2F{!Rental_Apply__c.Id}'+
        //'&RecordType=01210000000Qekj&ent=01I10000000SWfe'+
        //Before Update by LiJun 20220321 start
        /*window.open(url +=
        '&CF00N10000004maf3={!Rental_Apply__c.Name}' +
        '&CF00N10000004maf3_lkid={!Rental_Apply__c.Id}' +
        '&CF00N10000002DPUD={!Rental_Apply__c.Hospital__c}'+
        '&CF00N10000002DPUD_lkid={!Rental_Apply__c.HospitalId__c}'+
        '&CF00N10000002Dh0f={!Rental_Apply__c.Strategic_dept__c}' +
        '&CF00N10000002Dh0f_lkid={!Rental_Apply__c.Strategic_deptId__c}'+
        '&CF00N10000008ps6d={!Rental_Apply__c.OPDPlan__c}' +
        '&CF00N10000008ps6d_lkid={!Rental_Apply__c.OPDPlanId__c}'+
        '&CF00N10000002CWW4={!Rental_Apply__c.Account__c}'+
        '&CF00N10000002CWW4_lkid={!Rental_Apply__c.AccountId__c}'+strs)
        }*/
        //Before Update by LiJun 20220321 end
        //After Update by LiJun 20220321 start
        url = url + '&CF00N10000004maf3=' + this.name +
@@ -92,12 +84,6 @@
    }
    closeAction() {
        //返回当前的备品申请
        this[NavigationMixin.Navigate]({
            type: 'standard__recordPage',
            attributes: {
                recordId: this.recordId,
                actionName: 'view'
            }
        });
        window.open("/"+this.recordId,'_self');
    }
}