@using CRM.Core.Model.Entity @model CRM.Core.DTO.CmsNews.NewsDetailModel @using Core.Web.WebHelper @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } @**@
@Model.DeptName
@Model.classtitle
@Model.risktips
@Model.usemeno
@Model.ctime.Value.ToString("yyyy-MM-dd HH:mm:ss")
@Model.statusName
@(Model.authors != null ? Model.authors : "缺少")
@{var lecturerlist = Model.LecturerModel as List; } @if (lecturerlist != null && lecturerlist.Count > 0) { foreach (var d in lecturerlist) { @(d.name)(@d.code) } }
@Model.newstypeName
@if (Model.newstype == 15) {
@Model.newssubtypename
} @if (!string.IsNullOrEmpty(Model.stocks)) {
} @if (Model.newstype == 1) {
@Model.title
if (!string.IsNullOrEmpty(Model.subtitle)) {
@Model.subtitle
} if (!string.IsNullOrEmpty(Model.intro)) {
@Model.intro
} if (!string.IsNullOrEmpty(Model.thumb)) {
}
@Html.Raw(Model.content);
} else if (Model.newstype == 2) {
@Model.title
if (!string.IsNullOrEmpty(Model.subtitle)) {
@Model.subtitle
} if (!string.IsNullOrEmpty(Model.intro)) {
@Model.intro
} if (!string.IsNullOrEmpty(Model.thumb)) {
} if (!string.IsNullOrEmpty(Model.url)) {
} } else if (Model.newstype == 3) {
@Model.shortessay
if (!string.IsNullOrEmpty(Model.files)) {
} if (!string.IsNullOrEmpty(Model.url)) {
} if (!string.IsNullOrEmpty(Model.urltxt)) {
@Model.urltxt
} } else if (Model.newstype == 4) {
@Model.title
if (!string.IsNullOrEmpty(Model.subtitle)) {
@Model.subtitle
} if (!string.IsNullOrEmpty(Model.intro)) {
@Model.intro
} if (!string.IsNullOrEmpty(Model.thumb)) {
} if (!string.IsNullOrEmpty(Model.url)) {
} } else if (Model.newstype == 7) {
} else if (Model.newstype == 10) {
@Model.shortessay
if (!string.IsNullOrEmpty(Model.files)) {
}
} else if (Model.newstype == 12) {
()
} else if (Model.newstype == 14) {
@Model.title
if (!string.IsNullOrEmpty(Model.subtitle)) {
@Model.subtitle
} if (!string.IsNullOrEmpty(Model.intro)) {
@Model.intro
} if (!string.IsNullOrEmpty(Model.thumb)) {
} if (!string.IsNullOrEmpty(Model.files)) {
} } else if (Model.newstype == 15) {
} @if (Model.checkstatus == (int)CRM.Core.DTO.LivePlan.ComplianceCheckBeforeStatus.提审 || Model.checkstatus == (int)CRM.Core.DTO.LivePlan.ComplianceCheckBeforeStatus.通过 || Model.checkstatus == (int)CRM.Core.DTO.LivePlan.ComplianceCheckBeforeStatus.驳回) { }
@{ var datalist = ViewBag.LogList as List; } @if (datalist != null && datalist.Count > 0) { foreach (var d in datalist) { } }
id 时间 操作人 操作 说明
@d.id @d.ctime @d.operatorname @d.operation @if (!string.IsNullOrEmpty(d.memo)) { 查看 }