etms/WEB-INF/view/cetc54/category/edit.ftl

50 lines
2.1 KiB
Plaintext
Raw Normal View History

<form id="grid_form" method="post"></form>
<script id="grid_form_temp" type="text/html">
<input type="hidden" name="id" id="id" value="{{id}}"/>
<input type="hidden" name="pid" id="pid" value="{{pid}}"/>
<div class="formTitle">
<button type="button" id="btnAdd" ui-config="style:'button_submit'">添加</button>
<button type="button" id="btnDelete" ui-config="style:'button_danger'">删除</button>
</div>
<div class="editTitle">
<i class="fa fa-arrow-circle-right"></i>
<label id="notice">新增结点至[根目录]</label>
</div>
<table class="fromTable">
<tr id="codeRow">
<th>分类编码:</th>
<td><input id="code" name="code" class="ui_validate" type="text" style="width: 400px"
ui-config="required:true,tipAfterInput:true" value="{{code}}"/></td>
</tr>
<tr>
<th>分类名称:</th>
<td><input id="name" name="name" class="ui_validate" type="text" style="width: 400px"
ui-config="required:true,tipAfterInput:true" value="{{name}}"/></td>
</tr>
<tr id="typeRow">
<th>分类类型:</th>
<td>
<select id="categorytype" name="categorytype" ui-config="required:true" value="{{categorytype}}">
<#if cateType_sys>
<option value="0">系统缺省</option>
</#if>
<#if cateType_buss>
<option value="1">业务应用</option>
</#if>
</select>
</td>
</tr>
<tr>
<th>图标:</th>
<td><input id="iconname" name="iconName" class="ui_validate" type="text"
ui-config="required:false,tipAfterInput:true,width:400" value="{{iconname}}"/></td>
</tr>
<tr>
<td></td>
<td>
<button type="button" id="btnSave" ui-config="icons:{left:'icon_submit'},style:'button_submit'">保存
</button>
</td>
</tr>
</table>
</script>