彭锟
2022-03-31 1d6137b0386b062dffee16c2edb8087c71cbebc3
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>