feat: employeeshort增加type

This commit is contained in:
caoqianming 2023-10-09 14:20:52 +08:00
parent 6b6175803c
commit 3b0710626a
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ class EmployeeShortSerializer(CustomModelSerializer):
class Meta:
model = Employee
fields = ['id', 'name', 'belong_dept_name', 'user', 'third_info']
fields = ['id', 'name', 'belong_dept_name',
'user', 'third_info', 'type']
class EmployeeSimpleSerializer(CustomModelSerializer):