feat:新增实验室年度报告 文件上传和下载
This commit is contained in:
parent
cf9e8ba23e
commit
db1a3a05d0
|
@ -350,7 +350,7 @@ class ContactViewSet(ImpMixin, CreateUpdateCustomMixin, ModelViewSet):
|
||||||
"""
|
"""
|
||||||
return self.gen_imp_view(request, 2, ContactSerializer)
|
return self.gen_imp_view(request, 2, ContactSerializer)
|
||||||
|
|
||||||
class ParsePdfViewSet(CreateUpdateCustomMixin, ModelViewSet):
|
class ParsePdfViewSet(RbacFilterSet, CreateUpdateCustomMixin, ModelViewSet):
|
||||||
queryset = Parsepdf.objects.all()
|
queryset = Parsepdf.objects.all()
|
||||||
serializer_class = ParsepdfSerializer
|
serializer_class = ParsepdfSerializer
|
||||||
filterset_fields = ['belong_dept', 'annual']
|
filterset_fields = ['belong_dept', 'annual']
|
||||||
|
|
Loading…
Reference in New Issue