etms/WEB-INF/view/cetc54/module/module_edit.ftl

81 lines
3.6 KiB
Plaintext
Raw Normal View History

<div class="ui_dialog" id="dialog">
<form id="grid_form" method="post">
</form>
</div>
<div id="name_panel" class="hide-away" style="width: 400px;height: 300px;">
<#include "module_controllerlist.ftl">
</div>
<script id="grid_form_temp" type="text/html">
<input type="hidden" id="hdID" value="{{id}}"/>
<div class="formTitle"><span class="icon icon_menu"></span>模块信息</div>
<table class="fromTable">
<tr>
<th>上级菜单:</th>
<td><select id="parent_id" name="parent_id" class="ui_validate"
ui-config="required:true,editable:false,width:400,panelWidth:400,panelHeight:300"></select>
<ul id="pn_tree" class="ztree" style="display: none"></ul>
</td>
</tr>
<tr>
<th>模块类型:</th>
<td><select id="moduletype" name="moduletype" class="ui_validate"
ui-config="required:true,tipAfterInput:true,width:400" value="{{moduletype}}">
<option value="0">目录</option>
<option value="1">系统内模块</option>
<option value="6">系统外模块</option>
</select></td>
</tr>
<tr>
<th>菜单名称:</th>
<td><input id="name" name="name" class="ui_validate" type="text"
ui-config="required:true,tipAfterInput:true,editable:true,width:400,panelWidth:400"
value="{{name}}"/></td>
</tr>
<tr>
<th>主页面地址:</th>
<td><input id="href" name="href" class="ui_validate" type="text" class="ui_validate"
ui-config="required:false,width:400" value="{{href}}"/>
</td>
</tr>
<tr>
<th>自动展开:</th>
<td><select id="is_auto_expand" name="is_auto_expand" class="ui_validate"
ui-config="required:true,tipAfterInput:true,width:400" value="{{is_auto_expand}}">
<option value="0">否</option>
<option value="1">是</option>
</select></td>
</tr>
<tr>
<th>当前状态:</th>
<td><select id="status" name="status" class="ui_validate" type="text"
ui-config="required:true,tipAfterInput:true,width:400" value="{{status}}">
<option value="1">启用</option>
<option value="0">停用</option>
</select>
</td>
</tr>
<tr>
<th>是否显示:</th>
<td><select id="display" name="display" class="ui_validate" type="text"
ui-config="required:true,tipAfterInput:true,width:400" value="{{display}}">
<option value="1">显示</option>
<option value="0">不显示</option>
</select>
</td>
</tr>
<tr>
<th>图标:</th>
<td><input id="icon_name" name="icon_name" class="ui_validate" type="text"
ui-config="required:false,tipAfterInput:true,width:400" value="{{icon_name}}"/></td>
</tr>
<tr>
<th>排序号:</th>
<td><input id="sort_no" name="sort_no" class="ui_validate" type="text" style="width: 400px"
ui-config="required:true,tipAfterInput:true" value="{{sort_no}}"/></td>
</tr>
</table>
<div id="divPageTree" style="display: none;">
<div class="formTitle"><span class="icon icon_menu"></span>模块包含的页面与数据信息</div>
<ul id="pageTree" class="ztree"></ul>
</div>
</script>