@using FHT.Core.UI.ViewModels @using FHT.Core.UI.InputModels.Search @using FHT.Core.UI.ViewModels @using FHT.Core.UI.ViewModels.Company @using FHT.Utilities @using FHT.Core.CommonTypes @using MvcPaging @using FHT @model SearchCompanyInputModel @{ Layout = "~/Views/Shared/_Layout.cshtml"; ViewBag.Title = "企业审核"; var companys = (FHT.DDD.QueryResult)ViewBag.Companys; } @section styles{ @Styles.Render("~/Content/select2") }
@using (Html.BeginForm("CompanyAuditManage", "Audit", FormMethod.Get, new { role = "form" })) {
@Html.RequiredLabelFor(m => m.CompanyId,new{@class="pull-left fht-control-label"})
@Html.TextBoxFor(m => m.CompanyId, new { @class = "form-autocomplate", data_autocomplate_url="/Company/AutoCompleteSearch"})
@Html.RequiredLabelFor(m => m.AuditStatus,new{@class="pull-left fht-control-label"})
@Html.EditorFor(m => m.AuditStatus, new { enumSource = typeof(AuditStatus) })
@Html.RequiredLabelFor(m => m.IsFreeze,new{@class="pull-left fht-control-label"})
@Html.EditorFor(m => m.IsFreeze,new { htmlAttributes = new { @class = "agent-checkbox"}})
}
@if (companys.Data.Any()) { foreach (var c in companys.Data) { } } else { }
编号 企业名称 认证 付费 冻结 行业 地区 创建者 注册时间 状态 操作
@c.CompanyId @c.Name @(c.IsCompanyVerified?"是":"否") @(c.IsPay ? "是" : "否") @(c.IsActive ? "否" : "是") @c.IndustryName @c.RegionName @c.Founder @c.CreatedTime.ToShortDateString() @c.AuditStatus.GetEnumDescription() @Html.ActionLink("审核", "CompanyAuditDetail", new { companyId = c.CompanyId }, new { target = "_blank" })
暂无数据
@if ((companys.TotalCount - 1) / Model.Limit > 0) { @Html.Pager(Model.Limit, Model.CurrPage, (int)companys.TotalCount).Options(opt => { opt.Action("CompanyAuditManage") .PageRouteValueKey("CurrPage") .AddRouteValue("AuditStatus", Model.AuditStatus) .AddRouteValue("CompanyId", Model.CompanyId) .AddRouteValue("IsFreeze", Model.IsFreeze) .SetNextPageText(">") .DisplayTemplate("BootstrapPagination") .SetPreviousPageText("<"); }) }