perf: 作业日志添加任务类型

This commit is contained in:
wangruidong
2024-02-26 13:37:01 +08:00
committed by w940853815
parent f660c38d80
commit d7f8ba58ad
2 changed files with 2 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ class JobLogSerializer(JobExecutionSerializer):
class Meta:
model = models.JobLog
read_only_fields = [
"id", "material", "time_cost", 'date_start',
"id", "material", 'job_type', "time_cost", 'date_start',
'date_finished', 'date_created',
'is_finished', 'is_success',
'task_id', 'creator_name'