| | |
| | | * @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: |
| | |
| | | * @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'; |
| | |
| | | ownerId; |
| | | selectedRecordTypeId; |
| | | IsLoading = true; |
| | | @track recordTypeOptions; |
| | | @wire(getObjectInfo, { objectApiName: 'On_Line_Survey__c' }) |
| | | objectInfo({ error, data }) { |
| | | if (data) { |
| | |
| | | init({ |
| | | recordId: this.recordId |
| | | }).then(result=>{ |
| | | console.log(result); |
| | | this.date = result.datec; |
| | | this.practitioner1 = result.practitioner1; |
| | | this.ownerId = result.ownerId; |