From 4bf80699bdaae8e56ac0d3a0ceb7bc24cc946f8a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 5 Jun 2023 15:39:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pgoal=20dept=20update=20=E6=97=B6?= =?UTF-8?q?=E4=B9=9F=E8=BF=9B=E8=A1=8C=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/supervision/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/apps/supervision/views.py b/server/apps/supervision/views.py index 5f14ffa..bb6365e 100644 --- a/server/apps/supervision/views.py +++ b/server/apps/supervision/views.py @@ -598,6 +598,7 @@ class PgoalDeptViewSet(Domixin, CreateUpdateCustomMixin, ModelViewSet): goal_file = instance.goal_file if goal_file: instance.goal_files.add(goal_file) + self.countup_task2do(instance.task2do) class ImpMixin: def get_enum(self, val, atuple, ind):