{% if record.is_check %} {% if record.type == 1 or record.type == 2 %} {% if perms.bee_django_user.update_type_cancel %} 销假 {% endif %} {% endif %} {% endif %}