mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-22 12:09:19 +08:00
Routine update
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
|
||||
@model OpenAuth.App.ViewModel.Module
|
||||
@model OpenAuth.Domain.Module
|
||||
@{
|
||||
ViewBag.Title = "title";
|
||||
ViewBag.Title = "Module编辑界面";
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
@@ -12,137 +11,130 @@
|
||||
<tr>
|
||||
<td align="center"><h3>* 添加</h3></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
@Html.HiddenFor(m =>m.Id)
|
||||
<tr>
|
||||
@Html.HiddenFor(m => m.Id)
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="CascadeId" class="control-label x90">节点语义ID:</label>
|
||||
<input type="text" name="CascadeId" id="CascadeId" value="@Model.CascadeId"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="Name" class="control-label x90">功能模块名称:</label>
|
||||
<input type="text" name="Name" id="Name" value="@Model.Name"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="Url" class="control-label x90">主页面URL:</label>
|
||||
<input type="text" name="Url" id="Url" value="@Model.Url"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="HotKey" class="control-label x90">热键:</label>
|
||||
<input type="text" name="HotKey" id="HotKey" value="@Model.HotKey"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
<label for="ParentId" class="control-label x90">父节点流水号:</label>
|
||||
<input type="text" name="ParentId" id="ParentId" value="@Model.ParentId"
|
||||
data-rule="required" size="20">
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="ParentId" class="control-label x85">父节点流水号:</label>
|
||||
|
||||
<select name="ParentId" id="ParentId" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.ParentId == 0) { <text> selected="selected" </text> }>默认</option>
|
||||
<option value="1" @if (Model.ParentId == 1) { <text> selected="selected" </text> }>状态1</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="IsLeaf" class="control-label x85">是否叶子节点:</label>
|
||||
|
||||
<select name="IsLeaf" id="IsLeaf" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.IsLeaf == 0) { <text> selected="selected" </text> }>否</option>
|
||||
<option value="1" @if (Model.IsLeaf == 1) { <text> selected="selected" </text> }>是</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="IsAutoExpand" class="control-label x85">是否自动展开:</label>
|
||||
<label for="IsLeaf" class="control-label x85">是否叶子节点:</label>
|
||||
|
||||
<select name="IsAutoExpand" id="IsAutoExpand" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.IsAutoExpand == 0) { <text> selected="selected" </text> }>否</option>
|
||||
<option value="1" @if (Model.IsAutoExpand == 1) { <text> selected="selected" </text> }>是</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<select name="IsLeaf" id="IsLeaf" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.IsLeaf) { <text> selected="selected" </text> }>否</option>
|
||||
<option value="1" @if (!Model.IsLeaf) { <text> selected="selected" </text> }>是</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="IsAutoExpand" class="control-label x85">是否自动展开:</label>
|
||||
|
||||
<select name="IsAutoExpand" id="IsAutoExpand" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.IsAutoExpand) { <text> selected="selected" </text> }>否</option>
|
||||
<option value="1" @if (!Model.IsAutoExpand) { <text> selected="selected" </text> }>是</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<label for="IconName" class="control-label x90">节点图标文件名称:</label>
|
||||
<input type="text" name="IconName" id="IconName" value="@Model.IconName"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
<label for="Status" class="control-label x90">当前状态:</label>
|
||||
<input type="text" name="Status" id="Status" value="@Model.Status"
|
||||
data-rule="required" size="20">
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Status" class="control-label x85">当前状态:</label>
|
||||
|
||||
<select name="Status" id="Status" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.Status == 0) { <text> selected="selected" </text> }>默认</option>
|
||||
<option value="1" @if (Model.Status == 1) { <text> selected="selected" </text> }>状态1</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="ParentName" class="control-label x90">父节点名称:</label>
|
||||
<input type="text" name="ParentName" id="ParentName" value="@Model.ParentName"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
|
||||
<label for="Vector" class="control-label x90">矢量图标:</label>
|
||||
<input type="text" name="Vector" id="Vector" value="@Model.Vector"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
|
||||
<label for="SortNo" class="control-label x90">排序号:</label>
|
||||
<input type="text" name="SortNo" id="SortNo" value="@Model.SortNo"
|
||||
data-rule="required" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Organizations" class="control-label x90">所属机构:</label>
|
||||
<input id="OrganizationIds" name="OrganizationIds" value="@Model.OrganizationIds" style="display: none" />
|
||||
<input type="text" name="Organizations" id="Organizations"
|
||||
data-toggle="selectztree" size="20" data-tree="#j_select_tree1" value="@Model.Organizations">
|
||||
<ul id="j_select_tree1" class="ztree hide" data-toggle="ztree" >
|
||||
</ul>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<label for="SortNo" class="control-label x85">排序号:</label>
|
||||
|
||||
<select name="SortNo" id="SortNo" data-toggle="selectpicker" data-rule="required">
|
||||
<option value="0" @if (Model.SortNo == 0) { <text> selected="selected" </text> }>默认</option>
|
||||
<option value="1" @if (Model.SortNo == 1) { <text> selected="selected" </text> }>状态1</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user