Revert "feat: 支局长/领导可指定客户经理创建记录"

This reverts commit a4904973bf.
This commit is contained in:
2026-06-27 11:41:17 +08:00
parent a4904973bf
commit e99d0aec8a
9 changed files with 9 additions and 51 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ async def create_key_visit(
planned_date=data.planned_date,
planned_visitor=data.planned_visitor,
visit_target=data.visit_target,
manager_id=data.manager_id or uuid.UUID(current_user["user_id"]),
manager_id=uuid.UUID(current_user["user_id"]),
)
init_entry(k, current_user["name"])
db.add(k)
+1 -1
View File
@@ -60,7 +60,7 @@ async def create_mini_business(
amount=data.amount,
follow_up_detail=data.follow_up_detail,
status=data.status,
manager_id=data.manager_id or uuid.UUID(current_user["user_id"]),
manager_id=uuid.UUID(current_user["user_id"]),
expected_revenue_date=data.expected_revenue_date,
)
init_entry(m, current_user["name"])
+1 -1
View File
@@ -58,7 +58,7 @@ async def create_work_plan(
customer_id=data.customer_id,
plan_content=data.plan_content,
plan_date=parse_date(data.plan_date),
manager_id=data.manager_id or uuid.UUID(current_user["user_id"]),
manager_id=uuid.UUID(current_user["user_id"]),
status=data.status,
)
init_entry(wp, current_user["name"])