| | |
| | | connectedCallback(){ |
| | | init({recordId:this.recordId}).then(res => { |
| | | console.log(res,'<========res') |
| | | if(res.GiMain == ''){ |
| | | if(res.giMain == ''){ |
| | | this.showToast('请填写GI主担当','error'); |
| | | }else if(res.BFowner == ''){ |
| | | }else if(res.bfowner == ''){ |
| | | this.showToast('请填写BF主担当','error'); |
| | | }else if(res.ETowner == ''){ |
| | | }else if(res.etowner == ''){ |
| | | this.showToast('请填写ET主担当','error'); |
| | | }else if(res.SPMain == ''){ |
| | | }else if(res.spmain == ''){ |
| | | this.showToast('请填写GS主担当','error'); |
| | | }else if(res.UROownerID == ''){ |
| | | }else if(res.uroownerID == ''){ |
| | | this.showToast('请填写URO主担当','error'); |
| | | }else if(res.GYNowner == ''){ |
| | | }else if(res.gynowner == ''){ |
| | | this.showToast('请填写GYN主担当','error'); |
| | | }else if(res.ENTownerID == ''){ |
| | | }else if(res.entownerID == ''){ |
| | | this.showToast('请填写ENT主担当','error'); |
| | | }else if (confirm(res.SoakupHPDeptTeam)) { |
| | | }else if (confirm(res.soakupHPDeptTeam)) { |
| | | updataAccount({recordId:this.recordId,HosipitalToDept:true}).catch(err => { |
| | | this.showToast(err.body.message,'error'); |
| | | }) |