| | |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-06-06 15:41:32 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-09-01 09:33:28 |
| | | * @LastEditTime: 2023-09-14 16:45:42 |
| | | */ |
| | | import { api, wire,LightningElement, track } from 'lwc'; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | |
| | | import LightningConfirm from 'lightning/confirm'; |
| | | import STATUS_FIELD from "@salesforce/schema/OpportunitySpecialApply__c.Status__c"; |
| | | import { refreshApex } from '@salesforce/apex'; |
| | | import lwcCSS from '@salesforce/resourceUrl/lwcCSS'; |
| | | import {loadStyle} from 'lightning/platformResourceLoader'; |
| | | export default class LexSpecSubmit extends LightningElement { |
| | | @wire(getRecord, { recordId: '$recordId', fields: [STATUS_FIELD] }) |
| | | record; |
| | |
| | | } |
| | | |
| | | connectedCallback(){ |
| | | Promise.all([ |
| | | loadStyle(this, lwcCSS) |
| | | ]); |
| | | init({ |
| | | recordId: this.recordId |
| | | }).then(result=>{ |