| | |
| | | <apex:page controller="LookupController" id="pg" showheader="false" sidebar="false" title="{!title}" > |
| | | <apex:page controller="LookupController" id="pg" showheader="false" sidebar="false" title="{!title}" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.clipboardminjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <script type="text/javascript"> |
| | | |
| | | //搜索跳转 |
| | |
| | | border-color: #c4c4c4; |
| | | color: #909090; |
| | | } |
| | | |
| | | |
| | | </style> |
| | | <!-- form 表单 --> |
| | | <apex:form id="formId"> |
| | |
| | | <!-- table 表格列 精琢技术 wql 2021/04/01 start--> |
| | | |
| | | <apex:pageblock id="searchResults"> |
| | | |
| | | |
| | | <!-- PleaseJudge 下次调用时,需判断 --> |
| | | <apex:outputpanel rendered="{!IF(SObjectName == 'ModelLendingProduct__c', true, false)}"> |
| | | <apex:pageblocktable id="tblResults" value="{!ModelCode}" var="a"> |
| | |
| | | //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 |
| | | if(j$(escapeVfId('pg:formId:FirstPage'))[0].className.indexOf('btn')==0){ |
| | | j$(escapeVfId('pg:formId:FirstPage'))[0].classList.remove("btn"); |
| | | } |
| | | } |
| | | |
| | | } |
| | | //上一页 |
| | |
| | | //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 |
| | | if(j$(escapeVfId('pg:formId:previous'))[0].className.indexOf('btn')==0){ |
| | | j$(escapeVfId('pg:formId:previous'))[0].classList.remove("btn"); |
| | | } |
| | | } |
| | | } |
| | | //下一页 |
| | | if(j$(escapeVfId('pg:formId:next'))[0]){ |
| | |
| | | //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 |
| | | if(j$(escapeVfId('pg:formId:next'))[0].className.indexOf('btn')==0){ |
| | | j$(escapeVfId('pg:formId:next'))[0].classList.remove("btn"); |
| | | } |
| | | } |
| | | } |
| | | //尾页 |
| | | if(j$(escapeVfId('pg:formId:LastPage'))[0]){ |
| | |
| | | //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 |
| | | if(j$(escapeVfId('pg:formId:LastPage'))[0].className.indexOf('btn')==0){ |
| | | j$(escapeVfId('pg:formId:LastPage'))[0].classList.remove("btn"); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | if(window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingProductCodeId"))){ |
| | | window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingProductCodeId")).val(id); |
| | | } |
| | | |
| | | |
| | | //赋值到无报告页面 |
| | | if(window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingCodeId"))){ |
| | | window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingCodeId")).val(modelId); |
| | |
| | | //初始化去掉默认样式 |
| | | removeButtonStyle(); |
| | | </script> |
| | | </apex:page> |
| | | </apex:page> |