| | |
| | | |
| | | //替换vlookup |
| | | var newSearchContactWindow = null; |
| | | window.onload = () => { |
| | | window.onload = function () { |
| | | document.getElementById("tab01").style.height = screen.availHeight*0.07+'px'; |
| | | document.getElementById("tab02").style.height = screen.availHeight*0.53+'px'; |
| | | document.getElementById("tab03").style.height = screen.availHeight*0.25+'px'; |
| | |
| | | let divs = j$(e).find("div.message"); |
| | | for (let i = 0; i < divs.length; i++) { |
| | | for (let j = 0; j < divs[i].classList.length; j++) { |
| | | for(let cls of divs[i].classList){ |
| | | for(let cls in divs[i].classList){ |
| | | if (cls.indexOf('error')>-1) { |
| | | return true; |
| | | } |
| | |
| | | for(var i=0;i<tableDataStr.length;i++){ |
| | | if(tableDataStr[i].address.Contacts__r){ |
| | | correct++; |
| | | AWSService.queryRepair(staticResource.queryUrl,tableDataStr[i].address.AWS_Data_Id__c,tableDataStr[i].address.Id,tableDataStr[i].address.Contacts__r.AWS_Data_Id__c,searchCallBack,staticResource.token); |
| | | AWSService.queryRepair(staticResource.queryUrl, |
| | | tableDataStr[i].address.AWS_Data_Id__c, |
| | | tableDataStr[i].address.Id, |
| | | tableDataStr[i].address.Contacts__r.AWS_Data_Id__c, |
| | | searchCallBack, |
| | | staticResource.token); |
| | | } |
| | | } |
| | | var interval=self.setInterval(function (){ |
| | |
| | | <td align="left" style="vertical-align: inherit;border-width: 0px 1px 1px 0px;"> |
| | | <apex:outputText value="{!or.address.Detailed_Address__c}" /> |
| | | </td> |
| | | <td align="center" style="vertical-align: inherit;width:30px;"> |
| | | <!-- <td align="center" style="vertical-align: inherit;width:30px;"> |
| | | <apex:commandButton value=" 编辑 " onclick="onEditorJs('{!or.address.id}');return false;" style="background:#98c1fbf7;display:{!or.canEdit};"/> |
| | | </td> |
| | | </td> --> |
| | | <td align="center" style="vertical-align: inherit;width:30px;"> |
| | | <apex:commandButton value=" 复制 " onclick="onCopyJs('{!or.address.id}');return false;" style="background: #98c1fbf7;display:{!or.canCopy};"/> |
| | | </td> |
| | |
| | | </apex:outputPanel> |
| | | </apex:pageblocksection> |
| | | </apex:pageBlock> |
| | | |
| | | </div> |
| | | <div id="tab03"> |
| | | <apex:pageBlock id="oppBlock2" tabStyle="Report"> |
| | |
| | | </script> |
| | | </apex:pageBlock> |
| | | </div> |
| | | |
| | | </apex:form> |
| | | <apex:outputPanel id="checEventFrame"> |
| | | <script type="text/javascript"> |