buli
2023-06-05 3962c2bb0435484b60a3e408e4738d792e249a53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<apex:component access="global" controller="TransferApplyDetailController">
    <apex:attribute name="targetId" assignTo="{!taId}" description="" type="Id" required="false" />
    <apex:attribute name="targetType" assignTo="{!varType}" description="" type="String" required="false" />
    <apex:attribute name="targetGatherName" assignTo="{!gatherName}" description="" type="String" required="false" />
    <html>
        <head>{!init}</head>
        <body>
            <table border="1" cellspacing="0" width="80%" >
                <tr class="headerRow">
                    <apex:repeat value="{!title}" var="t">
                        <th>{!t}</th>
                    </apex:repeat>
                </tr>
                <apex:repeat value="{!tadList}" var="tad">
                <tr>
                    <apex:repeat value="{!column}" var="c">
                        <td>
                            <apex:outputPanel layout="none" rendered="{!IF(c=='Main_OneToOne__c'|| c=='Loaner_accsessary__c',false , true)}">
                            <apex:outputField value="{!tad[c]}"/>
                            </apex:outputPanel>
                            <apex:outputPanel layout="none" rendered="{!IF(c=='Main_OneToOne__c'|| c=='Loaner_accsessary__c',true , false)}">
                                <apex:outputPanel layout="none" rendered="{!IF(tad[c],false , true)}">
                                <img src="{!$Label.Environment_Url}/img/checkbox_unchecked.gif" width="21" height="16" class="checkImg" title="未选取的"/>
                                </apex:outputPanel>
                                <apex:outputPanel layout="none" rendered="{!IF(tad[c],true , false)}">
                                <img src="{!$Label.Environment_Url}/img/checkbox_checked.gif" width="21" height="16" class="checkImg" title="选取的"/>
                                </apex:outputPanel>
                            </apex:outputPanel>
                        </td>
                    </apex:repeat>
                </tr>
                </apex:repeat>
            </table>
        </body>
    </html>
</apex:component>