高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
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
<apex:component access="global" controller="InspectionRemindController">
    <apex:attribute name="targetId" assignTo="{!taId}" description="" type="Id" required="false" />
    <html>
    <head>{!init}</head>
        <body>
            <table border="1" cellspacing="0" width="40%" >
                <tr>
                    <th>设备号</th>
                    <th>设备类型</th>
                </tr>
                
                <apex:repeat value="{!BodyList}" var="b">
                    <tr>
                        <td>
                            <apex:outputText value="{!b.ProductSerialNo}"/>
                        </td>
                        <td>
                            <apex:outputText value="{!b.AssetModelNo}"/>                 
                        </td>
                    </tr>
                </apex:repeat>
            </table>
        </body>
    </html>
</apex:component>