CRM_EasyUI_2016/Views/CRM_Dept/Create.cshtml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model GroupThink.CRM.Model.Sys.CRM_Dept_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 = "Create";
Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
}
<div id="dlg" class="easyui-window" data-options="modal:true,closed:true,minimizable:false,shadow:false">
</div>
<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("Create", "CRM_Dept", null, FormMethod.Post, new { Id = "CreateForm" }))
{
@Html.ValidationSummary(true)
<table class="add_wrap" width="100%">
<tbody>
<tr>
<td class="title">
@Html.Hidden("selectParentId", "1")
@Html.LabelFor(model => model.DeptName):
</td>
<td class="ipt" style="width: 75%">
@Html.TextBoxFor(model => model.DeptName)<label class="lbl">*</label>
<span> </span>
@Html.ValidationMessageFor(model => model.DeptName)
</td>
</tr>
<tr>
<td class="title">
@Html.LabelFor(model => model.ParentID):
</td>
<td>
<select id="ParentId" style="width:200px">
<option value="1">--请选择--</option>
</select>
<span> </span>
@Html.ValidationMessageFor(model => model.ParentID)
</td>
</tr>
<tr>
<td class="title">
后面还有 73 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
