{% extends "base.html" %} {% load format_tags %} {% block content %}

工单名称:{{ workflow_detail.title }}

    {% if user.username == workflow_detail.engineer %} 上线其他实例 {% endif %}
申请人 审批流程 当前审批 实例 权限级别 数据库 结果集 有效时间 申请时间 当前状态
{{ workflow_detail.user_display }} {{ audit_auth_group }} {{ current_audit_auth_group }} {{ workflow_detail.instance.instance_name }} {{ workflow_detail.get_priv_type_display }} {{ workflow_detail.db_list| slice:"32" }} {{ workflow_detail.limit_num }} {{ workflow_detail.valid_date }} {{ workflow_detail.create_time }} {% if workflow_detail.status == 0 %} 待审核 {% elif workflow_detail.status == 1 %} 审核通过 {% elif workflow_detail.status == 2 %} 审核不通过 {% elif workflow_detail.status == 3 %} 审核取消 {% endif %} {{ workflow_detail.group_name }}

{% if workflow_detail.priv_type == 1 %} 数据库清单 {% elif workflow_detail.priv_type == 2 %} 表清单 {% endif %}
{% if workflow_detail.priv_type == 1 %} {% format_str workflow_detail.db_list %} {% elif workflow_detail.priv_type == 2 %} {% format_str workflow_detail.table_list %} {% endif %}
{% if last_operation_info %}
操作信息
{{ last_operation_info }}

{% endif %} {% if workflow_detail.status == 0 %} {% if is_can_review %}
{% csrf_token %}
{% csrf_token %}
{% endif %} {% endif %} {% endblock content %} {% block js %} {% endblock %}