From ae803030b31dc35d84b6297d9350a363882e182d Mon Sep 17 00:00:00 2001 From: weiz Date: Wed, 20 Dec 2023 14:21:34 +0800 Subject: [PATCH] fixed --- app/adminapi/lists/project/ProjectDocumentLists.php | 1 + 1 file changed, 1 insertion(+) 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'];