fix(任务): 编号改为 #序号展示、详情页完整编号可复制、修复详情改列报「看板列不存在」

- 列表/看板任务编号徽标改为 `#序号`(如 #18), 移除不再需要的 codePrefix 透传
- 详情页标题下新增完整任务编号胶囊 (项目编号-序号, 如 ADMIN-18), 点按复制:
  Clipboard API 优先, 非安全上下文/旧 WebView 回退 execCommand, 并提示已复制
- 修复详情页「看板列」切换报错: 0.2.1 本地库列 id 为 uuid 字符串,
  ActionSheet 的 key 恒为字符串, 旧代码 Number(key) 得到 NaN ->
  update 校验失败抛「看板列不存在」。改为字符串比对 (currentCol/勾选标记同步)
- 详情页保存后先就地替换该行再回源刷新
This commit is contained in:
jif2.zhang
2026-10-27 10:06:12 +08:00
parent 317072539d
commit 06e9a3e694
8 changed files with 119 additions and 24 deletions
+15
View File
@@ -1207,6 +1207,21 @@ body.me-safe-top .app-safe-top { height: 0; }
font-size: 11.5px; color: #999; margin-bottom: 14px;
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 详情页标题下的完整任务编号 (项目编号-序号): 点按复制 */
.sheet-idrow { margin: -1px 0 6px; }
.task-id-chip {
display: inline-flex; align-items: center; gap: 6px;
font-size: 11px; line-height: 1; font-weight: 600;
color: #5b6b7c; background: #eef2f6; border-radius: 999px; padding: 5px 9px;
cursor: pointer; -webkit-user-select: none; user-select: none;
font-variant-numeric: tabular-nums;
}
.task-id-chip:active { background: #e2e8ef; }
.task-id-chip .tid { letter-spacing: .3px; }
.task-id-chip .tid-copy {
color: var(--color-primary); font-weight: 500;
padding-left: 6px; border-left: 1px solid rgba(91,107,124,.22);
}
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 12px; color: var(--color-muted); margin-bottom: 6px; }
.inp {