%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Notice.Select1" %>
<% foreach (var field in this.Fields) { switch (field) { case "Status": //Notice_状态 %> | ',event)"> <%= Define.Get("Notice_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "NoticeDomainName": //Notice_DomainName_平台名称 %>',event)"> <%= Define.Get("Notice_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> | <% break; case "NoticeDomainCode": //Notice_DomainCode_平台编码 %>',event)"> <%= Define.Get("Notice_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> | <% break; case "Title": //Notice_标题 %>',event)"> <%= Define.Get("Notice_标题").HtmlEncode() %> <%= OrderBy("Title") %> | <% break; case "AddTime": //Notice_添加时间 %>',event)"> <%= Define.Get("Notice_添加时间").HtmlEncode() %> <%= OrderBy("AddTime") %> | <% break; case "ActiveBeginDate": //Notice_开始日期 %>',event)"> <%= Define.Get("Notice_开始日期").HtmlEncode() %> <%= OrderBy("ActiveBeginDate") %> | <% break; case "ActiveEndDate": //Notice_结束日期 %>',event)"> <%= Define.Get("Notice_结束日期").HtmlEncode() %> <%= OrderBy("ActiveEndDate") %> | <% break; case "Type": //Notice_公告类型 %>',event)"> <%= Define.Get("Notice_公告类型").HtmlEncode() %> <%= OrderBy("Type") %> | <% break; case "SortNumber": //Notice_排序号 %>',event)"> <%= Define.Get("Notice_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|
<% foreach (var field in this.Fields) { switch (field) { case "Status": %> | <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeStatusEnum)item.Status).Define() : null %> | <% break; case "NoticeDomainName": %>"> <%= ViewData.Val("ParentDomain.Name", item) %> | <% break; case "NoticeDomainCode": %>"> <%= ViewData.Val("ParentDomain.Code", item) %> | <% break; case "Title": %><%= item.Title %> | <% break; case "AddTime": %><%= item.AddTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "ActiveBeginDate": %><%= item.ActiveBeginDate.ToDateTimeN().ToAutoShortDate() %> | <% break; case "ActiveEndDate": %><%= item.ActiveEndDate.ToDateTimeN().ToAutoShortDate() %> | <% break; case "Type": %><%= item.Type != null ? ((AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum)item.Type).Define() : null %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>