%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.PushFileDownLoad.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "PushType": //PushFileDownLoad_推送类型 %> | ',event)"> <%= Define.Get("PushFileDownLoad_推送类型").HtmlEncode() %> <%= OrderBy("PushType") %> | <% break; case "FileType": //PushFileDownLoad_文件类型 %>',event)"> <%= Define.Get("PushFileDownLoad_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> | <% break; case "PushFileDownLoadDomainName": //PushFileDownLoad_DomainName_平台名称 %>',event)"> <%= Define.Get("PushFileDownLoad_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> | <% break; case "PushFileDownLoadDomainCode": //PushFileDownLoad_DomainCode_平台编码 %>',event)"> <%= Define.Get("PushFileDownLoad_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> | <% break; case "TargetGuid": //PushFileDownLoad_视频或直播Guid %>',event)"> <%= Define.Get("PushFileDownLoad_视频或直播Guid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> | <% break; case "Url": //PushFileDownLoad_文件地址 %>',event)"> <%= Define.Get("PushFileDownLoad_文件地址").HtmlEncode() %> <%= OrderBy("Url") %> | <% break; case "CreateTime": //PushFileDownLoad_创建时间 %>',event)"> <%= Define.Get("PushFileDownLoad_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; case "QueueTime": //PushFileDownLoad_队列时间 %>',event)"> <%= Define.Get("PushFileDownLoad_队列时间").HtmlEncode() %> <%= OrderBy("QueueTime") %> | <% break; case "StartTime": //PushFileDownLoad_开始时间 %>',event)"> <%= Define.Get("PushFileDownLoad_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> | <% break; case "EndTime": //PushFileDownLoad_结束时间 %>',event)"> <%= Define.Get("PushFileDownLoad_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> | <% break; case "Status": //PushFileDownLoad_文件迁移状态 %>',event)"> <%= Define.Get("PushFileDownLoad_文件推送状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "Description": //PushFileDownLoad_推送信息 %>',event)"> <%= Define.Get("PushFileDownLoad_推送信息").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "SortNumber": //PushFileDownLoad_排序号 %>',event)"> <%= Define.Get("PushFileDownLoad_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "PushType":
%>
<%= item.PushType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadPushTypeEnum)item.PushType).Define() : null %> | <% break; case "FileType": %><%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadFileTypeEnum)item.FileType).Define() : null %> | <% break; case "PushFileDownLoadDomainName": %>
">
<%= ViewData.Val("ParentDomain.Name", item) %>
|
<%
break;
case "PushFileDownLoadDomainCode":
%>
"> <%= ViewData.Val("ParentDomain.Code", item) %> | <% break; case "TargetGuid": %><%= item.TargetGuid %> | <% break; case "Url": %><%= item.Url %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "QueueTime": %><%= item.QueueTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "StartTime": %><%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "EndTime": %><%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "Status": %><%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.PushFileDownLoadStatusEnum)item.Status).Define() : null %> | <% break; case "Description": %><%= item.Description %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>