{% extends "base.html" %} {% from "_macros.html" import th %} {% block title %}{{ d.code }} · {{ t('指标详情') }}{% endblock %} {% block content %}

{{ d.code }} {{ d.name_zh or d.name_en or '' }}

{% if d.name_en and d.name_zh %}

{{ d.name_en }}

{% endif %}

{{ t('实体') }} {{ d.entity_type }} · {{ t('频率') }} {{ d.frequency }} · {{ t('单位') }} {{ d.unit or '—' }} · {{ t('口径') }} {{ d.measure or '—' }} · {% if d.verified %}verified{% else %}unverified{% endif %} {% if d.family_code %} · {{ t('族') }} {{ d.family_code }}{% endif %}

← {{ t('返回登记表') }} · {{ t('在关系图中打开') }} ↗

{% include "_indicator_tabs.html" %} {% if d.equivalences is not none %}

{{ t('跨源等价对') }}

{{ t('同一语义代码在各源库的锚点——合起来即该指标的跨源等价集。') }}

{{ th(t('源库')) }}{{ th(t('原生代码')) }}{{ th(t('名称')) }}{{ th(t('状态')) }} {% for e in d.equivalences %} {% else %} {% endfor %}
{{ e.source_db }} {{ e.source_table }}.{{ e.source_column }}#{{ e.native_code }} {{ e.name_zh or e.name_en or '—' }} {% if e.verified %}verified{% else %}unverified{% endif %}
{{ t('注册目录中无该语义代码的锚点') }}
{% endif %}

{{ t('本地绑定') }}

{{ th(t('源')) }}{{ th(t('列(原生代码)')) }}{{ th(t('置信度')) }}{{ th(t('来源')) }}{{ th(t('复核')) }} {% for b in d.bindings %} {% else %} {% endfor %}
{{ b.source }} {{ b.column }} {{ '%.2f' | format(b.confidence) }} {{ b.provenance }} {{ '✓' if b.reviewed else '—' }}
{{ t('暂无绑定') }}

{{ t('词表映射') }}

{{ th(t('词表')) }}{{ th(t('词条')) }}{{ th(t('关系')) }}{{ th(t('置信度')) }}{{ th(t('来源')) }} {% for m in d.mappings %} {% else %} {% endfor %}
{{ m.vocabulary }} {{ m.term }} {{ m.relation }} {{ '%.2f' | format(m.confidence) }} {{ m.provenance }}
{{ t('暂无映射') }}
{% endblock %}