@using FHT.Core.UI.InputModels.Search @using FHT.Management.Interfaces.ViewModels @using MvcPaging @using FHT.Utilities @model FeedBackFilterableInputModel @{ ViewBag.Title = "代理商申请信息处理"; Layout = "~/Views/Shared/_Layout.cshtml"; var joinApplies = (FHT.DDD.QueryResult)ViewBag.JoinApplies; } @section styles{ @Styles.Render("~/Content/select2") }
@using (Html.BeginForm("Index", "JoinApply", FormMethod.Get, new {role = "form" })) {
@Html.RequiredLabelFor(m => m.Title, new{@class="pull-left fht-control-label"})
@Html.TextBoxFor(m => m.Title, new { @class = "form-control"})
@Html.RequiredLabelFor(m => m.IsDeal, new{@class="pull-left fht-control-label"})
@Html.CheckBoxFor(m => m.IsDeal,new{@class="agent-checkbox"})
}
@if (joinApplies.Data.Any()) { foreach (var fd in joinApplies.Data) { } } else { }
编号 公司名称 申请人 联系方式 处理状态 申请日期 操作
@fd.JoinId @fd.CompanyName @fd.Name @fd.Mobile @(fd.IsDeal ? "已处理" : "未处理") @fd.Created.ToShortDateString() @Html.ActionLink(fd.IsDeal ? "详情" : "处理", "Detail", new { jId = fd.JoinId }, new { target = "_blank" })
暂无数据
@if ((joinApplies.TotalCount - 1) / Model.Limit > 0) { @Html.Pager(Model.Limit, Model.CurrPage, (int)joinApplies.TotalCount).Options(opt => { opt.Action("Index") .PageRouteValueKey("CurrPage") .AddRouteValue("Title", Model.Title) .AddRouteValue("IsDeal", Model.IsDeal) .SetNextPageText(">") .DisplayTemplate("BootstrapPagination") .SetPreviousPageText("<"); }) }