fix: base ticket list 添加create_by_name
This commit is contained in:
parent
8a4ddd0307
commit
864fb783dc
|
@ -128,7 +128,8 @@ class TicketListSerializer(CustomModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Ticket
|
model = Ticket
|
||||||
fields = ['id', 'title', 'sn', 'workflow', 'workflow_', 'state', 'state_',
|
fields = ['id', 'title', 'sn', 'workflow', 'workflow_', 'state', 'state_',
|
||||||
'act_state', 'create_time', 'update_time', 'participant_type', 'create_by', 'ticket_data',
|
'act_state', 'create_time', 'update_time', 'participant_type',
|
||||||
|
'create_by', 'create_by_name', 'ticket_data',
|
||||||
'participant_', 'script_run_last_result', 'participant']
|
'participant_', 'script_run_last_result', 'participant']
|
||||||
|
|
||||||
def get_participant_(self, obj):
|
def get_participant_(self, obj):
|
||||||
|
|
Loading…
Reference in New Issue