From d29f75b84fccd06917fb8e2c2ee70e9d76f868cd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 11 四月 2024 20:15:54 +0800
Subject: [PATCH] 123
---
force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js b/force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js
index 915e1a1..09ec423 100644
--- a/force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js
+++ b/force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js
@@ -4,7 +4,7 @@
* @Author: chen jing wu
* @Date: 2023-06-29 13:45:26
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-06-29 16:43:33
+ * @LastEditTime: 2023-09-10 13:00:26
*/
/*
* @Description:
@@ -14,7 +14,7 @@
* @LastEditors: chen jing wu
* @LastEditTime: 2023-06-29 14:29:53
*/
-import { api, wire,LightningElement } from 'lwc';
+import { api, wire,LightningElement, track } from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
import { updateRecord } from 'lightning/uiRecordApi';
@@ -30,6 +30,7 @@
ownerId;
selectedRecordTypeId;
IsLoading = true;
+ @track recordTypeOptions;
@wire(getObjectInfo, { objectApiName: 'On_Line_Survey__c' })
objectInfo({ error, data }) {
if (data) {
@@ -38,6 +39,7 @@
value: rt.recordTypeId
}));
} else if (error) {
+ console.log(error);
// 澶勭悊鎿嶄綔澶辫触鐨勯敊璇�
}
}
@@ -60,6 +62,7 @@
init({
recordId: this.recordId
}).then(result=>{
+ console.log(result);
this.date = result.datec;
this.practitioner1 = result.practitioner1;
this.ownerId = result.ownerId;
--
Gitblit v1.9.1