作者 何书鹏
1 个管道 的构建 通过 耗费 2 秒

合并分支 'heshupeng' 到 'master'

性别



查看合并请求 !228
... ... @@ -23,7 +23,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('性别')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_radios('row[sex]', ['1'=>'男', '0'=>'女'])}
{:build_radios('row[sex]', ['1'=>'男', '2'=>'女'])}
</div>
</div>
<div class="form-group">
... ...
... ... @@ -26,7 +26,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('性别')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_radios('row[sex]', ['1'=>'男', '0'=>'女'],$row.sex)}
{:build_radios('row[sex]', ['1'=>'男', '2'=>'女'],$row.sex)}
</div>
</div>
<div class="form-group">
... ...
... ... @@ -50,7 +50,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'password', title: __('密码'), operate:false},
{field: 'card', title: __('身份证'), operate:false},
{field: 'phone', title: __('手机号'), operate:false},
{field: 'sex', title: __('性别'), searchList: {"1":"男","0":'女'},formatter: Table.api.formatter.flag},
{field: 'sex', title: __('性别'), searchList: {"1":"男","2":'女'},formatter: Table.api.formatter.flag},
{field: 'work_address', title: __('工作地点'),operate:'LIKE'},
{field: 'image', title: __('头像'), operate:false, events: Table.api.events.image, formatter: Table.api.formatter.image},
// {field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image, operate: false},
... ...