Merge pull request 'update' (#169) from zhangwei into dev
Reviewed-on: #169
This commit is contained in:
commit
6848217f4d
@ -34,7 +34,7 @@ class Project extends BaseModel
|
||||
public function getStatusTextAttr($value,$data)
|
||||
{
|
||||
$dictData = DictData::where('type_value','project_status')->column('name','value');
|
||||
return empty($data['project_status']) ? '' : $dictData[$data['status']];
|
||||
return empty($data['status']) ? '' : $dictData[$data['status']];
|
||||
}
|
||||
|
||||
public function getProjectContentTextAttr($value,$data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user