<?php

namespace App\Admin\Actions\backstage\User;

use Encore\Admin\Actions\RowAction;
use Illuminate\Database\Eloquent\Model;

class Suggests extends RowAction
{
    public $name = '病例意见单';

    public function handle(Model $model)
    {
        // $model ...
//        dd($model);
        return $this->response()->success('跳转病例意见单成功')->redirect('/admin/user_suggests?order_id='.$this->row->id.'');
    }

}