feat(workbench): AI脚本诊断列表操作列表头居中(th-act)+已诊断行按钮改「更新」(按review_ai/compare done判定)(09-02)
This commit is contained in:
1 parent
0a4766b607
commit
f770348f4b
2 files changed
+6
-2
No files matched your search
@@ -905,7 +905,7 @@ async function renderReviews(view) {
|
||||
<td class="cell-content">${row.title ? `<a class="link" data-open="${row.id}">${esc(row.title)}</a>` : '-'}</td>
|
||||
<td>${fmtTime(row.created_time)}</td>
|
||||
${dimsTd}
|
||||
<td class="cell-act"><button class="btn btn-sm" data-review-row="${row.id}" ${row.review_running ? 'disabled' : ''}>${row.review_running ? '复盘运行中' : '复盘'}</button></td>
|
||||
<td class="cell-act"><button class="btn btn-sm" data-review-row="${row.id}" ${row.review_running ? 'disabled' : ''}>${row.review_running ? '复盘运行中' : (rv ? '更新' : '复盘')}</button></td>
|
||||
</tr>`;
|
||||
}).join('');
|
||||
|
||||
@@ -914,7 +914,7 @@ async function renderReviews(view) {
|
||||
<div class="page">
|
||||
<div class="page-toolbar">${toolbarBack()}<span class="page-title">AI脚本诊断</span><span class="pager-info">按生成时间倒序 · 共 ${items.length} 条</span></div>
|
||||
<div class="table-wrap"><table class="table">
|
||||
<thead><tr><th>ID</th><th>账号</th><th>生成方式</th><th>脚本标题</th><th>生成时间</th>${DIMS.map((h) => `<th style="text-align:center">${h}</th>`).join('')}<th>操作</th></tr></thead>
|
||||
<thead><tr><th>ID</th><th>账号</th><th>生成方式</th><th>脚本标题</th><th>生成时间</th>${DIMS.map((h) => `<th style="text-align:center">${h}</th>`).join('')}<th class="th-act">操作</th></tr></thead>
|
||||
<tbody>${buildRows() || `<tr><td colspan="${5 + DIMS.length + 1}" class="empty">暂无 AI 写脚本(AI 创作的脚本会出现在这里)</td></tr>`}</tbody>
|
||||
</table></div>
|
||||
<div class="list-footer">${pagerHtml(items.length, page, PAGE_SIZE)}</div>
|
||||
|
||||
Reference in new issue
Block a user