This commit is contained in:
weiz 2024-01-15 10:21:12 +08:00
parent de6058aaa5
commit 0aa531cd98
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class CostSubjectLists extends BaseAdminDataLists implements ListsSearchInterfac
public function setSearch(): array
{
return [
'%like%' => ['sn', 'subject1', 'subject12'],
'%like%' => ['sn', 'subject1', 'subject2'],
];
}

View File

@ -71,7 +71,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
$item['processing_result'] = $item->processing_result_text;
$item['urgency'] = $item->urgency_text;
$item['is_solve_text'] = $item->is_solve_text;
$project = Project::field('name,project_code')->where('id',$item['project_id'])->findOrEmpty();
$project = Project::field('custom_id,name,project_code')->where('id',$item['project_id'])->findOrEmpty();
$custom = Custom::field('name,master_name,master_phone')->where('id',$project['custom_id'])->findOrEmpty();
$contract = Contract::field('contract_code')->where('id',$item['contract_id'])->findOrEmpty();
$admin = Admin::field('name')->where('id',$item['processed_user'])->findOrEmpty();