From 2b1b6682383891a60e149f2f7d40f737e462e24f Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期五, 02 六月 2023 17:53:55 +0800
Subject: [PATCH] 1

---
 force-app/main/default/lwc/lexEquipmentRentalApply_FromQIS2/lexEquipmentRentalApply_FromQIS2.js |   26 +++++++++++++-------------
 force-app/main/default/lwc/lexEquipmentRentalApply_FromSA/lexEquipmentRentalApply_FromSA.js     |   20 ++++++++++----------
 2 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/force-app/main/default/lwc/lexEquipmentRentalApply_FromQIS2/lexEquipmentRentalApply_FromQIS2.js b/force-app/main/default/lwc/lexEquipmentRentalApply_FromQIS2/lexEquipmentRentalApply_FromQIS2.js
index 55736c9..7f74e42 100644
--- a/force-app/main/default/lwc/lexEquipmentRentalApply_FromQIS2/lexEquipmentRentalApply_FromQIS2.js
+++ b/force-app/main/default/lwc/lexEquipmentRentalApply_FromQIS2/lexEquipmentRentalApply_FromQIS2.js
@@ -1,9 +1,9 @@
 import { LightningElement,wire,track,api} from 'lwc';
 import { CurrentPageReference, NavigationMixin} from "lightning/navigation";
 import { CloseActionScreenEvent } from 'lightning/actions';
-import  init  from '@salesforce/apex/lexEquipmentRentalApply_FromQISCtl.rentalApp';
-import  rentalApp  from '@salesforce/apex/lexEquipmentRentalApply_FromQISCtl.init';
-import UserInfo_Owner from '@salesforce/apex/lexEquipmentRentalApply_FromQISCtl.UserInfo_Owner';
+import  init  from '@salesforce/apex/LexEquipmentRentalApply_FromQISCtl.rentalApp';
+import  rentalApp  from '@salesforce/apex/LexEquipmentRentalApply_FromQISCtl.init';
+import UserInfo_Owner from '@salesforce/apex/LexEquipmentRentalApply_FromQISCtl.UserInfo_Owner';
 import { ShowToastEvent } from 'lightning/platformShowToastEvent';
 import { encodeDefaultFieldValues } from 'lightning/pageReferenceUtils';
 
@@ -78,17 +78,17 @@
                         }else{
                             const defaultValues = encodeDefaultFieldValues({
 								QIS_Report__c: this.recordId,
-								Hospital: result.hospital,
-								Strategic_dept: result.departmentClass,
-                                Account:result.hospitalDepartment,
-                                Demo_purpose1:'缁翠慨浠g敤',
-                                demo_purpose2:'绱㈣禂QIS',
+								Hospital__c: result.hospital,
+								Strategic_dept__c: result.departmentClass,
+                                Account__c:result.hospitalDepartment,
+                                Demo_purpose1__c:'缁翠慨浠g敤',
+                                demo_purpose2__c:'绱㈣禂QIS',
                                 Name:'*',
-                                Person_In_Charge:res.lastName + res.firstName,
-                                applyUser:res.lastName + res.firstName,
-                                Loaner_received_staff:res.lastName + res.firstName,
-                                QIS_number:result.name,
-                                QISRepair:result.repair
+                                Person_In_Charge__c:res.lastName + res.firstName,
+                                applyUser__c:res.lastName + res.firstName,
+                                Loaner_received_staff__c:res.lastName + res.firstName,
+                                QIS_number__c:result.name,
+                                QISRepair__c:result.repair
 							});
 
 							this[NavigationMixin.Navigate]({
diff --git a/force-app/main/default/lwc/lexEquipmentRentalApply_FromSA/lexEquipmentRentalApply_FromSA.js b/force-app/main/default/lwc/lexEquipmentRentalApply_FromSA/lexEquipmentRentalApply_FromSA.js
index 0794680..7b0a7bb 100644
--- a/force-app/main/default/lwc/lexEquipmentRentalApply_FromSA/lexEquipmentRentalApply_FromSA.js
+++ b/force-app/main/default/lwc/lexEquipmentRentalApply_FromSA/lexEquipmentRentalApply_FromSA.js
@@ -51,18 +51,18 @@
                                 return;
                             }else{
                                 const defaultValues = encodeDefaultFieldValues({
-                                    Statu_Achievements: result.achievement,
+                                    Statu_Achievements__c: result.achievement,
                                     retURL:this.recordId,
-                                    Hospital: result.hospital,
+                                    Hospital__c: result.hospital,
                                     Name:'*',
-                                    Strategic_dept: result.departmentClass,
-                                    Account:result.oppClassName,
-                                    Demo_purpose1:'浜у搧璇曠敤',
-                                    demo_purpose2:'宸茶喘寰呰揣',
-                                    Person_In_Charge:res.lastName + res.firstName,
-                                    applyUser:res.lastName + res.firstName,
-                                    Loaner_received_staff:res.lastName + res.firstName,
-                                    Follow_UP_Opp:result.opportunity
+                                    Strategic_dept__c: result.departmentClass,
+                                    Account__c:result.oppClassName,
+                                    Demo_purpose1__c:'浜у搧璇曠敤',
+                                    demo_purpose2__c:'宸茶喘寰呰揣',
+                                    Person_In_Charge__c:res.lastName + res.firstName,
+                                    applyUser__c:res.lastName + res.firstName,
+                                    Loaner_received_staff__c:res.lastName + res.firstName,
+                                    Follow_UP_Opp__c:result.opportunity
                                 });
     
                                 this[NavigationMixin.Navigate]({

--
Gitblit v1.9.1