{include file="public/layout" /}
{include file="field/channel_bar" /}

### {$channeltype_list[$channel_id]['title']} - 字段列表

##### (共{$pager->totalRows}条记录)

{$searchform.hidden|default=''}

ID | 字段标题 | 字段名称 | 字段类型 | 字段分类 | 更新时间 | 操作 | 排序
--- | --- | --- | --- | --- | --- | --- | ---

{empty name="list"}
没有符合条件的记录
{else/} {foreach name="list" item="vo" key="k" }
{$vo.id} | {if condition="($vo['ifsystem'] eq 1) OR (1 eq $vo['ifmain'])"} {$vo.title} {else /} {eq name="$Think.const.CONTROLLER_NAME.'@channel_edit'|is_check_access" value="1"} {$vo.title} {else /} {$vo.title} {/eq} {/if} | {$vo.name} | {$fieldtypeList[$vo['dtype']]['title']|default='数据错误'} | {if condition="($vo['ifsystem'] eq 1) OR (1 eq $vo['ifmain'])"} 系统 {else /} 自定义 {/if} | {$vo.update_time|date='Y-m-d',###} | {eq name="'Field@ajax_channel_show'|is_check_access" value="1"} {if condition="$vo['ifcontrol'] eq 1"} ——— {else /} {if condition="$vo['ifeditable'] eq 1"}隐藏{else /}显示{/if} {/if} {/eq} {if condition="($vo['ifsystem'] eq 1) OR (1 eq $vo['ifmain'])"} —————— {else /} {eq name="$Think.const.CONTROLLER_NAME.'@channel_edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="$Think.const.CONTROLLER_NAME.'@channel_del'|is_check_access" value="1"} 删除 {/eq} {/if} 标签调用 | {if condition="empty($vo['ifmain'])"} {eq name="$Think.const.CONTROLLER_NAME.'@channel_edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq} {/if}
{/foreach} {/empty}

{eq name="$Think.const.CONTROLLER_NAME.'@channel_add'|is_check_access" value="1"}
新增字段
{/eq}
{$page}
{include file="public/footer" /}