|
@@ -124,7 +124,7 @@ class BookingListService extends Service
|
|
if(empty($customer)) return [false,'记录不存在或已被删除'];
|
|
if(empty($customer)) return [false,'记录不存在或已被删除'];
|
|
$customer = $customer->toArray();
|
|
$customer = $customer->toArray();
|
|
$customer['state_title'] = BookingList::$name[$customer['state']] ?? "";
|
|
$customer['state_title'] = BookingList::$name[$customer['state']] ?? "";
|
|
- $customer['type'] = BookingList::$model_type[$customer['type']] ?? "";
|
|
|
|
|
|
+ $customer['type_title'] = BookingList::$model_type[$customer['type']] ?? "";
|
|
|
|
|
|
$customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
|
|
$customer['crt_name'] = Employee::where('id',$customer['crt_id'])->value('emp_name');
|
|
$customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
|
|
$customer['crt_time'] = $customer['crt_time'] ? date("Y-m-d H:i:s",$customer['crt_time']): '';
|