张宇恒
2022-04-08 0787d2b3c5d4b12af4218a32323250aa9891246a
1
2
3
4
5
6
7
8
<apex:component controller="ApprovalResultController" access="global" allowDML="true">
    <apex:attribute name="showComponent" description="approval comments" type="String"/>
    <apex:attribute name="objId" description="approval comments" type="String" assignTo="{!targetObjId}"/>
    <apex:outputPanel rendered="{!showComponent == 'Comments'}">
        <!-- 审批意见: -->
        {!comments}
    </apex:outputPanel>
</apex:component>