From f5d4f999ba69421c3fb107561fe1ee4c29d3f680 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 07 七月 2023 17:26:18 +0800 Subject: [PATCH] CodeBackupStage --- force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js b/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js index d19374d..f5e6a6b 100644 --- a/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js +++ b/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js @@ -299,10 +299,12 @@ 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) { helper.saveRecords(component, event, helper); + component.set("v.showErrorInfo", false); }, cancel: function (component, event, helper) { @@ -366,5 +368,12 @@ }, return_main_page: function (component, event, helper) { window.open("/customer/", "_self"); + }, + exportErrorInfo: function (component, event, helper) { + helper.exportErrorInfoHelper(component); + }, + closeErrorDiv: function (component, event, helper) { + var errorDiv01 = component.find("errorDiv01"); + $A.util.addClass(errorDiv01, "slds-hide"); } }); -- Gitblit v1.9.1