19626
2023-04-06 bbc7c47e3eadfe0ae3ac57419b1c9b8b2ed3e3d4
force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
@@ -16,6 +16,22 @@
    profileId;
    Isloading = true;
    @wire(CurrentPageReference)
    getStateParameters(currentPageReference) {
            console.log(111);
            console.log(currentPageReference);
        if (currentPageReference) {
          const urlValue = currentPageReference.state.recordId;
          if (urlValue) {
            let str = `${urlValue}`;
            console.log("str");
            console.log(str);
            this.recordId = str;
          }
        }
    }
    connectedCallback(){
        console.log(this.recordId);
@@ -63,11 +79,13 @@
                return;
            }
            if (this.status != "跟进中") {
                alert("不是跟进中不能点击");
                this.showToast("不是跟进中不能点击","error");
                this.dispatchEvent(new CloseActionScreenEvent());
                return;
            }
            if (this.isVOC == undefined) {
                alert("必须选择是否VOC");
                this.showToast("必须选择是否VOC","error");
                this.dispatchEvent(new CloseActionScreenEvent());
                return;