产品迭代模块:卡片改表格 + 日期内联编辑 + 后端日期校验

- 卡片列表改为表格列表(10列),参考用户运营中心产品台账
- 数据库新增 priority + 5 个日期字段(start/plan/dev_done/test/launch)
- 删除 owner/platform/feature_list 字段(migrate_drop_product_fields)
- 日期内联编辑:5个日期列直接渲染 date input
- 后端日期校验:4个时间不能早于启动时间;启动时间必填
- 详情页新增耗时统计区块(总/产品/研发/测试耗时)
- 优先级和状态合并同一行
- 新增'未开始'状态
- 表格垂直居中对齐
- renderProducts 后重新初始化 lucide 图标
This commit is contained in:
mac
2026-07-02 14:31:06 +08:00
parent 003b6f3bdb
commit 0eb9d69f1e
8 changed files with 303 additions and 92 deletions

View File

@@ -682,6 +682,27 @@ textarea { min-height: 80px; height: auto; resize: vertical; }
height: 32px;
}
/* 产品表格内联日期选择器 */
.prod-date-input {
border: 1px solid transparent;
background: transparent;
font-size: 12px;
padding: 2px 4px;
border-radius: 4px;
width: 110px;
cursor: pointer;
color: #64748b;
}
.prod-date-input:hover {
border-color: #cbd5e1;
background: #f8fafc;
}
.prod-date-input:focus {
border-color: #3b82f6;
background: white;
outline: none;
}
table {
border-collapse: collapse;
width: 100%;