feat:新增实验室年度报告 文件上传和下载

This commit is contained in:
zty 2024-04-26 13:16:53 +08:00
parent cf9e8ba23e
commit db1a3a05d0
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class ContactViewSet(ImpMixin, CreateUpdateCustomMixin, ModelViewSet):
"""
return self.gen_imp_view(request, 2, ContactSerializer)
class ParsePdfViewSet(CreateUpdateCustomMixin, ModelViewSet):
class ParsePdfViewSet(RbacFilterSet, CreateUpdateCustomMixin, ModelViewSet):
queryset = Parsepdf.objects.all()
serializer_class = ParsepdfSerializer
filterset_fields = ['belong_dept', 'annual']