feat: init commint

This commit is contained in:
2026-09-18 15:26:19 +08:00
parent 3b61a767a0
commit 9f47dbb5cc
95 changed files with 7712 additions and 1137 deletions

View File

@@ -0,0 +1,28 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("workitems", "0006_alter_workitem_task_type"),
]
operations = [
migrations.AlterField(
model_name="workitem",
name="task_type",
field=models.CharField(
choices=[
("ticket_missing_info", "工单信息待补全"),
("ticket_intake_failed", "智能受理待人工接管"),
("ticket_customer_reply", "客户回复待确认"),
("ticket_close", "工单待人工关闭"),
("ticket_customer_confirmation", "客户解决反馈待确认"),
("support_analysis_failed", "支持分析待人工接管"),
("knowledge_distillation_failed", "知识蒸馏待人工接管"),
("asset_review", "知识资产待审核"),
("tool_confirmation", "高风险工具待确认"),
],
max_length=64,
),
),
]

View File

@@ -16,6 +16,7 @@ class WorkItemType(models.TextChoices):
TICKET_INTAKE_FAILED = "ticket_intake_failed", "智能受理待人工接管"
TICKET_CUSTOMER_REPLY = "ticket_customer_reply", "客户回复待确认"
TICKET_CLOSE = "ticket_close", "工单待人工关闭"
TICKET_CUSTOMER_CONFIRMATION = "ticket_customer_confirmation", "客户解决反馈待确认"
SUPPORT_ANALYSIS_FAILED = "support_analysis_failed", "支持分析待人工接管"
KNOWLEDGE_DISTILLATION_FAILED = (
"knowledge_distillation_failed",