19626
2023-07-12 fbd4bea7bd57b4d4a33cb9ed0ebc15d9bf6551c0
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;