buli
2023-07-10 f05bfc9a39bccc8afb928efe7555f21e0e69c5bd
force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js
@@ -1,21 +1,6 @@
({
  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) {
@@ -314,6 +299,7 @@
  CreateRecord: function (component, event, helper) {
    var files = event.getSource().get("v.files");
    helper.readFile(component, helper, files[0]);
    component.set("v.showErrorInfo", false);
  },
  processFileContent: function (component, event, helper) {
@@ -385,5 +371,9 @@
  },
  exportErrorInfo: function (component, event, helper) {
    helper.exportErrorInfoHelper(component);
  },
  closeErrorDiv: function (component, event, helper) {
    var errorDiv01 = component.find("errorDiv01");
    $A.util.addClass(errorDiv01, "slds-hide");
  }
});