fix: LibraryView 过滤 pose 显示(避免 HTML 结构问题)

**修改方法:**
- 使用嵌套 div + v-if 过滤 pose
- 避免使用 template 标签(可能导致结构问题)

**修改位置:**
- Line 353-357: processor output 过滤 pose
- Line 555: QC 检查移除 POSE

**原因:**
- pose 已从 pipeline 移除 (A-8)
- 之前的方法可能导致 HTML 结构问题

**过滤逻辑:**
```vue
<div v-for="(info, proc) in processors">
  <div v-if="proc !== 'pose'">
    <!-- 显示内容 -->
  </div>
</div>
```

相关需求: A-8 (移除 pose)
This commit is contained in:
2026-10-05 11:58:06 +08:00
parent 8758255eee
commit 7b83d987e4

View File

@@ -349,12 +349,14 @@
<div v-if="getFileStats(ctxMenuFile.file_uuid)" class="ms-ctx-details">
<div class="ms-ctx-phase" v-if="getFileStats(ctxMenuFile.file_uuid).json?.processors">
<div class="ms-ctx-phase-title">{{ t('library.phase.processor_output') }}</div>
<div v-for="(info, proc) in getFileStats(ctxMenuFile.file_uuid).json.processors" :key="proc" class="ms-ctx-proc-item">
<span class="ms-ctx-proc-name">{{ proc.toUpperCase() }}</span>
<span class="ms-ctx-proc-count">{{ formatProcCount(proc, info) }}</span>
</div>
</div>
<div class="ms-ctx-phase-title">{{ t('library.phase.processor_output') }}</div>
<div v-for="(info, proc) in getFileStats(ctxMenuFile.file_uuid).json.processors" :key="proc">
<div v-if="proc !== 'pose'" class="ms-ctx-proc-item">
<span class="ms-ctx-proc-name">{{ proc.toUpperCase() }}</span>
<span class="ms-ctx-proc-count">{{ formatProcCount(proc, info) }}</span>
</div>
</div>
</div>
<div class="ms-ctx-phase" v-if="getFileStats(ctxMenuFile.file_uuid).postgresql">
<div class="ms-ctx-phase-title">Rule1: PostgreSQL Ingestion</div>
@@ -550,7 +552,7 @@
<div class="ms-qc-arrow">↓</div>
<div class="ms-qc-stage-row">
<div v-for="r in qcResults.filter(p => ['CUT','ASR','FACE','OCR','POSE'].includes(p.processor))" :key="r.processor" class="ms-qc-node" :class="getProcNodeClass(r)">
<div v-for="r in qcResults.filter(p => ['CUT','ASR','FACE','OCR'].includes(p.processor))" :key="r.processor" class="ms-qc-node" :class="getProcNodeClass(r)">
<span class="ms-qc-icon">{{ getProcIcon(r) }}</span>
<span class="ms-qc-proc">{{ r.processor }}</span>
<span class="ms-qc-count">{{ $t('library.qc.items', { count: r.size }) }}</span>