unknown
2023-05-26 f5e42ce53f28872e05ba53d9615c922456f9911e
Service加注解

Service加注解 @AuraEnabled
2个文件已修改
10 ■■■■ 已修改文件
force-app/main/default/classes/RentalApplyWebService.cls 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexUnassign/lexUnassign.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/RentalApplyWebService.cls
@@ -1277,7 +1277,7 @@
//        }
//        return '1';
//    }
    @AuraEnabled
    Webservice static String postponeCheck(String endDate, Integer d) {
        Date before5day = getWD_addday(date.parse(endDate), d);
        if (Date.today() > before5day) {
force-app/main/default/lwc/lexUnassign/lexUnassign.js
@@ -29,7 +29,11 @@
        }else{
            window.open("/apex/EquipmentRentalUnassign?raId="+this.recordId+"&EquipmentId="+this.rentalApplySetIds); 
        }
        window.open("/"+this.recordId,'_self');
        this.closeAction();
    }
    closeAction() {
        //返回当前的备品申请
        window.open("/"+this.recordId,'_self');
    }
}