buli
2023-07-06 e14fbae6e20ac06c7867d433d115cafc4ded6390
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>