{{ the_query.name }}
{% endblock %}
{% block content %}
{% if request.allow_menu.查询管理 or request.allow_menu.清除缓存 or request.allow_menu.查询_编辑 or request.allow_menu.查询管理 %}
{% if request.allow_menu.查询管理 or request.allow_menu.清除缓存 or request.allow_menu.查询_编辑 or request.allow_menu.查询管理 %}
查询列表->
{% if request.allow_menu.查询权限 %}
{% for item in same_log_key_query_list %}
{{ item.name }}
{% endfor %}
{% endif %}
{% endif %}
{{ the_query.name }}
{% if not is_center_query %}
{% with context_data=query_servers %}
{% include "analysis/widgets/query_server_select.html" %}
{% endwith %}
{% endif %}
{% if request.allow_menu.清除缓存 %}
清除缓存
{% endif %}
{% if request.allow_menu.查询_编辑 and the_query.id %}
编辑
{% endif %}
{% if request.allow_menu.查询管理 and the_query.id %}
返回
{% endif %}
{% endif %}
{% if has_conditions or has_other_conditions %}
{% include "analysis/widgets/datetime_picker.html" %}
{% for mark_name,condition_config in mark_conditions.items() %}
{% if condition_config and condition_config.get('template') %}
{% with context_data=query_compiler.get_context_func(mark_name)(request) %}
{% include condition_config['template'] %}
{% endwith %}
{% endif %}
{% endfor %}
{% for name,config,order_num in conditions_configs %}
{% if config.search and config.name %}
{{ name }}:
{% if config.multiple and config.dict %}
{#% elif config.multiple and config.dict %#}
{% elif config.multiple %}
{% elif config.single %}
{% for k,v in config.value.items() %}
{{ v }}
{% endfor %}
{% elif config.fixed %}
{% else %}
{% endif %}
{% endif %}
{% endfor %}
{% if the_query.remark %}
?
{% endif %}
查询
{% if request.allow_menu.查询_导出 %}
导出
{% endif %}
{% if request.allow_menu.查询_导出 %}
Toggle Dropdown