diff --git a/static/mofin_health.html b/static/mofin_health.html index 7db73939..4b00f466 100644 --- a/static/mofin_health.html +++ b/static/mofin_health.html @@ -211,13 +211,18 @@ function renderDataFlow(entities, jsonFiles, architecture) { } function renderPipelineTable(pipelines) { - let html = ''; + let html = '
'; + html += ''; + html += '
'; html += ''; pipelines.forEach(p => { const tagCls = p.status==='ok'?'ok':p.status==='error'?'error':'warn'; const statusDisplay = p.last_run ? p.status : '待首次运行'; const profileBadge = p.profile==='position-analyst' ? '📋' : '📦'; - html += ``; + html += ``; html += ``; html += ``; html += ``; @@ -231,8 +236,13 @@ function renderPipelineTable(pipelines) { function filterPipes() { const q = document.getElementById('pipeSearch').value.toLowerCase(); + const profile = document.getElementById('pipeProfile').value; document.querySelectorAll('.pipe-row').forEach(r => { - r.style.display = r.textContent.toLowerCase().includes(q) ? '' : 'none'; + const name = r.getAttribute('data-name') || ''; + const rp = r.getAttribute('data-profile') || 'default'; + const matchName = !q || name.includes(q); + const matchProfile = profile === 'all' || rp === profile; + r.style.display = matchName && matchProfile ? '' : 'none'; }); }
名称来源脚本/LLM类型调度状态最后运行
${p.name||p.script||'LLM'}
${p.name||p.script||'LLM'}${profileBadge} ${p.profile||'?'}${p.script||'LLM'}${p.type||'cron'}