buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/lwc/lexInsPageBtn/lexInsPageBtn.js
@@ -17,6 +17,7 @@
    IsLoading = true;
    Id;
    RecordTypeId;
    RecordType;
    @wire(CurrentPageReference)
    getStateParameters(currentPageReference) {
@@ -38,6 +39,7 @@
                this.IsLoading = false;
                this.Id = result.Id;
                this.RecordTypeId = result.RecordTypeId;
                this.RecordType = result.RecordType;
                this.insPageBtn();
                this.dispatchEvent(new CloseActionScreenEvent());
@@ -50,7 +52,7 @@
    // 报告书明细编辑
    insPageBtn() {
        var url;
        if (this.RecordTypeId == '01210000000aLii') {
        if (this.RecordType == 'ContractInspection') {
            url = '/apex/OFSInsReportLayoutForVm';
        } else {
            url = '/apex/OFSInsReportLayout';