|
...
|
...
|
@@ -321,6 +321,9 @@ class AsideTicketController extends BaseController |
|
|
|
$ticket->status = $request->input('status');
|
|
|
|
if ($request->input('num'))
|
|
|
|
$ticket->num = $request->input('num',0);
|
|
|
|
if ($request->input('files')){
|
|
|
|
$ticket->files = json_encode($request->input('files',[]),true);
|
|
|
|
}
|
|
|
|
//同步更改工单时间
|
|
|
|
$ticket->logs()->where('status', '<', TicketLog::STATUS_COMPLETED)->where('is_engineer', 1)->update(['plan_end_at' => $ticket->plan_end_at]);
|
|
|
|
if ($ticket->status == Tickets::STATUS_COMPLETED)
|
...
|
...
|
|