Browse Source

异常占用处理后不显示 忽略和处理

master
wanghongjun 4 weeks ago
parent
commit
aec39ac732
  1. 2
      app/Models/ParkingAbnormal.php
  2. 1
      app/Services/ParkingAbnormalService.php

2
app/Models/ParkingAbnormal.php

@ -29,7 +29,7 @@ class ParkingAbnormal extends Model
protected $hidden
= [
'created_at',
'update_at'
'updated_at'
];
public function getEnterAtAttribute($value): string

1
app/Services/ParkingAbnormalService.php

@ -83,6 +83,7 @@ class ParkingAbnormalService extends BaseService
$typeArr = $this->getType();
$item['type'] = $typeArr[$item['type']];
$statusArr = $this->getStatus();
$item['status_index'] = $item['status'];
$item['status'] = $statusArr[$item['status']];
$operationTypeArr = $this->getOperationType();
$item['operation_type'] = $operationTypeArr[$item['operation_type']] ??

Loading…
Cancel
Save