From fbd4bea7bd57b4d4a33cb9ed0ebc15d9bf6551c0 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 12 七月 2023 17:54:54 +0800
Subject: [PATCH] 近日更新按钮,页面以及apex类
---
force-app/main/default/lwc/lexNewOnLineSurvey/lexNewOnLineSurvey.js | 6 ++++--
1 files changed, 4 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..c4a2a1c 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-07-07 09:12:29
*/
/*
* @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) {
@@ -60,6 +61,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