fix: 权限代号单词拼写错误

This commit is contained in:
caoqianming 2023-09-06 14:57:25 +08:00
parent 94f87c9a34
commit e4ff355853
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class EcheckRecordViewSet(ListModelMixin, CreateModelMixin, DestroyModelMixin, C
校准/检定记录 校准/检定记录
""" """
perms_map = {'get': '*', 'post': 'echeckreocrd.create', 'put': 'echeckrecord.update', 'delete': 'echeckreocrd.delete'} perms_map = {'get': '*', 'post': 'echeckrecord.create', 'put': 'echeckrecord.update', 'delete': 'echeckrecord.delete'}
queryset = EcheckRecord.objects.all() queryset = EcheckRecord.objects.all()
serializer_class = EcheckRecordSerializer serializer_class = EcheckRecordSerializer
select_related_fields = ['equipment', 'create_by'] select_related_fields = ['equipment', 'create_by']