unknown
2023-08-23 50ce6a5e5ae7ac6ce3e6281acca9a0db568306e6
force-app/main/default/lwc/lexInquiryFormNoStatus/lexInquiryFormNoStatus.js
@@ -1,3 +1,10 @@
/*
 * @Author: zhangchunxu
 * @Date: 2023-05-24 17:26:09
 * @LastEditors: zhangchunxu
 * @LastEditTime: 2023-08-02 10:28:57
 *
 */
import { LightningElement,wire,track,api} from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
import { CloseActionScreenEvent } from 'lightning/actions';
@@ -23,7 +30,7 @@
        init({
            recordId: this.recordId
        }).then(result => {
            this.Status = result.Statusl;
            this.Status = result.Status;
            this.IsLoading = false;
            this.NoStatus();
            this.dispatchEvent(new CloseActionScreenEvent());
@@ -33,7 +40,7 @@
    NoStatus(){
        if(this.Status != '04.已建意向'){
            window.open ('/apex/StatusPage?id='+this.recordId , '不需要的理由',
    'height=400, width=700, top=200, left=400, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
    'height=400, width=890, top=200, left=230, toolbar=no, menubar=no, scrollbars=no, location=no, status=no');
        }else {
        // alert('已经有意向了,不能执行此操作。');
        this.showToast("已经有意向了,不能执行此操作。","error")