| | |
| | | |
| | | //替换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; |
| | | } |
| | |
| | | PIData[Id] = temp; |
| | | }; |
| | | for(var i=0;i<tableDataStr.length;i++){ |
| | | if(tableDataStr[i].address.AWS_Data_Id__c){ |
| | | 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 (){ |