fix: 矫正员工信息2
This commit is contained in:
parent
dc7cd3844d
commit
94e0d006f1
|
@ -132,8 +132,11 @@ class CorrectViewSet(CustomGenericViewSet):
|
|||
'user': user,
|
||||
'name': user.name,
|
||||
'phone': user.phone,
|
||||
'belong_dept': user.belong_dept if user.belong_dept else None,
|
||||
'post': user.post if user.post else None,
|
||||
'type': user.type
|
||||
})
|
||||
|
||||
@action(methods=['post'], detail=False, serializer_class=Serializer)
|
||||
def ticket_sn(self, request, pk=None):
|
||||
"""矫正工单流水号
|
||||
|
|
Loading…
Reference in New Issue