CRM_EasyUI_2016/Views/CRM_User/Edit.cshtml

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model GroupThink.CRM.Model.Sys.CRM_User_Model
@using GroupThink.CRM.Common;
@using CRM_EasyUI_2016;
@using GroupThink.CRM.Model.Sys;
@{
    //List<PermModel> perm = (List<PermModel>)ViewBag.Perm;
    //if (perm == null)
    //{
    //    perm = new List<PermModel>();
    //}
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}

<table width="100%" style="border: none">
    <thead>
        <tr>
            <td colspan="4" align="center">
                <div class="btn sub_btn" style="padding: 0; font-weight: normal">
                    @Html.BsButtonT("button", "btnSave", "保存", "btn btn-primary")
                    @Html.BsButtonT("button", "btnClose", "关闭", "btn btn-primary")
                </div>
            </td>
        </tr>
    </thead>
</table>
    <div class="easyui-layout" fit="true">
    <div region="center" border="false" style="overflow: auto; padding: 5px;">
        @using (Html.BeginForm("Edit", "CRM_User", null, FormMethod.Post, new { Id = "EditForm" }))
        {
            @Html.ValidationSummary(true)
            @Html.HiddenFor(model=>model.PassWord)
            @Html.HiddenFor(model => model.CreateTime)
            @Html.HiddenFor(model => model.CreateUserID)
            @Html.HiddenFor(model => model.UserState)
            <table class="add_wrap" width="100%">
                <tbody>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.ID):
                        </td>
                        <td class="ipt" colspan="3">
                            @Html.TextBoxFor(model => model.ID)<label class="lbl">*</label>
                            <span>&nbsp;&nbsp;</span>
                            @Html.ValidationMessageFor(model => model.ID)
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.UserName):
                        </td>
                        <td>
                             @Html.TextBoxFor(model => model.UserName)<label class="lbl">*</label>
                            <span>&nbsp;&nbsp;</span>
                            @Html.ValidationMessageFor(model => model.UserName)
                        </td>
                         <td class="title">
                            @Html.LabelFor(model => model.UserType):
                        </td>
                        <td>
后面还有 148 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。