diff --git a/templates/tianxuan/auto.html b/templates/tianxuan/auto.html index 1645436..ed5f1dc 100644 --- a/templates/tianxuan/auto.html +++ b/templates/tianxuan/auto.html @@ -428,72 +428,6 @@ async function applyFilter() { } -// ── Dataset table rendering ── -function buildDatasetTable(filter) { - const container = document.getElementById('datasetTable'); - let rows = DATASETS_WITH_STATUS.filter(ds => { - if (filter === 'all') return true; - if (filter === 'ready') return ds.badge_class === 'ready'; - if (filter === 'analyzing') return ds.badge_class === 'analyzing'; - if (filter === 'completed') return ds.badge_class === 'completed'; - if (filter === 'failed') return ds.badge_class === 'failed'; - return true; - }); - - if (!rows.length) { - container.innerHTML = '
无匹配的数据集
'; - return; - } - - let html = '| ID | 状态 | 行数 | 文件数 | 来源 | |
|---|---|---|---|---|---|
| ' + - ' | #' + dispId + ' | ' + - '' + label + ' | ' + - '' + rowCount + ' | ' + - '' + fileCount + ' | ' + - '' + - '