From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改
---
force-app/main/default/classes/SubmitAndRefreshController.cls | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/classes/SubmitAndRefreshController.cls b/force-app/main/default/classes/SubmitAndRefreshController.cls
index 1871db6..a715c9e 100644
--- a/force-app/main/default/classes/SubmitAndRefreshController.cls
+++ b/force-app/main/default/classes/SubmitAndRefreshController.cls
@@ -5,9 +5,9 @@
try {
Account_Delay_Apply__c report = [SELECT Id,Is_upload_file__c,HospitalName__c,Attribute_Type__c FROM Account_Delay_Apply__c WHERE Id = :recordId];
- res.Isuploadfile = report.Is_upload_file__c;
- res.HospitalName = report.HospitalName__c;
- res.AttributeType = report.Attribute_Type__c;
+ res.isuploadfile = report.Is_upload_file__c;
+ res.hospitalName = report.HospitalName__c;
+ res.attributeType = report.Attribute_Type__c;
} catch (Exception e) {
throw new AuraHandledException(e.getMessage());
}
@@ -15,10 +15,10 @@
}
public class InitData{
@AuraEnabled
- public Boolean Isuploadfile;
+ public Boolean isuploadfile;
@AuraEnabled
- public String HospitalName;
+ public String hospitalName;
@AuraEnabled
- public String AttributeType;
+ public String attributeType;
}
}
\ No newline at end of file
--
Gitblit v1.9.1