| | |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <style> |
| | | .decrypt{ |
| | | position: relative; |
| | | text-align: left; |
| | | display: block; |
| | | margin-left: 5px; |
| | | margin-top: -5px; |
| | | } |
| | | </style> |
| | | <script type="text/javascript"> |
| | | |
| | | // 2022/02/15 张华建 改造PI start |
| | |
| | | window.close(); |
| | | } |
| | | |
| | | function showPIDiv(awsDataId){ |
| | | console.log('awsDataId Value:'+awsDataId); |
| | | let parentNode = document.getElementById(awsDataId); |
| | | let createDiv = document.createElement("div"); |
| | | createDiv.id = awsDataId+"_PI"; |
| | | function showPIDiv(dataId,awsDataId){ |
| | | // console.log('awsDataId Value:'+awsDataId); |
| | | // let parentNode = document.getElementById(awsDataId); |
| | | // let createDiv = document.createElement("div"); |
| | | // createDiv.id = awsDataId+"_PI"; |
| | | // let piInformation = 'Name:'+contact[awsDataId].lastName +'\n' +'Phone:'+contact[awsDataId].phone |
| | | // //let piInformation = 'Name:'+contact['943114607025717249'].lastName +'\n' +'Phone:'+contact['943114607025717249'].phone |
| | | // createDiv.innerText = piInformation; |
| | | // let x=window.event.x; |
| | | // let y=window.event.y; |
| | | // createDiv.style.left=x; |
| | | // createDiv.style.top=y; |
| | | // createDiv.style.background="#dddddd"; |
| | | // createDiv.style.position = "absolute"; |
| | | // parentNode.appendChild(createDiv); |
| | | console.log('dataId:'+dataId+'awsDataId Value:'+awsDataId); |
| | | let piInformation = 'Name:'+contact[awsDataId].lastName +'\n' +'Phone:'+contact[awsDataId].phone |
| | | //let piInformation = 'Name:'+contact['943114607025717249'].lastName +'\n' +'Phone:'+contact['943114607025717249'].phone |
| | | createDiv.innerText = piInformation; |
| | | let x=window.event.x; |
| | | let y=window.event.y; |
| | | createDiv.style.left=x; |
| | | createDiv.style.top=y; |
| | | createDiv.style.background="#dddddd"; |
| | | createDiv.style.position = "absolute"; |
| | | parentNode.appendChild(createDiv); |
| | | document.getElementById(dataId+'_'+awsDataId).innerText = piInformation; |
| | | } |
| | | |
| | | function hidePIDiv(awsDataId){ |
| | | document.getElementById(awsDataId+'_PI').remove(); |
| | | function hidePIDiv(dataId,awsDataId){ |
| | | // document.getElementById(awsDataId+'_PI').remove(); |
| | | document.getElementById(dataId+'_'+awsDataId).innerText = ''; |
| | | } |
| | | |
| | | // 2022年2月15日 PI改造 徐亮 start |
| | |
| | | </td> |
| | | <!-- <td><a href="#" onclick="setContact('{!lineinfo.lineNo}');" id="943114607025717249" onmouseover="showPIDiv('943114607025717249')" onmouseout="hidePIDiv('943114607025717249')">{!lineinfo.con.Name}</a></td> --> |
| | | <!-- 2022/02/15 张华建 解密信息 start --> |
| | | <td><a href="#" onclick="setContact('{!lineinfo.lineNo}','{!lineinfo.con.AWS_Data_Id__c}');" id="{!lineinfo.con.AWS_Data_Id__c}" onmouseover="showPIDiv('{!lineinfo.con.AWS_Data_Id__c}')" onmouseout="hidePIDiv('{!lineinfo.con.AWS_Data_Id__c}')">{!lineinfo.con.Name}</a></td> |
| | | <td> |
| | | <a href="#" onclick="setContact('{!lineinfo.lineNo}','{!lineinfo.con.AWS_Data_Id__c}');" id="{!lineinfo.con.AWS_Data_Id__c}" onmouseover="showPIDiv('{!lineinfo.con.id}','{!lineinfo.con.AWS_Data_Id__c}')" onmouseout="hidePIDiv('{!lineinfo.con.id}','{!lineinfo.con.AWS_Data_Id__c}')"> |
| | | {!lineinfo.con.Name} |
| | | </a> |
| | | <span id="{!lineinfo.con.id}_{!lineinfo.con.AWS_Data_Id__c}" class="decrypt"></span> |
| | | </td> |
| | | <!-- 2022/02/15 张华建 解密信息 end --> |
| | | <td>{!lineinfo.con.AccountName__c}</td> |
| | | <td><input style="width:90%;" type="button" value="编辑" onclick="editContactJs('{!lineinfo.con.Id}'); return null;" /></td> |