Views/I3/I030d/Index.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model IEnumerable<OPMS.Models.I030d>
@{
ViewBag.Title = "Index";
}
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">></span> 综合管理 <span class="c-gray en">></span> 综合字典<a class="btn btn-success radius r mr-20" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a></nav>
<div class="pd-20">
<div class="text-l">
@using (Html.BeginForm("Index", "I030d", FormMethod.Get))
{
<span class="l mb-5">字典分类:
<input type="text" id="lx" value="@ViewBag.Typeid" hidden="hidden" >
<select id="tid" name="tid" class="seldrp" style="width:140px;">
<option value='101'>休假类型</option>
<option value='102'>报销类别</option>
<option value='103'>出差事由</option>
<option value='104'>资产分类</option>
</select>
关键字查询:
<input type="text" class="input-text w220" placeholder="输入名称、编号" id="queryStr" name="queryStr" value="@ViewBag.queryStr">
<button type="submit" class="btn btn-success"><i class="Hui-iconfont"></i> 查询</button>
</span>
}
<span class="r mb-5">
<a class="btn btn-primary radius" onclick="add('新增字典数据','/I030d/Create')" href="javascript:;"><i class="Hui-iconfont"></i> 新增数据</a>
</span>
</div>
<table class="table table-border table-bordered table-bg table-hover table-sort">
<tr>
<th>
@Html.DisplayNameFor(model => model.Mc)
</th>
<th>
说明
</th>
<th>
@Html.DisplayNameFor(model => model.Types)
</th>
<th>
@Html.DisplayNameFor(model => model.States)
</th>
<th>操作</th>
</tr>
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Mc)
</td>
<td title="@item.Sm">
@if (item.Sm != null && item.Sm.Length > 30)
{
<span>@item.Sm.Substring(0, 29) ..</span>
}
else
{
@Html.DisplayFor(modelItem => item.Sm)
}
后面还有 28 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
