| | |
| | | ({ |
| | | CreateRecord: function (component, event, helper) { |
| | | var files = event.getSource().get('v.files'); |
| | | helper.readFile(component, helper, files[0]); |
| | | CreateRecord : function(component, event, helper){ |
| | | var files = event.getSource().get("v.files"); |
| | | helper.readFile(component,helper,files[0]); |
| | | }, |
| | | processFileContent: function (component, event, helper) { |
| | | component.set('v.showErrorInfo', false); |
| | | helper.saveRecords(component, event, helper); |
| | | processFileContent : function(component,event,helper){ |
| | | component.set("v.showErrorInfo",false); |
| | | helper.saveRecords(component,event,helper); |
| | | }, |
| | | cancel: function (component, event, helper) { |
| | | component.set('v.showMain', true); |
| | | cancel : function(component,event,helper){ |
| | | component.set("v.showMain",true); |
| | | }, |
| | | exportErrorInfo: function (component, event, helper) { |
| | | exportErrorInfo: function(component,event,helper){ |
| | | console.log('enter exportErrorInfo'); |
| | | helper.exportErrorInfoHelper(component); |
| | | } |
| | | }); |
| | | }, |
| | | }) |