diff --git a/app/adminapi/lists/project/ProjectDocumentLists.php b/app/adminapi/lists/project/ProjectDocumentLists.php index bd18c0d04..face12619 100644 --- a/app/adminapi/lists/project/ProjectDocumentLists.php +++ b/app/adminapi/lists/project/ProjectDocumentLists.php @@ -61,6 +61,7 @@ class ProjectDocumentLists extends BaseAdminDataLists implements ListsSearchInte ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc']) ->select()->each(function($item){ + $item['annex'] = json_decode($item['annex'],true); $project = Project::field('name,project_code')->where('id',$item['project_id'])->findOrEmpty(); $doc = ProjectDocumentSet::field('large_category,middle_category')->where('id',$item['classify_id'])->findOrEmpty(); $item['project_name'] = $project['name'];