liyinglin 3 years ago
parent 5052837478
commit 4cb1e2d962

@ -30,7 +30,7 @@ class Visit extends SoftDeletesModel
public function getAuditStatusTextAttribute()
{
$array = [-1 => '待学习', 0 => '待审核', 1 => '通过', 2 => '驳回', 3 => '已进厂', 4 => '已离厂'];
$array = ['-1' => '待学习', '0' => '待审核', '1' => '通过', '2' => '驳回', '3' => '已进厂', '4' => '已离厂'];
return $array[$this->type] ?? '';
}

Loading…
Cancel
Save