作者 刘朕
1 个管道 的构建 通过 耗费 14 秒

后台数管客户名称展示字段修改

... ... @@ -52,7 +52,7 @@ class Shuguan extends Backend
{
return $this->selectpage();
}
list($where, $sort, $order, $offset, $limit) = $this->buildparams('api.name,admin.nickname');
list($where, $sort, $order, $offset, $limit) = $this->buildparams('api.name,admin.kehu_name');
$total = $this->model
->with(['api','admin'])
->where($where)
... ...
... ... @@ -30,7 +30,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="form-control shuguan_detail">{$row.admin.nickname|htmlentities}</div>
<div class="form-control shuguan_detail">{$row.admin.kehu_name|htmlentities}</div>
</div>
</div>
<div class="form-group">
... ...
... ... @@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{checkbox: true},
{field: 'id', title: __('Id'), operate: false},
{field: 'api.name', title: __('Api.Name'), operate: 'LIKE'},
{field: 'admin.nickname', title: __('Admin.Nickname'), operate: 'LIKE'},
{field: 'admin.kehu_name', title: __('Admin.Nickname'), operate: 'LIKE'},
{field: 'files', title: __('files'), events: Table.api.events.image, formatter: Table.api.formatter.image},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, width: "300px",
... ...