{% from "_macros.html" import th %}
词表映射 Vocabulary mappings ({{ mappings.total }})
{{ th('词表', 'Vocabulary') }}{{ th('词条', 'Term') }}{{ th('关系', 'Relation') }}{{ th('概念', 'Concept') }}{{ th('置信度', 'Confidence') }}{{ th('来源', 'Provenance') }}
{% 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 %}
| 无匹配映射 No matching mappings. |
{% endfor %}
跨源绑定 Cross-source bindings ({{ bindings.total }})
{{ th('源', 'Source') }}{{ th('列(原生代码)', 'Column (native code)') }}{{ th('概念', 'Concept') }}{{ th('置信度', 'Confidence') }}{{ th('来源', 'Provenance') }}{{ th('复核', 'Reviewed') }}
{% 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 %}
| 无匹配绑定 No matching bindings. |
{% endfor %}