FUYU
2023-05-19 559771a80cf779dc13a84ecd2f178e6ca5a8353a
force-app/main/default/pages/SearchContactPage.page
@@ -83,8 +83,19 @@
                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();
            }