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

{{ workflow_detail.workflow_name }}

    {% if user.username == workflow_detail.engineer %} 上线其他实例 {% endif %} {% if is_can_review or user.is_superuser %} 查看提交信息 {% endif %}
发起人 审批流程 当前审批 目标实例 数据库 发起时间 结束时间 备份 当前状态 类型
{{ workflow_detail.engineer_display }} {{ audit_auth_group }} {{ current_audit_auth_group }} {{ workflow_detail.instance.instance_name }} {{ workflow_detail.db_name }} {{ workflow_detail.create_time }} {{ workflow_detail.finish_time }} {% if workflow_detail.is_backup %} 是 {% else %} 否 {% endif %} {% if workflow_detail.status == "workflow_finish" %} {% else %} {% endif %} {{ workflow_detail.get_status_display }} {{ workflow_detail.group_name }} {{ workflow_detail.get_syntax_type_display }}

{% if last_operation_info %}
操作信息
{{ last_operation_info }}

{% endif %} {% if is_can_review or is_can_cancel %}
{% endif %} {% if is_can_review %}
{% csrf_token %}
{% endif %} {% if is_can_execute %}
{% csrf_token %}
{% endif %} {% if is_can_timingtask %} {% if workflow_detail.status == 'workflow_review_pass' %} {% elif workflow_detail.status == 'workflow_timingtask' %} {% endif %} {% endif %} {% if is_can_review or is_can_cancel %}
{% csrf_token %}
{% endif %} {% if workflow_detail.is_backup %} {% if workflow_detail.status == 'workflow_finish' or workflow_detail.status == 'workflow_exception' %}
{% csrf_token %}
{% endif %} {% endif %} {% if workflow_detail.status == 'workflow_autoreviewwrong' or workflow_detail.status == 'workflow_abort' or workflow_detail.status == 'workflow_exception' %} {% if user.username == workflow_detail.engineer %} {% csrf_token %} 重新修改 {% endif %} {% endif %}
{% endblock content %} {% block js %} {% load staticfiles %} {% endblock %}