buli
2023-07-07 85f6fb6227a84936e192936ba480b4e03834df03
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>