新增: 任务推进链(7态状态机+advance_task CAS原子写)+软删除+前后端7态对齐
This commit is contained in:
@@ -18,7 +18,24 @@ export default {
|
||||
assignee: '负责人',
|
||||
baseBranch: '基础分支',
|
||||
workflowDef: '工作流定义',
|
||||
reviewRounds: '第 {n} 轮 Review',
|
||||
createdAt: '创建时间',
|
||||
updatedAt: '更新时间',
|
||||
// F-05 推进按钮(按状态机合法下一态显示,advance_task 状态机校验)
|
||||
advanceTitle: '推进任务',
|
||||
// 按钮文案(状态机合法转换,见 task_state_machine.rs can_transition)
|
||||
advance: {
|
||||
toInProgress: '开始', // todo/blocked → in_progress
|
||||
toInReview: '提交审查', // in_progress → in_review
|
||||
toTesting: '通过进测试', // in_review → testing
|
||||
toDone: '完成', // testing → done
|
||||
resume: '恢复', // blocked → in_progress(与 toInProgress 同向,blocked 专用文案)
|
||||
sendBack: '退回修改', // in_review → in_progress
|
||||
sendBackToReview: '退回重审', // testing → in_review
|
||||
block: '阻塞', // * → blocked
|
||||
cancel: '取消任务', // * → cancelled
|
||||
},
|
||||
advancing: '推进中...',
|
||||
advanceFailed: '推进任务失败',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user