From f05bfc9a39bccc8afb928efe7555f21e0e69c5bd Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期一, 10 七月 2023 10:51:38 +0800 Subject: [PATCH] backupfixtablecolumn0710 --- force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js | 20 +++++--------------- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js b/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js index aa2e5ce..f5e6a6b 100644 --- a/force-app/main/default/aura/RetrospectiveWeeklyReport/RetrospectiveWeeklyReportController.js +++ b/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"); } }); -- Gitblit v1.9.1