Merge pull request 'fixed' (#92) from zhangwei into dev

Reviewed-on: #92
This commit is contained in:
weiz 2023-12-29 11:56:28 +08:00
commit e7fead7860

View File

@ -54,4 +54,9 @@ class ProjectFollowUp extends BaseModel
$dictData = DictData::where('type_value','follow_stage')->column('name','value'); $dictData = DictData::where('type_value','follow_stage')->column('name','value');
return $dictData[$data['follow_stage']]; return $dictData[$data['follow_stage']];
} }
public function getFileAttr($value)
{
return !empty($value) ? json_decode($value) : null;
}
} }