diff --git a/models/pipeline_human_tasks.json b/models/pipeline_human_tasks.json index 60a39a6..3822a38 100644 --- a/models/pipeline_human_tasks.json +++ b/models/pipeline_human_tasks.json @@ -22,14 +22,21 @@ {"name": "submitted_at", "title": "提交时间", "type": "timestamp"}, {"name": "comments", "title": "备注", "type": "text"}, {"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"}, - {"name": "expired_at", "title": "过期时间", "type": "timestamp"} + {"name": "expired_at", "title": "过期时间", "type": "timestamp"}, + {"name": "project_id", "title": "项目ID", "type": "str", "length": 32}, + {"name": "iteration_id", "title": "迭代ID", "type": "str", "length": 32}, + {"name": "bug_id", "title": "关联BugID", "type": "str", "length": 32}, + {"name": "qc_status", "title": "QC状态", "type": "str", "length": 20, "default": "pending"}, + {"name": "qc_comment", "title": "QC意见", "type": "str", "length": 500} ], "indexes": [ {"name": "idx_pht_task", "idxtype": "index", "idxfields": ["task_id"]}, {"name": "idx_pht_step", "idxtype": "index", "idxfields": ["task_id", "step_name"]}, {"name": "idx_pht_role", "idxtype": "index", "idxfields": ["assignee_role"]}, {"name": "idx_pht_assignee", "idxtype": "index", "idxfields": ["assignee_id"]}, - {"name": "idx_pht_status", "idxtype": "index", "idxfields": ["status"]} + {"name": "idx_pht_status", "idxtype": "index", "idxfields": ["status"]}, + {"name": "idx_pht_project", "idxtype": "index", "idxfields": ["project_id"]}, + {"name": "idx_pht_iteration", "idxtype": "index", "idxfields": ["iteration_id"]} ], "codes": [ {"field": "task_type", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='human_task_type'"},