{include file="public/layout" /}
{notempty name="$channel_id"}

### {$channeltype_row[$channel_id]['ntitle']|default='无'}字段

#####

- 模型编辑
- 字段管理

{else/} {include file="channeltype/bar" /} {/notempty}
{eq name="$Think.const.CONTROLLER_NAME.'@channel_add'|is_check_access" value="1"}
新增字段
{/eq}
{$searchform.hidden|default=''}

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

{empty name="list"}
{else/} {foreach name="list" item="vo" key="k" }
{if condition="$pager->nowPage > 1"} {$pager->listRows * ($pager->nowPage-1) + $k+1} {else /} {$k+1} {/if} | {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} | {$channeltype_list[$vo.channel_id]['title']} | {$vo.name} | {$fieldtypeList[$vo['dtype']]['title']|default='数据错误'} | {$vo.update_time|date='Y-m-d',###} | {eq name="'Field@ajax_channel_show'|is_check_access" value="1"} {if condition="$vo['ifcontrol'] eq 1"} {if condition="$vo['ifeditable'] eq 1"}隐藏{else /}显示{/if} {else /} {if condition="$vo['ifeditable'] eq 1"}隐藏{else /}显示{/if} {/if} {/eq} {if condition="($vo['ifsystem'] eq 1) OR (1 eq $vo['ifmain'])"} {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} {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} {else /} ——— {/if}
{/foreach} {/empty}

{include file="public/page" /}
{include file="public/footer" /}