{% from "_macros.html" import th %}
{{ t('词表映射') }} ({{ mappings.total }})
{{ th(t('词表')) }}{{ th(t('词条')) }}{{ th(t('关系')) }}{{ th(t('概念')) }}{{ th(t('置信度')) }}{{ th(t('来源')) }}
{% for m in mappings.rows %}
| {{ m.vocabulary }} |
{{ m.term }} |
{{ m.relation }} |
{{ m.concept_code }} {{ m.concept_name or '' }} |
{{ '%.2f' | format(m.confidence) }} |
{{ m.provenance }} |
{% else %}
| {{ t('无匹配映射') }} |
{% endfor %}
{{ t('跨源绑定') }} ({{ bindings.total }})
{{ th(t('源')) }}{{ th(t('列(原生代码)')) }}{{ th(t('概念')) }}{{ th(t('置信度')) }}{{ th(t('来源')) }}{{ th(t('复核')) }}
{% for b in bindings.rows %}
| {{ b.source }} |
{{ b.column }} |
{{ b.concept_code }} {{ b.concept_name or '' }} |
{{ '%.2f' | format(b.confidence) }} |
{{ b.provenance }} |
{{ '✓' if b.reviewed else '—' }} |
{% else %}
| {{ t('无匹配绑定') }} |
{% endfor %}