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