CRM_EasyUI_2016/Views/CRM_Module/Create.cshtml

(开头部分) 7KB

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

@model GroupThink.CRM.Model.Sys.CRM_Module_Model
@using GroupThink.CRM.Common;
@using GroupThink.CRM.Model.Sys;
@using CRM_EasyUI_2016;
@{
    ViewBag.Title = "创建";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
    //List<PermModel> perm = (List<PermModel>)ViewBag.Perm;
    //if (perm == null)
    //{
    //    perm = new List<PermModel>();
    //}
}
<table width="100%" style="border:none">
    <thead>
        <tr>
            <td 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())
        {
            @Html.ValidationSummary(true)
            <table class="add_wrap" width="100%">
                <tbody>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.ID):
                        </td>
                        <td class="ipt" style="width: 75%">
                            @Html.EditorFor(model => model.ID)
                            <span>&nbsp;&nbsp;</span>
                            @Html.ValidationMessageFor(model => model.ID)
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.Name):
                        </td>
                        <td>
                            @Html.EditorFor(model => model.Name)
                            <span>&nbsp;&nbsp;</span>@Html.ValidationMessageFor(model => model.Name)
                        </td>
                    </tr>
                    <tr>
                        <td class="title">
                            @Html.LabelFor(model => model.ParentID):
                        </td>
                        <td>
                            <input id="ParentId" name="ParentId"  class="easyui-combotree" data-options="panelHeight:'200'" style="width: 250px;
                                height: auto" />
                            <span>&nbsp;&nbsp;</span>@Html.ValidationMessageFor(model => model.ParentID)
                        </td>
后面还有 127 行代码,购买后查看完整代码

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

AI 解读

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

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