| | |
| | | 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); |
| | |
| | | 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; |