feat: implement composite debounced search with prepended select and wipe out duplicate root permission nodes
This commit is contained in:
@ -214,10 +214,11 @@ def get_outbound_list():
|
||||
page = int(request.args.get('page', 1))
|
||||
limit = int(request.args.get('limit', 10))
|
||||
keyword = request.args.get('keyword', '')
|
||||
search_type = request.args.get('search_type', 'all')
|
||||
# 如果前端传了日期范围,可以解析处理,这里暂略
|
||||
|
||||
# ★ [修改] 调用分组查询服务
|
||||
result = OutboundService.get_grouped_list(page, limit, keyword)
|
||||
# ★ [修改] 调用分组查询服务,支持搜索类型
|
||||
result = OutboundService.get_grouped_list(page, limit, keyword, search_type=search_type)
|
||||
|
||||
# 字段级脱敏
|
||||
user_permissions = get_current_user_permissions()
|
||||
|
||||
Reference in New Issue
Block a user