ASP.NET.4.5.1+MVC5.0设置系统角色与权限(二)(18)


@{
    ViewBag.Title = "Add";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div>
    <div>
        <div>
            <h3>添加</h3>
        </div>
        <div>
            @using (Html.BeginForm())
            {
                <dl>
                    <dd>部门名称:</dd>
                    <dd>
                        <input type="text" datatype="*" nullmsg="请输入产品名称" />
                    </dd>
                </dl>
                <dl>
                    <dd>是否销售:</dd>
                    <dd>
                        <select>
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dd>
                        <input type="submit" value="提 交" />
                    </dd>
                </dl>
            }
        </div>
    </div>
</div>
<script>
    //菜单显示
    $("#systemusersys").addClass("hbg");
    $("");
    $("");
    $(".systemusersys").each(function (index, item) {
        $(this).show();
    });
</script>

Edit.cshtml

复制代码 代码如下:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjzwdj.html