| | |
| | | let contactInfo = new Object(); |
| | | contactInfo.Name = obj.currentTarget.innerText; |
| | | contactInfo.ContactId = obj.currentTarget.id; |
| | | |
| | | //2022-5-7 yjk 增加邮箱、手机号 |
| | | var tdNodes = obj.currentTarget.parentNode.childNodes; |
| | | var email = tdNodes[2].innerText; |
| | | |
| | | var mobile = tdNodes[4].innerText; |
| | | var phone = mobile? mobile :tdNodes[3].innerText; |
| | | contactInfo.email = email; |
| | | contactInfo.phone = phone; |
| | | var selectedContactNode = winMain.document.getElementById('{!JSENCODE($CurrentPage.parameters.contactId)}'); |
| | | selectedContactNode.value = JSON.stringify(contactInfo); |
| | | |
| | | |
| | | closeWindow(); |
| | | } |
| | | |