From 429c0b6d5b882f1e5289f3a32e0172b428249a23 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 29 Nov 2023 09:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0route=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/filters.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/mtm/filters.py b/apps/mtm/filters.py index ef51633a..7f753bdc 100644 --- a/apps/mtm/filters.py +++ b/apps/mtm/filters.py @@ -48,4 +48,6 @@ class RouteFilter(filters.FilterSet): "process": ["exact", "in"], "is_autotask": ["exact"], "mgroup": ["exact", "in", "isnull"], + "mgroup__name": ["exact", "contains"], + "mgroup__belong_dept__name": ["exact", "contains"] }