Commit c855c598 authored by lvshibao's avatar lvshibao

group页面修改

parent 07f77701
...@@ -578,11 +578,15 @@ class TasksApi(viewsets.ViewSet): ...@@ -578,11 +578,15 @@ class TasksApi(viewsets.ViewSet):
:param req: :param req:
:return: :return:
""" """
team = req.data.get('team', '')
agent_name = req.data.get('agentName', '') agent_name = req.data.get('agentName', '')
page = req.data.get('page', '1') page = req.data.get('page', '1')
page_size = req.data.get('page_size', '10') page_size = req.data.get('page_size', '10')
session_condition = req.data.get('date_condition', {}) session_condition = req.data.get('date_condition', {})
if team:
session_condition['team'] = team
if agent_name: if agent_name:
session_condition['agentName'] = agent_name session_condition['agentName'] = agent_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment