update
This commit is contained in:
parent
ddd3f648c5
commit
ed5032ad9e
@ -56,7 +56,7 @@ class JianliProjectProgressReportLogic extends BaseLogic
|
||||
'djr' => $params['djr'],
|
||||
'apptime' => $params['apptime'],
|
||||
'jdms' => $params['jdms'],
|
||||
'datas' => $params['datas'],
|
||||
'annex' => json_encode($params['annex']),
|
||||
'fd_23' => $params['fd_23'],
|
||||
]);
|
||||
|
||||
@ -95,7 +95,7 @@ class JianliProjectProgressReportLogic extends BaseLogic
|
||||
'djr' => $params['djr'],
|
||||
'apptime' => $params['apptime'],
|
||||
'jdms' => $params['jdms'],
|
||||
'datas' => $params['datas'],
|
||||
'annex' => json_encode($params['annex']),
|
||||
'fd_23' => $params['fd_23'],
|
||||
]);
|
||||
|
||||
@ -131,6 +131,8 @@ class JianliProjectProgressReportLogic extends BaseLogic
|
||||
*/
|
||||
public static function detail($params): array
|
||||
{
|
||||
return JianliProjectProgressReport::with(['projectInfo'])->findOrEmpty($params['id'])->toArray();
|
||||
$data = JianliProjectProgressReport::with(['projectInfo'])->findOrEmpty($params['id'])->toArray();
|
||||
$data['annex'] = json_decode($data['annex'], true);
|
||||
return $data;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user