fix: 修复两端走查发现的4个UI断点

- 门户回填表单:缺发布截图时提交按钮前置禁用并提示「先上传发布截图,
  链接回填需以截图为凭证」,不再等提交后才 toast 报错(服务端守卫保留)
- 门户笔记详情:回填链接前收起回收区块的说明与示例图,只留一行锁定提示,
  降低回填阶段信息密度
- 运营端分发表:数据状态按任务采集计划显示等待日(等待D{首个采集日}),
  未设置计划时显示「待设置采集计划」,不再写死「等待D2」
- 截图包回收清单:序号列对无 source_row 的内容回退行号;种子内容补
  source_row,演示数据导出不再出现空序号
This commit is contained in:
ABAPPLO
2026-10-08 14:44:47 +08:00
parent 2db06063ee
commit c54649258b
5 changed files with 120 additions and 15 deletions

View File

@@ -1666,9 +1666,15 @@ export default function Home() {
</label>
</div>
</div>
<button className="submit-primary" disabled={working}>
<button
className="submit-primary"
disabled={working || !(screenshot || selected.publish_screenshot_key)}
>
{working ? "正在提交…" : selected.publish_url ? "更新这篇笔记" : "确认回填这篇笔记"}
</button>
{!(screenshot || selected.publish_screenshot_key) && (
<p className="submitted-at">先上传发布截图,链接回填需以截图为凭证</p>
)}
{selected.publish_time && (
<p className="submitted-at">上次回填:{formatDate(selected.publish_time, true)}</p>
)}
@@ -1796,13 +1802,16 @@ export default function Home() {
{selected.result_submitted_at ? "已提交" : "待提交"}
</span>
</div>
<p className="creator-recovery-tip">
{payload.task.recoveryInstructions || "请提交发布后的笔记截图"}
{payload.task.recoveryDueAt
? ` 截止:${formatDate(payload.task.recoveryDueAt)}。`
: ""}
</p>
{(payload.task.recoveryExampleImages?.length ?? 0) > 0 && (
{selected.publish_url && (
<p className="creator-recovery-tip">
{payload.task.recoveryInstructions || "请提交发布后的笔记截图"}
{payload.task.recoveryDueAt
? ` 截止:${formatDate(payload.task.recoveryDueAt)}。`
: ""}
</p>
)}
{selected.publish_url &&
(payload.task.recoveryExampleImages?.length ?? 0) > 0 && (
<div className="task-result-gallery recovery-example">
{payload.task.recoveryExampleImages?.map((image) => (
<button