fix :view.py

This commit is contained in:
zty 2024-07-08 14:38:25 +08:00
parent 010b6ce8cf
commit b0d2c93d3d
1 changed files with 1 additions and 2 deletions

View File

@ -367,8 +367,7 @@ class ParsePdfViewSet(RbacFilterSet, CreateUpdateCustomMixin, ModelViewSet):
filterset_fields = ['belong_dept', 'annual']
#解析pdf到excel
@action(detail=False, methods=['post'], perms_map={'post':'parsepdf_create'})
@action(detail=False, methods=['post'])
@transaction.atomic
def parse_pdf(self, request, *args, **kwargs):
"""