{sub admin_header} {if $tab == 'model'} {if $method == 'index'} {adminList 删? |id |del 排序 |sort |sort 模块名 |name 别名 |ename 所属菜单|parentMenuName 创建时间|addTime |flag,date2 最后修改|lastEditTime|flag,date2 |id |link,edit=编辑;link,fields=字段管理;link,index=索引管理;link,backup=创建备份 } {elseif $method == 'add'}
$sys_hash_code
模块类型
模块名称
别名
所属菜单
{elseif $method == 'edit'}
$sys_hash_code
模块名称
别名
所属菜单
{/if} {elseif $tab == 'field'} {if $method == 'list'} {adminList 删? |id |del 排序 |sort |sort 名字 |name |code,
$v[name]
字段名 |fieldName |code,
$v[fieldName]
字段类型 |fieldType |code,
$v[fieldType]
HTML名 |htmlName |code,
$v[htmlName]
HTML类型 |htmlType |code,
$v[htmlType]
是否验证 |htmlIsReg |code,{if $v[htmlIsReg]}是{else}否{/if} 后台是否显示|htmlIsReg|code,{if $v[bListShow]}是{else}否{/if} 正则表达式|htmlRegStr |code,
$v[htmlRegStr]
|id |link,editField=编辑 } {elseif $method == 'addField' || $method == 'editField'}
$sys_hash_code
名称
字段名
字段类型
HTML名
HTML类型
HTML宽度
HTML高度
图片宽度
图片高度
列表值
默认值
HTML是否验证
HTML验证规则
提示信息
后台列表是否显示
{/if} {elseif $tab == 'index'} {if $method == 'list'} {adminList 删? |id |del 排序 |sort |sort 名字 |name |code,
$v[name]
索引名 |indexName |code,
$v[indexName]
索引字段 |indexFiles |code,
$v[indexFields]
索引类型 |indexType |code,{if $v[indexType]}唯一键(UNIQUE){else}普通索引{/if} |id |link,editIndex=编辑 } {elseif $method == 'addIndex' || $method == 'editIndex'}
$sys_hash_code
名称
索引名
选择字段 {loop $allFields $k $v}
{/loop}
字段集
唯一性
{/if} {/if} {sub admin_footer}