Accept Merge Request #145: (feature/dgg -> develop)
Merge Request: feat: 【小程序】修改服务过程中日志文案 Created By: @大狗哥 Accepted By: @大狗哥 URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/145?initial=true
This commit is contained in:
commit
f4ffaabbfc
|
|
@ -167,10 +167,10 @@ class OrderDispatchService extends BaseService
|
|||
|
||||
$orderDispatch->save();
|
||||
|
||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||
$orderDispatch->admin_user = '工程师:'. $orderDispatch->worker_name;
|
||||
$orderDispatchChangeParams = [
|
||||
'dispatch' => $orderDispatch,
|
||||
'remark' => $type == 'accept' ? '师傅接单' : '师傅拒接',
|
||||
'remark' => $type == 'accept' ? '接单' : '拒接',
|
||||
];
|
||||
Hook::listen('order_dispatch_change', $orderDispatchChangeParams);
|
||||
|
||||
|
|
@ -294,10 +294,10 @@ class OrderDispatchService extends BaseService
|
|||
$orderDispatch->follow = 1;
|
||||
$orderDispatch->save();
|
||||
|
||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||
$orderDispatch->admin_user = '工程师:'. $orderDispatch->worker_name;
|
||||
$orderDispatchChangeParams = [
|
||||
'dispatch' => $orderDispatch,
|
||||
'remark' => '师傅已和客户预约,预约时间:' . $planTime,
|
||||
'remark' => '已和客户预约,预约时间:' . $planTime,
|
||||
];
|
||||
Hook::listen('order_dispatch_change', $orderDispatchChangeParams);
|
||||
|
||||
|
|
@ -314,10 +314,10 @@ class OrderDispatchService extends BaseService
|
|||
$orderDispatch->plan_time = $planTime;
|
||||
$orderDispatch->save();
|
||||
|
||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||
$orderDispatch->admin_user = '工程师:'. $orderDispatch->worker_name;
|
||||
$orderDispatchChangeParams = [
|
||||
'dispatch' => $orderDispatch,
|
||||
'remark' => "师傅修改上门时间,旧的时间:{$orderDispatch->plan_time},新的时间:$planTime"
|
||||
'remark' => "修改上门时间,旧的时间:{$orderDispatch->plan_time},新的时间:$planTime"
|
||||
];
|
||||
Hook::listen('order_dispatch_change', $orderDispatchChangeParams);
|
||||
|
||||
|
|
@ -341,11 +341,11 @@ class OrderDispatchService extends BaseService
|
|||
$orderDispatch->follow = 1;
|
||||
$orderDispatch->save();
|
||||
|
||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||
$orderDispatch->admin_user = '工程师:'. $orderDispatch->worker_name;
|
||||
//派单状态变更
|
||||
$orderDispatchChangeParams = [
|
||||
'dispatch' => $orderDispatch,
|
||||
'remark' => '师傅已上门,上门时间:' . $time,
|
||||
'remark' => '已上门',
|
||||
];
|
||||
Hook::listen('order_dispatch_change', $orderDispatchChangeParams);
|
||||
|
||||
|
|
@ -426,11 +426,11 @@ class OrderDispatchService extends BaseService
|
|||
|
||||
$orderDispatch->save();
|
||||
|
||||
$orderDispatch->admin_user = '师傅:'. $orderDispatch->worker_name;
|
||||
$orderDispatch->admin_user = '工程师:'. $orderDispatch->worker_name;
|
||||
//派单状态变更
|
||||
$orderDispatchChangeParams = [
|
||||
'dispatch' => $orderDispatch,
|
||||
'remark' => '师傅已完成服务,完成时间:' . $time,
|
||||
'remark' => '已完成服务',
|
||||
];
|
||||
Hook::listen('order_dispatch_change', $orderDispatchChangeParams);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user