Browse Source

车位维修 新增空置维修, 占用维修2

master
wanghongjun 4 weeks ago
parent
commit
07ac10b779
  1. 5
      app/Services/ParkingSpaceService.php
  2. 4
      resources/lang/en/service.php
  3. 4
      resources/lang/zh-CN/service.php
  4. 4
      resources/lang/zh-TW/service.php

5
app/Services/ParkingSpaceService.php

@ -97,8 +97,9 @@ class ParkingSpaceService extends BaseService
} }
return $statusArr[1] . '/' . $str; return $statusArr[1] . '/' . $str;
} elseif ($status == '2') { } elseif ($status == '2') {
$str = $yesStr ?: $noStr; return $license_plate_id ? __service(
return $str . '/' . $statusArr[$status]; 'parking_space.occupied_repair'
) : __service('parking_space.vacant_repair');
} else { } else {
$status_str = $statusArr[$status] ?? ''; $status_str = $statusArr[$status] ?? '';
if ($status_str) { if ($status_str) {

4
resources/lang/en/service.php

@ -73,7 +73,9 @@ return [
'number_update' => 'License plate number update', 'number_update' => 'License plate number update',
'number_exists' => 'The parking number already exists', 'number_exists' => 'The parking number already exists',
'space_not' => 'Parking space does not exist', 'space_not' => 'Parking space does not exist',
'abnormal' => 'Abnormal resource usage' 'abnormal' => 'Abnormal resource usage',
'vacant_repair' => 'Vacant Maintenance',
'occupied_repair' => 'Occupied Maintenance'
], ],
'parking_information' => [ 'parking_information' => [
'not_default' => 'Default parking space type not set' 'not_default' => 'Default parking space type not set'

4
resources/lang/zh-CN/service.php

@ -73,7 +73,9 @@ return [
'number_update' => '车牌号更新', 'number_update' => '车牌号更新',
'number_exists' => '车位号码已存在', 'number_exists' => '车位号码已存在',
'space_not' => '车位不存在', 'space_not' => '车位不存在',
'abnormal' => '异常占用' 'abnormal' => '异常占用',
'vacant_repair' => '空置维修',
'occupied_repair' => '已占用维修'
], ],
'parking_information' => [ 'parking_information' => [
'not_default' => '未设置默认车位类型' 'not_default' => '未设置默认车位类型'

4
resources/lang/zh-TW/service.php

@ -73,7 +73,9 @@ return [
'number_update' => '車牌號更新', 'number_update' => '車牌號更新',
'number_exists' => '車位號碼已存在', 'number_exists' => '車位號碼已存在',
'space_not' => '車位不存在', 'space_not' => '車位不存在',
'abnormal' => '異常佔用' 'abnormal' => '異常佔用',
'vacant_repair' => '空置維修',
'occupied_repair' => '已佔用維修'
], ],
'parking_information' => [ 'parking_information' => [
'not_default' => '未設定默認車位類型' 'not_default' => '未設定默認車位類型'

Loading…
Cancel
Save