@using FHT.Core.UI.ViewModels.Product @using FHT.Utilities @model FHT.Management.Interfaces.InputModels.AuditReportLogInputModel @{ ViewBag.Title = "产品举报处理"; Layout = "~/Views/Shared/_Layout.cshtml"; var product = ViewBag.Product == null ? null : (ProductDetailViewModel)ViewBag.Product; } @using (Ajax.BeginForm("DealProductReport", "Report", new AjaxOptions { HttpMethod = "Post", OnSuccess = "agencyGlobal.OnDetailSumbitSuccess" }, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.ReportId) @Html.HiddenFor(m => m.IsAccepted) if (product == null) {
举报产品不存在!!!
} else {
@product.Title
@product.SystemCategory.FirstCategoryName >@product.SystemCategory.SecondCategoryName
if (product.Keywords.Any()) {
@string.Join(",", product.Keywords)
}
@foreach (var picUrl in product.PicUrls) { }
@Html.Raw(product.Content.OriginalHtml)
}
@Html.CheckBoxFor(m => m.IsNotify,new{@class="agent-checkbox"})
@Html.RequiredLabelFor(m => m.Remark)
@Html.TextAreaFor(m => m.Remark, new { @class = "form-control", style = "width:90%;" }) @Html.ValidationMessageFor(m => m.Remark)
@Html.RequiredLabelFor(m => m.Score)
@Html.TextBoxFor(m => m.Score, new { @class = "form-control", style = "width:10%;" }) @Html.ValidationMessageFor(m => m.Score)
@Html.CheckBoxFor(m => m.IsReject,new{@class="agent-checkbox"})
@Html.RequiredLabelFor(m => m.RejectReason)
@Html.TextAreaFor(m => m.RejectReason, new { @class = "form-control", style = "width:90%;" }) @Html.ValidationMessageFor(m => m.RejectReason)
} @section scripts { @Scripts.Render("~/bundles/dealDetailCallBack") }