<@t.page "start"/>
                
                <@sys.workflowProcessHistoryList processId=id pageSize=100>
                    <#list page.list as a>
                        <@t.merge 'stepIds' a.stepId!/>
                        <@t.merge 'userIds' a.userId!/>
                    #list>
                    
                    <@sys.workflowStep ids=t.stepIds!><#assign stepMap=map!/>@sys.workflowStep>
                    <@sys.user ids=t.userIds!><#assign userMap=map!/>@sys.user>
                    <#assign sort=-1/>
                    <#list page.list as a>
                        
                            ${(stepMap[a.stepId?string].name)!t.pageMessage('page.disabled')}
                            
                            ${(userMap[a.userId?string].nickname)!}:${a.reason!}
                        
                        <#assign sort=(stepMap[a.stepId?string].sort)!-1/>
                    #list>
                @sys.workflowProcessHistoryList>
                <@sys.workflowStepList workflowId=a.workflowId sort=sort pageSize=100>
                    <#list list as step>
            
                ${step.name}
                
                <#if step.roleId?has_content>
                    <@t.page 'role'/>:<@sys.role id=step.roleId;role>${role.name}@sys.role>
                <#elseif step.deptId?has_content>
                    <@t.page 'dept'/>:<@sys.dept id=step.deptId;dept>${dept.name}@sys.dept>
                <#elseif step.userId?has_content>
                    <@t.page 'user'/>:<@sys.user id=step.userId;user>${user.nickname}@sys.user>
                #if>
            
                    #list>
                @sys.workflowStepList>
                
                    
<@t.page "end"/>