2016-01-05 17:14:10 +08:00
|
|
|
|
@{
|
2016-10-14 11:22:16 +08:00
|
|
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
2015-12-15 23:04:20 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@{ Html.RenderAction("MenuHeader", "Home");}
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<div class="bjui-pageContent tableContent" style="position: relative">
|
2015-12-15 23:04:20 +08:00
|
|
|
|
<div class="clearfix">
|
|
|
|
|
<div style="float: left; width: 220px; overflow: auto;" class="table table-bordered">
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<ul id="tree" class="ztree"></ul>
|
2015-12-15 23:04:20 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
2016-02-02 16:32:26 +08:00
|
|
|
|
<div id="detail" style="margin-left: 225px;">
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<table id="maingrid" class="table table-bordered"></table>
|
2015-12-15 23:04:20 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<!--编辑对话框-->
|
|
|
|
|
<div class="bjui-dialog hidden bjui-dialog-container" id="editDlg" data-noinit="true">
|
|
|
|
|
<div class="bjui-pageContent">
|
|
|
|
|
<form action="/CategoryManager/Add" class="pageForm" data-toggle="validate" data-reload="false" id="editForm">
|
|
|
|
|
<input type="text" id="Id" name="Id" value="" class="hidden" />
|
|
|
|
|
<table class="table table-condensed table-hover">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Name" class="control-label x120">名称:</label>
|
|
|
|
|
<input type="text" name="Name" id="Name" data-rule="required" size="20">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="ParentName" class="control-label x120">上级分类:</label>
|
|
|
|
|
<input id="ParentId" name="ParentId" style="display: none" />
|
|
|
|
|
<input type="text" name="ParentName" id="ParentName"
|
|
|
|
|
data-toggle="selectztree" size="20" data-tree="#j_select_tree1">
|
|
|
|
|
<ul id="j_select_tree1" class="ztree hide" data-toggle="ztree"></ul>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2015-12-15 23:04:20 +08:00
|
|
|
|
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="Status" class="control-label x120">当前状态:</label>
|
|
|
|
|
<select name="Status" id="Status" data-toggle="selectpicker" data-rule="required">
|
|
|
|
|
<option value="0">默认</option>
|
|
|
|
|
<option value="1">禁用</option>
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="SortNo" class="control-label x120">排序号:</label>
|
|
|
|
|
<input type="text" name="SortNo" id="SortNo" data-rule="required" size="20">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="RootName" class="control-label x120">从属行业(应用):</label>
|
|
|
|
|
<input type="text" name="RootName" id="RootName" size="20">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<label for="RootKey" class="control-label x120">从属行业(应用)标识:</label>
|
|
|
|
|
<input type="text" name="RootKey" id="RootKey" size="20">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bjui-pageFooter">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><button type="button" class="btn btn-close">关闭</button></li>
|
|
|
|
|
<li><button type="button" class="btn btn-primary" id="btnSave">保存</button></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2015-12-15 23:04:20 +08:00
|
|
|
|
|
2016-04-15 17:49:21 +08:00
|
|
|
|
<script src="~/BllScripts/grid.js"></script>
|
|
|
|
|
<script src="~/BllScripts/categoryManager.js"></script>
|