buli
2023-05-22 71b93327e8f3fb3bffffc7c033c1f782e7b6ab32
force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js
@@ -1,6 +1,10 @@
({
    doInit : function(component, event, helper) {
            helper.doinit(component, event, helper);
        component.set('v.errorColumns', [
            { label: '错误行', fieldName: 'errorRow', type: 'text', hideDefaultActions: true, initialWidth: 100},
            { label: '错误信息', fieldName: 'errorInfo', type: 'text', hideDefaultActions: true, },
        ]);
    },
    createAopp : function(component, event, helper) {
@@ -278,6 +282,7 @@
    processFileContent : function(component,event,helper){
        helper.saveRecords(component,event,helper);
        component.set("v.showErrorInfo", false);
    },
    
    cancel : function(component,event,helper){
@@ -339,5 +344,8 @@
    },
    return_main_page: function(component,event,helper){
        window.open('/customer/','_self');
    }
    },
    exportErrorInfo: function(component,event,helper){
        helper.exportErrorInfoHelper(component);
    },
})