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/AgencyContractCloneController.cls                                                                |   12 
 force-app/main/default/classes/NewAgencyContractController.cls                                                                  |    8 
 force-app/main/default/classes/SubmitAndRefreshController.cls                                                                   |   12 
 force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js                                                     |    8 
 force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js                                                         |    6 
 force-app/main/default/lwc/lexSendRepairsToEtQ/lexSendRepairsToEtQ.js                                                           |   17 +-
 force-app/main/default/classes/SoakupTeamController.cls-meta.xml                                                                |    5 
 force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js |    8 
 force-app/main/default/classes/MonthlyClaimsChangeController.cls                                                                |   20 +-
 force-app/main/default/lwc/lexAccountDelayApplyButton/lexAccountDelayApplyButton.js                                             |   20 +-
 force-app/main/default/lwc/lexAgencyContractClone/lexAgencyContractClone.js                                                     |    8 
 force-app/main/default/lwc/lexSubmitAndRefreshAccount/lexSubmitAndRefreshAccount.js                                             |   20 +-
 force-app/main/default/classes/CustomLink2AdvancePaymentController.cls                                                          |   20 +-
 force-app/main/default/classes/SoakupTeamController.cls                                                                         |   20 ++
 force-app/main/default/lwc/lexNewAgencyContract/lexNewAgencyContract.js                                                         |    4 
 force-app/main/default/classes/DealerVisitDetailsController.cls                                                                 |   22 +-
 force-app/main/default/lwc/lexAssignTaskButtonAccount/lexAssignTaskButtonAccount.js                                             |    2 
 force-app/main/default/classes/HosipitalToDeptController.cls                                                                    |   50 +++---
 force-app/main/default/classes/QuolifiedApplySPOController.cls                                                                  |   12 
 force-app/main/default/lwc/lexSubmitAndRefresh/lexSubmitAndRefresh.js                                                           |    6 
 force-app/main/default/classes/otherButtonRepairController.cls                                                                  |    4 
 force-app/main/default/lwc/lexHosipitalToDept/lexHosipitalToDept.js                                                             |   16 +-
 force-app/main/default/lwc/lexSoakupTeam/lexSoakupTeam.js                                                                       |    2 
 force-app/main/default/classes/AccountDelayApplyController.cls                                                                  |   60 ++++----
 force-app/main/default/classes/AccountUrlRecordTypeIdController.cls                                                             |    4 
 force-app/main/default/lwc/lexDealerVisitDetails/lexDealerVisitDetails.js                                                       |   10 
 force-app/main/default/classes/toBatchOwnerController.cls                                                                       |    4 
 force-app/main/default/pages/taskAlert.page                                                                                     |    4 
 28 files changed, 205 insertions(+), 179 deletions(-)

