feat: 添加线索引擎、NLQ、场景检测、前端界面等核心功能模块
This commit is contained in:
@@ -132,7 +132,10 @@ def assign(session: Session, clue: Clue, assignee: str, actor: str) -> Clue:
|
||||
session.flush()
|
||||
if clue.status == ClueStatus.NEW:
|
||||
transition(session, clue, ClueStatus.ASSIGNED, actor, f"分派给 {assignee}")
|
||||
audit.record(session, actor, "assign_clue", target_type="clue", target_id=str(clue.id), detail={"assignee": assignee})
|
||||
audit.record(
|
||||
session, actor, "assign_clue",
|
||||
target_type="clue", target_id=str(clue.id), detail={"assignee": assignee},
|
||||
)
|
||||
return clue
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user