Commit 6ae024dc by 孙龙

客户链接跳转

parent 22b9689e
Showing with 2 additions and 2 deletions
......@@ -68,8 +68,8 @@ class OrderController extends AdminController
$grid->column('company_name')->display(function ($company_name) {
return $company_name ? $company_name : "-";
});
$grid->column('scmUser.user_sn',admin_trans('scm-user.fields.user_sn'))->link(function () {
return admin_url('smc_user/'.$this->user_id);
$grid->column('scmUser.user_sn',admin_trans('scm-user.fields.user_sn'))->display(function () {
return '<a target="" iframe-extends=true iframe-tab=true href="/admin/users/'.$this->user_id.'" >'.$this->scmUser->user_sn.'</a>';
});
$grid->column('scmUser.name',admin_trans('scm-user.fields.name'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment