fixed
This commit is contained in:
parent
65fa27fedd
commit
2d9c019591
@ -62,5 +62,9 @@ class Contract extends BaseModel
|
|||||||
$dictData = DictData::where('type_value','contract_status')->column('name','value');
|
$dictData = DictData::where('type_value','contract_status')->column('name','value');
|
||||||
return $dictData[$data['contract_status']];
|
return $dictData[$data['contract_status']];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getAnnexAttr($value){
|
||||||
|
return !empty($value) ? json_decode($value,true) : null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user