Tighten study card export layout
This commit is contained in:
@@ -409,7 +409,11 @@ function renderStudies() {
|
||||
const exportControls = isAdmin()
|
||||
? `
|
||||
${app.exportMode ? `<label class="study-batch-check"><input type="checkbox" ${app.exportSelection.has(study.ct_number) ? "checked" : ""} />选择</label>` : ""}
|
||||
<span class="study-export-btn" role="button" tabindex="0" title="导出该检查影像">下载</span>
|
||||
<span class="study-export-btn" role="button" tabindex="0" title="导出该检查影像" aria-label="导出该检查影像">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M12 3v11m0 0 4-4m-4 4-4-4M5 20h14" />
|
||||
</svg>
|
||||
</span>
|
||||
`
|
||||
: "";
|
||||
card.innerHTML = `
|
||||
@@ -418,9 +422,11 @@ function renderStudies() {
|
||||
<div class="study-part-tags">${partTags}</div>
|
||||
</div>
|
||||
<strong>${escapeHtml(study.ct_number)}</strong>
|
||||
<span>${escapeHtml(name)} · ${escapeHtml(study.patient_id || "无ID")}</span>
|
||||
<span>${escapeHtml(fmtDate(study.study_date))} ${escapeHtml(fmtTime(study.study_time))} · ${Number(study.dicom_file_count || 0)} 张</span>
|
||||
<span>${Number(study.annotated_series || 0)} 个序列已标注,${Number(study.unannotated_series || 0)} 个序列未标注</span>
|
||||
<span class="study-patient">${escapeHtml(name)} · ${escapeHtml(study.patient_id || "无ID")}</span>
|
||||
<div class="study-meta">
|
||||
<span>${escapeHtml(fmtDate(study.study_date))} ${escapeHtml(fmtTime(study.study_time))}</span>
|
||||
<span>${Number(study.dicom_file_count || 0)} 张 · ${Number(study.annotated_series || 0)} 个序列已标注,${Number(study.unannotated_series || 0)} 个序列未标注</span>
|
||||
</div>
|
||||
${exportControls}
|
||||
`;
|
||||
card.onclick = () => selectStudy(study.ct_number);
|
||||
|
||||
Reference in New Issue
Block a user