{% extends 'base.html' %} {% block content %}

{{ wf.label }}

{{ obj.label }} · 记录 {{ rid }}

返回列表
{% set states={'pending':'审核中','approved':'已通过','rejected':'已驳回','withdrawn':'已撤回'} %}

当前状态:{{ states.get(instance.state,'未提交') if instance else '未提交' }}

{% if step %}

当前环节:{{ step.label }} · {{ step.roles|join('、') }} · {{ '全部角色通过' if step.mode=='all' else '任一角色通过' }}

{% endif %} {% if error %}{% endif %}
{% if can_submit and (not instance or instance.state in ['rejected','withdrawn']) %}{% endif %} {% if can_review %}{% endif %} {% if can_withdraw and instance.state=='pending' %}{% endif %}

审核中和已通过的记录不能修改或删除;需要修改时,先由提交人撤回待审记录。

审批记录

{% for e in events %}{% else %}{% endfor %}
时间(北京时间)处理人动作说明轮次
{{ e.created_at|cn_time }}{{ e.username }}{{ {'submit':'提交','approve':'通过','reject':'驳回','withdraw':'撤回'}.get(e.action,e.action) }}{{ e.comment }}{{ e.cycle }}
尚无审批记录
{% endblock %}