fixed
This commit is contained in:
parent
37b6776007
commit
5e201b9ead
@ -15,7 +15,7 @@ class Vehicle extends BaseModel
|
|||||||
|
|
||||||
public function getStatusNameAttr($value,$data): string
|
public function getStatusNameAttr($value,$data): string
|
||||||
{
|
{
|
||||||
$status = [0=>'未出租',1=>'签约中',2=>'已出租',3=>'已解约'];
|
$status = [0=>'未出租',1=>'签约中',2=>'已出租',3=>'已解约',4=>'已出售'];
|
||||||
return $status[$data['status']];
|
return $status[$data['status']];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user