diff --git a/force-app/main/default/classes/AccountDelayApplyController.cls b/force-app/main/default/classes/AccountDelayApplyController.cls
index 6dd49ce..9e36581 100644
--- a/force-app/main/default/classes/AccountDelayApplyController.cls
+++ b/force-app/main/default/classes/AccountDelayApplyController.cls
@@ -4,30 +4,30 @@
         InitData res  = new initData();
 
         try {
-            Account report = [SELECT Id,Name,Is_Active__c,Grade__c,Alias_Name2__c,Abbreviation__c,Attribute_Type__c
+            Account report = [SELECT Id,Name,Is_Active__c,Grade__c,Alias_Name2__c,abbreviation__c,Attribute_Type__c
                                     ,Postal_Code__c,Speciality_Type__c,State_Master__c,Town__c,City_Master__c,Address__c,Street__c
-                                    ,Field3_companyname__c,WhetherRiskPassing__c,RejectionReason__c,AssociatedHospital__c,Site
+                                    ,Field3_companyname__c,WhetherRiskPassing__c,RejectionReason__c,AssociatedHospital__c,site
                                         FROM Account WHERE Id = :recordId];
             List<Account_Delay_Apply__c> AccQuery = [SELECT id FROM Account_Delay_Apply__c WHERE Is_Active__c = '鐢宠涓�' and Hospital__c = :recordId];
             res.accId = report.Id;
             res.accname = report.Name;
             res.status = report.Is_Active__c;
             res.accgrade = report.Grade__c;
-            res.AliasName2 = report.Alias_Name2__c;
-            res.Abbreviation = report.Abbreviation__c;
-            res.AttributeType = report.Attribute_Type__c;
-            res.PostalCode = report.Postal_Code__c;
-            res.SpecialityType = report.Speciality_Type__c;
-            res.StateMaster = report.State_Master__c;
-            res.Town = report.Town__c;
-            res.CityMaster = report.City_Master__c;
-            res.Address = report.Address__c;
-            res.Street = report.Street__c;
-            res.Field3companyname = report.Field3_companyname__c;
+            res.aliasName2 = report.Alias_Name2__c;
+            res.abbreviation = report.abbreviation__c;
+            res.attributeType = report.Attribute_Type__c;
+            res.postalCode = report.Postal_Code__c;
+            res.specialityType = report.Speciality_Type__c;
+            res.stateMaster = report.State_Master__c;
+            res.town = report.Town__c;
+            res.cityMaster = report.City_Master__c;
+            res.address = report.Address__c;
+            res.street = report.Street__c;
+            res.field3companyname = report.Field3_companyname__c;
             res.WhetherRiskPassing = report.WhetherRiskPassing__c;
-            res.RejectionReason = report.RejectionReason__c;
-            res.AssociatedHospital = report.AssociatedHospital__c;
-            res.Site = report.Site;
+            res.rejectionReason = report.RejectionReason__c;
+            res.associatedHospital = report.AssociatedHospital__c;
+            res.site = report.site;
             res.shengId = report.State_Master__c;
             res.shiId = report.City_Master__c;
 
@@ -48,35 +48,35 @@
         @AuraEnabled
         public String accgrade;
         @AuraEnabled
-        public String AliasName2;
+        public String aliasName2;
         @AuraEnabled
-        public String Abbreviation;
+        public String abbreviation;
         @AuraEnabled
-        public String AttributeType;
+        public String attributeType;
         @AuraEnabled
-        public String PostalCode;
+        public String postalCode;
         @AuraEnabled
-        public String SpecialityType;
+        public String specialityType;
         @AuraEnabled
-        public String StateMaster;
+        public String stateMaster;
         @AuraEnabled
-        public String Town;
+        public String town;
         @AuraEnabled
-        public String CityMaster;
+        public String cityMaster;
         @AuraEnabled
-        public String Address;
+        public String address;
         @AuraEnabled
-        public String Street;
+        public String street;
         @AuraEnabled
-        public String Field3companyname;
+        public String field3companyname;
         @AuraEnabled
         public String WhetherRiskPassing;
         @AuraEnabled
-        public String RejectionReason;
+        public String rejectionReason;
         @AuraEnabled
-        public String AssociatedHospital;
+        public String associatedHospital;
         @AuraEnabled
-        public String Site;
+        public String site;
         @AuraEnabled
         public String shengId;
         @AuraEnabled
diff --git a/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls b/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
index 72b6535..0cab992 100644
--- a/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
+++ b/force-app/main/default/classes/AccountUrlRecordTypeIdController.cls
@@ -17,7 +17,7 @@
         RepairContactData result = new RepairContactData();
         try {
             Account report = [select Department_Class_Label__c from Account where Id = :recordId];
-            result.DepartmentClassLabel = report.Department_Class_Label__c;
+            result.departmentClassLabel = report.Department_Class_Label__c;
             result.typeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContact').getRecordTypeId();
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
@@ -28,6 +28,6 @@
         @AuraEnabled
         public string typeId;
         @AuraEnabled
-        public string DepartmentClassLabel;
+        public string departmentClassLabel;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/AgencyContractCloneController.cls b/force-app/main/default/classes/AgencyContractCloneController.cls
index 16de7f2..ae13476 100644
--- a/force-app/main/default/classes/AgencyContractCloneController.cls
+++ b/force-app/main/default/classes/AgencyContractCloneController.cls
@@ -2,11 +2,11 @@
     @AuraEnabled
     public static InitData init(){
         InitData res  = new initData();
-        ID myUserID = UserInfo.getUserId();
+        id myUserID = UserInfo.getUserId();
         try {
-            User userinfo = [SELECT Id,ProfileId FROM User WHERE Id = :myUserID LIMIT 1];
-            res.Id = userinfo.Id;
-            res.ProfileId = userinfo.ProfileId;
+            User userinfo = [SELECT id,profileId FROM User WHERE id = :myUserID LIMIT 1];
+            res.id = userinfo.id;
+            res.profileId = userinfo.profileId;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
         }
@@ -14,8 +14,8 @@
     }
     public class InitData{
         @AuraEnabled
-        public string Id;
+        public string id;
         @AuraEnabled
-        public string ProfileId;
+        public string profileId;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/CustomLink2AdvancePaymentController.cls b/force-app/main/default/classes/CustomLink2AdvancePaymentController.cls
index d299005..db440ac 100644
--- a/force-app/main/default/classes/CustomLink2AdvancePaymentController.cls
+++ b/force-app/main/default/classes/CustomLink2AdvancePaymentController.cls
@@ -3,12 +3,12 @@
     public static InitData init(String recordId) {
         InitData res  = new initData();
         try {
-            Account report = [SELECT Id,Name,FirstParagraph__c,MonthlyPayment__c FROM Account WHERE Id = :recordId];
-            res.RecordTypeId = Schema.SObjectType.Advance_Payment__c.getRecordTypeInfosByDeveloperName().get('FirstParagraphChange').getRecordTypeId();
-            res.Name = report.Name;
-            res.FirstParagraph = report.FirstParagraph__c;
-            res.MonthlyPayment = report.MonthlyPayment__c;
-            List<Advance_Payment__c> records = [SELECT id,Status__c FROM Advance_Payment__c WHERE Account__c =:recordId and RecordType.Id = :res.RecordTypeId and Status__c in ('鑽夋涓�','宸叉彁浜�','鎵瑰噯涓�')];
+            Account report = [SELECT Id,name,FirstParagraph__c,MonthlyPayment__c FROM Account WHERE Id = :recordId];
+            res.recordTypeId = Schema.SObjectType.Advance_Payment__c.getRecordTypeInfosByDeveloperName().get('FirstParagraphChange').getRecordTypeId();
+            res.name = report.name;
+            res.firstParagraph = report.FirstParagraph__c;
+            res.monthlyPayment = report.MonthlyPayment__c;
+            List<Advance_Payment__c> records = [SELECT id,Status__c FROM Advance_Payment__c WHERE Account__c =:recordId and RecordType.Id = :res.recordTypeId and Status__c in ('鑽夋涓�','宸叉彁浜�','鎵瑰噯涓�')];
             res.records = records;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
@@ -17,14 +17,14 @@
     }
     public class InitData{
         @AuraEnabled
-        public String Name;
+        public String name;
         @AuraEnabled
-        public Boolean FirstParagraph;
+        public Boolean firstParagraph;
         @AuraEnabled
-        public Boolean MonthlyPayment;
+        public Boolean monthlyPayment;
         @AuraEnabled
         public List<Advance_Payment__c> records;
         @AuraEnabled
-        public String RecordTypeId;
+        public String recordTypeId;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/DealerVisitDetailsController.cls b/force-app/main/default/classes/DealerVisitDetailsController.cls
index 999487e..5975fb9 100644
--- a/force-app/main/default/classes/DealerVisitDetailsController.cls
+++ b/force-app/main/default/classes/DealerVisitDetailsController.cls
@@ -5,12 +5,12 @@
         ID myUserID = UserInfo.getUserId();
         try {
             User userinfo = [SELECT id,ProfileId FROM User WHERE Id = :myUserID LIMIT 1];
-            Account report = [SELECT Id,RecordTypeId,Department_Class_Label__c,Name,Hospital_Department_Class__c FROM Account WHERE Id = :recordId];
-            res.ProfileId = userinfo.ProfileId;
-            res.RecordTypeId = report.RecordTypeId;
-            res.DepartmentClassLabel = report.Department_Class_Label__c;
-            res.Name = report.Name;
-            res.HospitalDepartmentClass = report.Hospital_Department_Class__c;
+            Account report = [SELECT Id,RecordTypeId,Department_Class_Label__c,name,Hospital_Department_Class__c FROM Account WHERE Id = :recordId];
+            res.profileId = userinfo.ProfileId;
+            res.recordTypeId = report.recordTypeId;
+            res.departmentClassLabel = report.Department_Class_Label__c;
+            res.name = report.name;
+            res.hospitalDepartmentClass = report.Hospital_Department_Class__c;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
         }
@@ -18,14 +18,14 @@
     }
     public class InitData{
         @AuraEnabled
-        public string ProfileId;
+        public string profileId;
         @AuraEnabled
-        public string RecordTypeId;
+        public string recordTypeId;
         @AuraEnabled
-        public string DepartmentClassLabel;
+        public string departmentClassLabel;
         @AuraEnabled
-        public string Name;
+        public string name;
         @AuraEnabled
-        public string HospitalDepartmentClass;
+        public string hospitalDepartmentClass;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/HosipitalToDeptController.cls b/force-app/main/default/classes/HosipitalToDeptController.cls
index 8300409..011c955 100644
--- a/force-app/main/default/classes/HosipitalToDeptController.cls
+++ b/force-app/main/default/classes/HosipitalToDeptController.cls
@@ -13,20 +13,20 @@
                                 ENT_owner_ID__c,
                                 Tender_information__c,
                                 Is_upload_file__c,
-                                Name,
+                                name,
                                 Attribute_Type__c FROM Account WHERE Id = :recordId];
-            res.GiMain = report.GI_Main__c;
-            res.BFowner = report.BF_owner__c;
-            res.ETowner = report.ET_owner__c;
-            res.SPMain = report.SP_Main__c;
-            res.UROownerID = report.URO_owner_ID__c;
-            res.GYNowner = report.GYN_owner__c;
-            res.ENTownerID = report.ENT_owner_ID__c;
-            res.SoakupHPDeptTeam = System.Label.Confirm_SoakupHPDeptTeam;
-            res.Tenderinformation = report.Tender_information__c;
-            res.Isuploadfile = report.Is_upload_file__c;
-            res.Name = report.Name;
-            res.AttributeType = report.Attribute_Type__c;
+            res.giMain = report.GI_Main__c;
+            res.bfowner = report.BF_owner__c;
+            res.etowner = report.ET_owner__c;
+            res.spmain = report.SP_Main__c;
+            res.uroownerID = report.URO_owner_ID__c;
+            res.gynowner = report.GYN_owner__c;
+            res.entownerID = report.ENT_owner_ID__c;
+            res.soakupHPDeptTeam = System.Label.Confirm_SoakupHPDeptTeam;
+            res.tenderinformation = report.Tender_information__c;
+            res.isuploadfile = report.Is_upload_file__c;
+            res.name = report.name;
+            res.attributeType = report.Attribute_Type__c;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
         }
@@ -57,28 +57,28 @@
     }
     public class InitData{
         @AuraEnabled
-        public string GiMain;
+        public string giMain;
         @AuraEnabled
-        public string BFowner;
+        public string bfowner;
         @AuraEnabled
-        public string ETowner;
+        public string etowner;
         @AuraEnabled
-        public string SPMain;
+        public string spmain;
         @AuraEnabled
-        public string UROownerID;
+        public string uroownerID;
         @AuraEnabled
-        public string GYNowner;
+        public string gynowner;
         @AuraEnabled
-        public string ENTownerID;
+        public string entownerID;
         @AuraEnabled
-        public string SoakupHPDeptTeam;
+        public string soakupHPDeptTeam;
         @AuraEnabled
-        public string Tenderinformation;
+        public string tenderinformation;
         @AuraEnabled
-        public Boolean Isuploadfile;
+        public Boolean isuploadfile;
         @AuraEnabled
-        public string Name;
+        public string name;
         @AuraEnabled
-        public string AttributeType;
+        public string attributeType;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/MonthlyClaimsChangeController.cls b/force-app/main/default/classes/MonthlyClaimsChangeController.cls
index eab7fd9..ca461d5 100644
--- a/force-app/main/default/classes/MonthlyClaimsChangeController.cls
+++ b/force-app/main/default/classes/MonthlyClaimsChangeController.cls
@@ -4,12 +4,12 @@
         InitData res  = new initData();
 
         try {
-            Account report = [SELECT Id,DealerTypeSum__c,MonthlyPayment__c,Name FROM Account WHERE Id = :recordId];
-            res.RecordTypeId = Schema.SObjectType.Advance_Payment__c.getRecordTypeInfosByDeveloperName().get('MonthlyPaymentChange').getRecordTypeId();
-            res.MonthlyPayment = report.MonthlyPayment__c;
-            res.DealerTypeSum = report.DealerTypeSum__c;
-            res.Name = report.Name;
-            List<Advance_Payment__c> sql = [SELECT id,Status__c FROM Advance_Payment__c WHERE Account__c = :recordId and RecordTypeId = :res.RecordTypeId and Status__c in ('鑽夋涓�','宸叉彁浜�','鎵瑰噯涓�')];
+            Account report = [SELECT Id,DealerTypeSum__c,MonthlyPayment__c,name FROM Account WHERE Id = :recordId];
+            res.recordTypeId = Schema.SObjectType.Advance_Payment__c.getRecordTypeInfosByDeveloperName().get('MonthlyPaymentChange').getRecordTypeId();
+            res.monthlyPayment = report.MonthlyPayment__c;
+            res.dealerTypeSum = report.DealerTypeSum__c;
+            res.name = report.name;
+            List<Advance_Payment__c> sql = [SELECT id,Status__c FROM Advance_Payment__c WHERE Account__c = :recordId and recordTypeId = :res.recordTypeId and Status__c in ('鑽夋涓�','宸叉彁浜�','鎵瑰噯涓�')];
             res.records = sql;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
@@ -18,13 +18,13 @@
     }
     public class InitData{
         @AuraEnabled
-        public Boolean MonthlyPayment;
+        public Boolean monthlyPayment;
         @AuraEnabled
-        public String DealerTypeSum;
+        public String dealerTypeSum;
         @AuraEnabled
-        public String Name;
+        public String name;
         @AuraEnabled
-        public String RecordTypeId;
+        public String recordTypeId;
         @AuraEnabled
         public List<Advance_Payment__c> records;
     }
diff --git a/force-app/main/default/classes/NewAgencyContractController.cls b/force-app/main/default/classes/NewAgencyContractController.cls
index cd506b6..0554a16 100644
--- a/force-app/main/default/classes/NewAgencyContractController.cls
+++ b/force-app/main/default/classes/NewAgencyContractController.cls
@@ -7,8 +7,8 @@
         try { 
             User tempUser = [select Id,ProfileId from user where id = : myUserID ];
             result.id = tempUser.Id;
-            result.RecordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContract').getRecordTypeId();
-            result.ProfileId = tempUser.ProfileId;
+            result.recordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('AgencyContract').getRecordTypeId();
+            result.profileId = tempUser.ProfileId;
         } catch (exception e) {
             result.result = e.getMessage();
         }
@@ -24,8 +24,8 @@
         @AuraEnabled
         public string id;
         @AuraEnabled
-        public String RecordTypeId;
+        public String recordTypeId;
         @AuraEnabled
-        public string ProfileId;
+        public string profileId;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/QuolifiedApplySPOController.cls b/force-app/main/default/classes/QuolifiedApplySPOController.cls
index e66b4bf..fd43054 100644
--- a/force-app/main/default/classes/QuolifiedApplySPOController.cls
+++ b/force-app/main/default/classes/QuolifiedApplySPOController.cls
@@ -6,9 +6,9 @@
         try {
             Account report = [SELECT Id,Is_Active__c FROM Account WHERE Id = :recordId];
             User userinfo = [SELECT id,ProfileId,Job_Category__c FROM User WHERE Id = :myUserID LIMIT 1];
-            res.IsActive = report.Is_Active__c;
-            res.ProfileId = userinfo.ProfileId;
-            res.JobCategory = userinfo.Job_Category__c;
+            res.isActive = report.Is_Active__c;
+            res.profileId = userinfo.ProfileId;
+            res.jobCategory = userinfo.Job_Category__c;
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
         }
@@ -32,10 +32,10 @@
 
     public class InitData{
         @AuraEnabled
-        public string IsActive;
+        public string isActive;
         @AuraEnabled
-        public string ProfileId;
+        public string profileId;
         @AuraEnabled
-        public string JobCategory;
+        public string jobCategory;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/classes/SoakupTeamController.cls b/force-app/main/default/classes/SoakupTeamController.cls
new file mode 100644
index 0000000..8aad938
--- /dev/null
+++ b/force-app/main/default/classes/SoakupTeamController.cls
@@ -0,0 +1,20 @@
+public with sharing class SoakupTeamController {
+    @AuraEnabled
+    public static InitData init(String recordId){
+        InitData res  = new initData();
+        try {
+            Account report = [SELECT Id FROM Account WHERE Id = :recordId];
+            res.confirmSoakupHPDeptTeam = System.Label.Confirm_SoakupHPDeptTeam;
+            res.id = report.Id;
+        } catch (Exception e) {
+            throw new AuraHandledException(e.getMessage());
+        }
+        return res;
+    }
+    public class InitData{
+        @AuraEnabled
+        public String id;
+        @AuraEnabled
+        public String confirmSoakupHPDeptTeam;
+    }
+}
\ No newline at end of file
diff --git a/force-app/main/default/classes/SoakupTeamController.cls-meta.xml b/force-app/main/default/classes/SoakupTeamController.cls-meta.xml
new file mode 100644
index 0000000..754ecb1
--- /dev/null
+++ b/force-app/main/default/classes/SoakupTeamController.cls-meta.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
+    <apiVersion>57.0</apiVersion>
+    <status>Active</status>
+</ApexClass>
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
diff --git a/force-app/main/default/classes/otherButtonRepairController.cls b/force-app/main/default/classes/otherButtonRepairController.cls
index 1907e8d..7e36f0b 100644
--- a/force-app/main/default/classes/otherButtonRepairController.cls
+++ b/force-app/main/default/classes/otherButtonRepairController.cls
@@ -166,11 +166,11 @@
             repair.Facility_Return_Receipt_Collection_reque__c = Datetime.now().date();
             
             update repair;
+            return 'ok';
         } catch (Exception e) {
             System.debug(LoggingLevel.INFO, '*** e: ' + e);
-            res = e.getMessage();
+            throw new AuraHandledException(e.getMessage());
         }
-        return res;
     }
 
     // 鏌ユ壘PAE鍒ゅ畾璁板綍
diff --git a/force-app/main/default/classes/toBatchOwnerController.cls b/force-app/main/default/classes/toBatchOwnerController.cls
index b336766..3b72b69 100644
--- a/force-app/main/default/classes/toBatchOwnerController.cls
+++ b/force-app/main/default/classes/toBatchOwnerController.cls
@@ -13,7 +13,7 @@
     public static InitData TypeId(){
         InitData res  = new initData();
         try {
-            res.RecordTypeId = Schema.SObjectType.task__c.getRecordTypeInfosByDeveloperName().get('OPD').getRecordTypeId();
+            res.recordTypeId = Schema.SObjectType.task__c.getRecordTypeInfosByDeveloperName().get('OPD').getRecordTypeId();
             
         } catch (Exception e) {
             throw new AuraHandledException(e.getMessage());
@@ -22,6 +22,6 @@
     }
     public class InitData{
         @AuraEnabled
-        public String RecordTypeId;
+        public String recordTypeId;
     }
 }
\ No newline at end of file
diff --git a/force-app/main/default/lwc/lexAccountDelayApplyButton/lexAccountDelayApplyButton.js b/force-app/main/default/lwc/lexAccountDelayApplyButton/lexAccountDelayApplyButton.js
index d77ad06..60cb2cf 100644
--- a/force-app/main/default/lwc/lexAccountDelayApplyButton/lexAccountDelayApplyButton.js
+++ b/force-app/main/default/lwc/lexAccountDelayApplyButton/lexAccountDelayApplyButton.js
@@ -31,7 +31,7 @@
             console.log('result==========',result);
             this.IsLoading = false;
             if(result!=null){
-                if(result.AccSize.length > 0){
+                if(result.accSize.length > 0){
                     this.showToast('瀛樺湪鐢宠涓殑瀹㈡埛鍙樻洿鐢宠锛屾棤娉曞啀娆℃彁浜ゅ彉鏇寸敵璇枫��','error')
                     return
                 }
@@ -40,17 +40,17 @@
                         Hospital__c:this.recordId,
                         Grade__c:result.accgrade,
                         HospitalName__c:result.accname,
-                        Alias_Name2__c:result.AliasName2,
-                        Abbreviation_old__c:result.Abbreviation,
-                        Abbreviation__c:result.AttributeType,
-                        Postal_Code__c:result.PostalCode,
-                        Speciality_Type__c:result.SpecialityType,
+                        Alias_Name2__c:result.aliasName2,
+                        Abbreviation_old__c:result.abbreviation,
+                        Abbreviation__c:result.attributeType,
+                        Postal_Code__c:result.postalCode,
+                        Speciality_Type__c:result.specialityType,
                         State_Master__c:result.shengId,
-                        Town__c:result.Town,
+                        Town__c:result.town,
                         City_Master__c:result.shiId,
-                        Street__c:result.Street,
-                        Field3_companyname__c:result.Field3companyname,
-                        Site__c:result.Site
+                        Street__c:result.street,
+                        Field3_companyname__c:result.field3companyname,
+                        Site__c:result.site
                     });
                     this[NavigationMixin.Navigate]({
                         type: 'standard__objectPage',
diff --git a/force-app/main/default/lwc/lexAgencyContractClone/lexAgencyContractClone.js b/force-app/main/default/lwc/lexAgencyContractClone/lexAgencyContractClone.js
index bcdfff2..f3159ed 100644
--- a/force-app/main/default/lwc/lexAgencyContractClone/lexAgencyContractClone.js
+++ b/force-app/main/default/lwc/lexAgencyContractClone/lexAgencyContractClone.js
@@ -25,11 +25,11 @@
     connectedCallback(){
         init({recordId:this.recordId}).then(res => {
             if(res != null){
-                if (res.Id == '00510000002YSBIAA4'
-                || res.Id == '00510000004PMMcAAO'
+                if (res.id == '00510000002YSBIAA4'
+                || res.id == '00510000004PMMcAAO'
                 // || res.Id == '00510000006Vsuo'
-                || res.ProfileId == '00e10000000Y3o5AAC'
-                || res.ProfileId == '00e10000000tiSlAAI') {
+                || res.profileId == '00e10000000Y3o5AAC'
+                || res.profileId == '00e10000000tiSlAAI') {
                     window.open("/"+this.recordId+"/e?clone=1&retURL="+this.recordId);
                 } else {
                     this.showToast('娌℃湁澶嶅埗缁忛攢鍟嗗悎鍚岀殑鏉冮檺','error');
diff --git a/force-app/main/default/lwc/lexAssignTaskButtonAccount/lexAssignTaskButtonAccount.js b/force-app/main/default/lwc/lexAssignTaskButtonAccount/lexAssignTaskButtonAccount.js
index 9aaf47a..fb46d4b 100644
--- a/force-app/main/default/lwc/lexAssignTaskButtonAccount/lexAssignTaskButtonAccount.js
+++ b/force-app/main/default/lwc/lexAssignTaskButtonAccount/lexAssignTaskButtonAccount.js
@@ -38,7 +38,7 @@
                 state: {
                     nooverride: '1',
                     defaultFieldValues: defaultValues,
-                    recordTypeId: res.RecordTypeId
+                    recordTypeId: res.recordTypeId
                 }
             });
         }).catch(err => {
diff --git a/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js b/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
index 81c2ca0..1dca3e2 100644
--- a/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
+++ b/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
@@ -29,15 +29,15 @@
             console.log('result==========',result);
             this.IsLoading = false;
             if(result!=null){
-                if (result.FirstParagraph == 0) {
+                if (result.firstParagraph == 0) {
                     this.showToast("鎮ㄥ凡鍙栨秷鍏堟鏍囪瘑锛屾棤闇�閲嶅鎿嶄綔",'error');
                     return;
-                } else if (result.MonthlyPayment == true) {
+                } else if (result.monthlyPayment == true) {
                     this.showToast("鎮ㄤ笉鑳借繘琛岀壒鎵癸紝璇峰厛鍙栨秷鏈堝害鍊烘潈鍏堟鏍囪瘑",'error');
                     return;
                 } else {
                     if (result.records.length > 0) {
-                        if (result.records[0].Status__c == '鑽夋涓�') {
+                        if (result.records[0].status__c == '鑽夋涓�') {
                             this.showToast('宸叉彁浜よ崏绋胯灏藉揩鎻愪氦瀹℃壒','error');
                         } else {
                             this.showToast('鏃犳硶鍒涘缓锛佸凡鏈夋湭鏈�缁堟壒鍑嗙殑鏁版嵁','error');
@@ -54,7 +54,7 @@
                             },
                             state:{
                                 defaultFieldValues:defaultFieldValues,
-                                recordTypeId:result.RecordTypeId
+                                recordTypeId:result.recordTypeId
                             }
                         });
                     }
diff --git a/force-app/main/default/lwc/lexDealerVisitDetails/lexDealerVisitDetails.js b/force-app/main/default/lwc/lexDealerVisitDetails/lexDealerVisitDetails.js
index 35b5db0..14ff9d9 100644
--- a/force-app/main/default/lwc/lexDealerVisitDetails/lexDealerVisitDetails.js
+++ b/force-app/main/default/lwc/lexDealerVisitDetails/lexDealerVisitDetails.js
@@ -36,24 +36,24 @@
                 '00e10000000Y3o5AAC'
             ]
             if(res != null){
-                if(whiteList.indexOf(res.ProfileId) == -1){
+                if(whiteList.indexOf(res.profileId) == -1){
                     this.showToast("浣犳病鏈夋搷浣滄潈闄�",'error');
                     return;
                 }
-                var accountType = res.DepartmentClassLabel;
+                var accountType = res.departmentClassLabel;
                 var sectionMap = new Map();
                 sectionMap['娑堝寲绉�'] = 'GI';sectionMap['ET'] = 'ET';
                 sectionMap['鍛煎惛绉�'] = 'BF';sectionMap['鏅绉�'] = 'GS';
                 sectionMap['娉屽翱绉�'] = 'URO';sectionMap['濡囩'] = 'GYN';
                 sectionMap['鑰抽蓟鍠夌'] = 'ENT';sectionMap['鍏朵粬'] = 'OTH';
                 var sectionApi= sectionMap[accountType];
-                if(res.RecordTypeId == '01210000000QemGAAS'){
+                if(res.recordTypeId == '01210000000QemGAAS'){
                     ReportId({TypeName:'DealerVisitDetailsHospital'}).then(request => {
-                        window.open('/'+ request +'?pv='+res.Name)
+                        window.open('/'+ request +'?pv='+res.name)
                     })
                 } else {
                     ReportId({TypeName:'Agency_Activity'}).then(request => {
-                        window.open('/'+ request +'?pv='+ res.HospitalDepartmentClass +'&pv='+sectionApi)
+                        window.open('/'+ request +'?pv='+ res.hospitalDepartmentClass +'&pv='+sectionApi)
                     })
                 }
                 this.dispatchEvent(new CloseActionScreenEvent());
diff --git a/force-app/main/default/lwc/lexHosipitalToDept/lexHosipitalToDept.js b/force-app/main/default/lwc/lexHosipitalToDept/lexHosipitalToDept.js
index 9eb1c78..d114d07 100644
--- a/force-app/main/default/lwc/lexHosipitalToDept/lexHosipitalToDept.js
+++ b/force-app/main/default/lwc/lexHosipitalToDept/lexHosipitalToDept.js
@@ -26,21 +26,21 @@
     connectedCallback(){
         init({recordId:this.recordId}).then(res => {
             console.log(res,'<========res')
-            if(res.GiMain == ''){
+            if(res.giMain == ''){
                 this.showToast('璇峰~鍐橤I涓绘媴褰�','error');
-            }else if(res.BFowner == ''){
+            }else if(res.bfowner == ''){
                 this.showToast('璇峰~鍐橞F涓绘媴褰�','error');
-            }else if(res.ETowner == ''){
+            }else if(res.etowner == ''){
                 this.showToast('璇峰~鍐橢T涓绘媴褰�','error');
-            }else if(res.SPMain == ''){
+            }else if(res.spmain == ''){
                 this.showToast('璇峰~鍐橤S涓绘媴褰�','error');
-            }else if(res.UROownerID == ''){
+            }else if(res.uroownerID == ''){
                 this.showToast('璇峰~鍐橴RO涓绘媴褰�','error');
-            }else if(res.GYNowner == ''){
+            }else if(res.gynowner == ''){
                 this.showToast('璇峰~鍐橤YN涓绘媴褰�','error');
-            }else if(res.ENTownerID == ''){
+            }else if(res.entownerID == ''){
                 this.showToast('璇峰~鍐橢NT涓绘媴褰�','error');
-            }else if (confirm(res.SoakupHPDeptTeam)) {
+            }else if (confirm(res.soakupHPDeptTeam)) {
                 updataAccount({recordId:this.recordId,HosipitalToDept:true}).catch(err => {
                     this.showToast(err.body.message,'error');
                 })
diff --git a/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js b/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
index b3c6c34..6f32755 100644
--- a/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
+++ b/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
@@ -28,10 +28,10 @@
             console.log('result==========',result);
             this.IsLoading = false;
             if(result!=null){
-                if (result.DealerTypeSum == '鐗圭害缁忛攢鍟�') {
-                    if (result.MonthlyPayment == true) {
+                if (result.dealerTypeSum == '鐗圭害缁忛攢鍟�') {
+                    if (result.monthlyPayment == true) {
                         if (result.records.length > 0) {
-                            if (result.records[0].Status__c == '鑽夋涓�') {
+                            if (result.records[0].status__c == '鑽夋涓�') {
                                 this.showToast('宸叉彁浜よ崏绋胯灏藉揩鎻愪氦瀹℃壒','error');
                             } else {
                                 this.showToast('鏃犳硶鍒涘缓锛佸凡鏈夋湭鏈�缁堟壒鍑嗙殑鏁版嵁','error');
@@ -49,7 +49,7 @@
                                 },
                                 state:{
                                     defaultFieldValues:defaultFieldValues,
-                                    recordTypeId:result.RecordTypeId
+                                    recordTypeId:result.recordTypeId
                                 }
                             });
                         }
diff --git a/force-app/main/default/lwc/lexNewAgencyContract/lexNewAgencyContract.js b/force-app/main/default/lwc/lexNewAgencyContract/lexNewAgencyContract.js
index 306b0a5..8551c58 100644
--- a/force-app/main/default/lwc/lexNewAgencyContract/lexNewAgencyContract.js
+++ b/force-app/main/default/lwc/lexNewAgencyContract/lexNewAgencyContract.js
@@ -26,7 +26,7 @@
     connectedCallback(){
         UserInfo_Owner().then(res => {
             console.log('result===>',res)
-            if (res.id == '00510000002YSBIAA4' || res.ProfileId == '00e10000000Y3o5AAC') {
+            if (res.id == '00510000002YSBIAA4' || res.profileId == '00e10000000Y3o5AAC') {
                 this.showToast('浼氳嚜鍔ㄥ垎閰嶆柊寤哄悎鍚岀殑瀹㈡埛缂栫爜锛屼繚鐣欐棫缂栫爜鐨勬椂鍊欒鐢ㄥ鍒跺悎鍚屻��','success');
                 const defaultFieldValues = encodeDefaultFieldValues({
                     Agent_Ref__c:this.recordId,
@@ -39,7 +39,7 @@
                     },
                     state:{
                         defaultFieldValues:defaultFieldValues,
-                        recordTypeId:res.RecordTypeId
+                        recordTypeId:res.recordTypeId
                     }
                 });
             } else {
diff --git a/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js b/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
index b7c1329..a7bb91b 100644
--- a/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
+++ b/force-app/main/default/lwc/lexQuolifiedApplySPO/lexQuolifiedApplySPO.js
@@ -28,13 +28,13 @@
         init({recordId:this.recordId}).then(res => {
             console.log('result======>',res)
             if(res != null){
-                if (res.IsActive != '鏈夊姽' && res.IsActive != '鏈夋晥') {
+                if (res.isActive != '鏈夊姽' && res.isActive != '鏈夋晥') {
                     this.showToast("鍖婚櫌鏈夋晥鍚庢墠鍙互璧勮川瀹℃壒銆�",'error');
                     return;
                 }
                 
-                var job = res.JobCategory;
-                var profileId = res.ProfileId;
+                var job = res.jobCategory;
+                var profileId = res.profileId;
                 
                 if (job != '鏀彺' && job != '閿�鍞帹骞�' && job != '閿�鍞湇鍔�' && profileId != '00e10000000Nab7') {
                     this.showToast("蹇呴』鑱岀鏄敮鎻达紝閿�鍞帹骞�,閿�鍞湇鍔″拰鐗圭害搴楃獥鍙g殑鐢ㄦ埛鎵嶅彲浠ユ彁浜よ祫璐�!",'error');
diff --git a/force-app/main/default/lwc/lexSendRepairsToEtQ/lexSendRepairsToEtQ.js b/force-app/main/default/lwc/lexSendRepairsToEtQ/lexSendRepairsToEtQ.js
index 82f115d..64a66f8 100644
--- a/force-app/main/default/lwc/lexSendRepairsToEtQ/lexSendRepairsToEtQ.js
+++ b/force-app/main/default/lwc/lexSendRepairsToEtQ/lexSendRepairsToEtQ.js
@@ -111,7 +111,7 @@
                     btns[i].disabled = true;
                     btns[i].className = 'btnDisabled';
                 }
-                alert('璇ヤ慨鐞嗕箣鍓嶅凡缁忓彂閫佽繃浜�');
+                this.ShowToastEvent('璇ヤ慨鐞嗕箣鍓嶅凡缁忓彂閫佽繃浜�','error');
             } else {
                 this.SendRepairsToEtQ();
             }
@@ -123,12 +123,12 @@
     // 鍙戦�丒TQ
     SendRepairsToEtQ() {
         if (this.profileName != "2F7_OSH鎷呭綋" && this.profileName != "2F7_OSH璐ㄩ噺娉曡" && this.profileName != '绯荤粺绠$悊鍛�') {
-            alert("鎮ㄦ病鏈夊彂閫佷慨鐞嗗埌EtQ鐨勬潈闄愩��");
+            this.ShowToastEvent("鎮ㄦ病鏈夊彂閫佷慨鐞嗗埌EtQ鐨勬潈闄愩��",'error');
             return;
         }
         var statu = '';
         if (this.PAEDetermineC == undefined) {
-            alert("OCSM QARA鐨凱AE鍒ゅ畾鏄┖鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ銆�");
+            this.ShowToastEvent("OCSM QARA鐨凱AE鍒ゅ畾鏄┖鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ銆�",'error');
             return;
         }
         if (this.ETQUPLOADSTATUSC == "3") {
@@ -137,7 +137,7 @@
             }
         }
         if (this.PAEDetermineC == "nonPAE" && this.AEDetermineResultC == "nonAE" && this.PAEDetermineACC == "nonPAE" && this.userName != "闆� 鏂板缓") {
-            alert("Close Complait鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ");
+            this.ShowToastEvent("Close Complait鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ",'error');
             return;
         }
         if (this.PAEDetermineC != undefined && this.AEDetermineResultC != undefined && this.PAEDetermineACC == undefined) {
@@ -146,11 +146,11 @@
             !(this.PAEDetermineC == "nonPAE" && this.AEDetermineResultC == "nonAE" && this.PAEDetermineACC == "nonPAE")) {
             statu = "R2";
             if (this.RepairInspectionDateC == undefined) {
-                alert("5.淇悊妫�娴嬫棩鏄┖鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ銆�");
+                this.ShowToastEvent("5.淇悊妫�娴嬫棩鏄┖鐨勬椂鍊欙紝涓嶅彲浠ュ彂閫佸埌EtQ銆�",'error');
                 return;
             }
             if (this.ContainUseRSAC == 1) {
-                alert("Final universal code涓虹┖锛屾垨鑰呭寘鍚玌seRSA锛岃纭銆�");
+                this.ShowToastEvent("Final universal code涓虹┖锛屾垨鑰呭寘鍚玌seRSA锛岃纭銆�",'error');
                 return;
             }
         }
@@ -167,7 +167,8 @@
                 repairIds: repairids,
                 statu: statuArr[0]
             }).then(result => {
-                alert(result);
+                this.ShowToastEvent(result,'error');
+                this.dispatchEvent(new CloseActionScreenEvent());
                 location.reload();
             })
 
@@ -177,7 +178,7 @@
                 btns[i].className = 'btnDisabled';
             }
         } catch (error) {
-            alert("鍙戦�佷慨鐞嗗埌EtQ澶辫触" + error.faultstring + ' code:' + error.faultcode);
+            this.ShowToastEvent("鍙戦�佷慨鐞嗗埌EtQ澶辫触" + error.faultstring + ' code:' + error.faultcode,'error');
         }
     }
 
diff --git a/force-app/main/default/lwc/lexSoakupTeam/lexSoakupTeam.js b/force-app/main/default/lwc/lexSoakupTeam/lexSoakupTeam.js
index f4d60e9..93be297 100644
--- a/force-app/main/default/lwc/lexSoakupTeam/lexSoakupTeam.js
+++ b/force-app/main/default/lwc/lexSoakupTeam/lexSoakupTeam.js
@@ -22,7 +22,7 @@
 	}
     connectedCallback(){
         init({recordId:this.recordId}).then(res => {
-            if (confirm(res.ConfirmSoakupHPDeptTeam)) {
+            if (confirm(res.confirmSoakupHPDeptTeam)) {
                 execute({deptClassId: res.id}).then(rep => {
                     if (rep != 'OK') {
                         this.showToast(rep,'error');
diff --git a/force-app/main/default/lwc/lexSubmitAndRefresh/lexSubmitAndRefresh.js b/force-app/main/default/lwc/lexSubmitAndRefresh/lexSubmitAndRefresh.js
index 3b5e285..4e7c9d0 100644
--- a/force-app/main/default/lwc/lexSubmitAndRefresh/lexSubmitAndRefresh.js
+++ b/force-app/main/default/lwc/lexSubmitAndRefresh/lexSubmitAndRefresh.js
@@ -25,12 +25,12 @@
 		init({Id:this.recordId}).then(result=>{
 			console.log('init result==========',result);
 			if(result!=null){
-                if (result.Isuploadfile == '0') {
+                if (result.isuploadfile == '0') {
                     this.showToast('璇蜂笂浼犲鎴峰彉鏇寸敵璇蜂俊鎭檮浠�','error');
                     return;
                 }
-                var accname=result.HospitalName.substr(-2,2);
-                if((accname =='鍏徃' || accname =='闆嗗洟') && result.AttributeType !='浼佷笟闆嗗洟'){
+                var accname=result.hospitalName.substr(-2,2);
+                if((accname =='鍏徃' || accname =='闆嗗洟') && result.attributeType !='浼佷笟闆嗗洟'){
                     this.showToast('瀹㈡埛涓哄叕鍙告垨闆嗗洟锛屽尰闄㈡�ц川涓嶆槸浼佷笟闆嗗洟锛岃鏍稿疄鍖婚櫌鎬ц川锛岀‘璁ゆ槸鍚︽彁浜わ紵','error');
                 }
                 if (!confirm("涓�鏃︽彁浜ゆ璁板綍浠ュ緟鎵瑰噯锛屾牴鎹偍鐨勮缃偍鍙兘涓嶅啀鑳藉缂栬緫姝よ褰曟垨灏嗕粬浠庢壒鍑嗚繃绋嬩腑璋冨洖銆傛槸鍚︾户缁紵")) {
diff --git a/force-app/main/default/lwc/lexSubmitAndRefreshAccount/lexSubmitAndRefreshAccount.js b/force-app/main/default/lwc/lexSubmitAndRefreshAccount/lexSubmitAndRefreshAccount.js
index a25c176..6d1d06c 100644
--- a/force-app/main/default/lwc/lexSubmitAndRefreshAccount/lexSubmitAndRefreshAccount.js
+++ b/force-app/main/default/lwc/lexSubmitAndRefreshAccount/lexSubmitAndRefreshAccount.js
@@ -26,29 +26,29 @@
     connectedCallback(){
         init({recordId:this.recordId}).then(res => {
             console.log(res,'<========res')
-            if(res.GiMain == ''){
+            if(res.giMain == ''){
                 this.showToast('璇峰~鍐橤I涓绘媴褰�','error');
-            }else if(res.BFowner == ''){
+            }else if(res.bfowner == ''){
                 this.showToast('璇峰~鍐橞F涓绘媴褰�','error');
-            }else if(res.ETowner == ''){
+            }else if(res.etowner == ''){
                 this.showToast('璇峰~鍐橢T涓绘媴褰�','error');
-            }else if(res.SPMain == ''){
+            }else if(res.spmain == ''){
                 this.showToast('璇峰~鍐橤S涓绘媴褰�','error');
-            }else if(res.UROownerID == ''){
+            }else if(res.uroownerID == ''){
                 this.showToast('璇峰~鍐橴RO涓绘媴褰�','error');
-            }else if(res.GYNowner == ''){
+            }else if(res.gynowner == ''){
                 this.showToast('璇峰~鍐橤YN涓绘媴褰�','error');
-            }else if(res.ENTownerID == ''){
+            }else if(res.entownerID == ''){
                 this.showToast('璇峰~鍐橢NT涓绘媴褰�','error');
             }
             if('{!Account.Tender_information__c}' !=''){
 
-            }else if (res.Isuploadfile == '0' || res.Isuploadfile == false) {
+            }else if (res.isuploadfile == '0' || res.isuploadfile == false) {
                 this.showToast('璇蜂笂浼犲尰闄俊鎭檮浠�','error');
                 return;
             }
-            var accname=res.Name.substr(-2,2);
-            if((accname =='鍏徃' || accname =='闆嗗洟') && res.AttributeType !='浼佷笟闆嗗洟'){
+            var accname=res.name.substr(-2,2);
+            if((accname =='鍏徃' || accname =='闆嗗洟') && res.attributeType !='浼佷笟闆嗗洟'){
                 this.showToast('瀹㈡埛涓哄叕鍙告垨闆嗗洟锛屽尰闄㈡�ц川涓嶆槸浼佷笟闆嗗洟锛岃鏍稿疄鍖婚櫌鎬ц川锛岀‘璁ゆ槸鍚︽彁浜わ紵','success');
             }
             if (!confirm("涓�鏃︽彁浜ゆ璁板綍浠ュ緟鎵瑰噯锛屾牴鎹偍鐨勮缃偍鍙兘涓嶅啀鑳藉缂栬緫姝よ褰曟垨灏嗕粬浠庢壒鍑嗚繃绋嬩腑璋冨洖銆傛槸鍚︾户缁紵")) {
diff --git a/force-app/main/default/pages/taskAlert.page b/force-app/main/default/pages/taskAlert.page
index f642cc1..1ace75b 100644
--- a/force-app/main/default/pages/taskAlert.page
+++ b/force-app/main/default/pages/taskAlert.page
@@ -262,8 +262,8 @@
             <!--鏈帴鍙椾换鍔�-->  
             <apex:outputPanel rendered = "{!if( feedbackNumber > 0, 'true','false')}" style="font-weight: bold;font-family:  \'Microsoft YaHei\';" > 
                 <h3> 
-                <apex:outputText value ="{!if( UnfinishedTaskNumber > 0, ',' , if( myTaskNumber > 0, ',' , if(feedbackNumber>0,',','')))}"/>
-                &nbsp;&nbsp;
+                <!-- <apex:outputText value ="{!if( UnfinishedTaskNumber > 0, ',' , if( myTaskNumber > 0, ',' , if(feedbackNumber>0,',','')))}"/>
+                &nbsp;&nbsp; -->
                 <apex:outputText style="font-family: Microsoft YaHei" value ="{!if(feedbackNumber > 0,'寰呭弽棣堜换鍔�','')}"/>
                 <a href="javascript:return null;" onclick="window.open('/apex/taskFeedback','_blank')"><font size="4" color="red">({!feedbackNumber}涓�)</font></a>
                 <apex:outputText value ="{!if( feedbackNumber > 0 , ',' , '')}"/>

--
Gitblit v1.9.1