From 32d0e2fe7b65e6c721358083b556701c42dab040 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Sat, 20 Jan 2024 14:03:07 +0800 Subject: [PATCH] update --- app/adminapi/lists/project/ProjectLists.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/adminapi/lists/project/ProjectLists.php b/app/adminapi/lists/project/ProjectLists.php index c8268cfd0..7ec0bb323 100644 --- a/app/adminapi/lists/project/ProjectLists.php +++ b/app/adminapi/lists/project/ProjectLists.php @@ -72,10 +72,12 @@ class ProjectLists extends BaseAdminDataLists implements ListsSearchInterface $org = Orgs::field('name')->where('id',$item['org_id'])->findOrEmpty(); $dept = Dept::field('name')->where('id',$item['dept_id'])->findOrEmpty(); $projectType = ProjectTypeSet::where('id',$item['project_type'])->findOrEmpty(); - $custom = Custom::field('name')->where('id',$item['custom_id'])->findOrEmpty(); + $custom = Custom::field('name,master_name,master_phone')->where('id',$item['custom_id'])->findOrEmpty(); $item['org_name'] = $org['name']; $item['dept_name'] = $dept['name']; $item['custom_name'] = $custom['name']; + $item['custom_master_name'] = $custom['master_name']; + $item['custom_master_phone'] = $custom['master_phone']; $item['project_type'] = $projectType['name']; $item['status'] = $item->status_text; $item['project_content'] = $item->project_content_text;