| | |
| | | import { LightningElement,wire,track,api} from 'lwc'; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | | import { CloseActionScreenEvent } from 'lightning/actions'; |
| | | import init from '@salesforce/apex/OppSubmitController.initSubmitButton'; |
| | | import init from '@salesforce/apex/ApplicationButtonController.initSubmitButton'; |
| | | import { updateRecord } from 'lightning/uiRecordApi'; |
| | | import { ShowToastEvent } from 'lightning/platformShowToastEvent'; |
| | | import submitCancel from '@salesforce/apex/OppSubmitController.submitCancel'; |
| | | import UserInfo_Owner from '@salesforce/apex/OppSubmitController.UserInfo_Owner'; |
| | | import submitCancel from '@salesforce/apex/ApplicationButtonController.submitCancel'; |
| | | import UserInfo_Owner from '@salesforce/apex/ApplicationButtonController.UserInfo_Owner'; |
| | | export default class CancelSubmit extends LightningElement { |
| | | @api recordId;//OwnerId |
| | | ownerId; |
| | |
| | | }) |
| | | } |
| | | |
| | | //授权申请 取消提交 |
| | | cancelSubmit(){ |
| | | UserInfo_Owner({}).then(result=>{ |
| | | if(this.ownerId == result.id){ |