<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.DomainUpload.List1" %> <%----%> <% foreach (var field in this.Fields) { switch (field) { case "DomainUploadDomainName": //DomainUpload_DomainName_平台名称 %> <% break; case "DomainUploadDomainCode": //DomainUpload_DomainCode_平台编码 %> <% break; case "TagDomainUploadDomainName": //TagDomainUpload_DomainName_Tag平台名称 %> <% break; case "TagDomainUploadDomainCode": //TagDomainUpload_DomainCode_Tag平台编码 %> <% break; case "CreateTime": //DomainUpload_创建时间 %> <%-- <% break; case "DomainUploadVideoUserDomainName": --//DomainUpload_VideoUserDomainName_平台名称 %> <% break; case "DomainUploadVideoUserDomainCode": --//DomainUpload_VideoUserDomainCode_平台编码 %> <% break; case "DomainUploadVideoUserUserTypeName":-- //DomainUpload_VideoUserUserTypeName_用户类型名称 %> <% break; case "DomainUploadVideoUserTrueName": --//DomainUpload_VideoUserTrueName_用户真实名称 %> <% break; case "DomainUploadVideoUserUserName": --//DomainUpload_VideoUserUserName_用户用户名 %> --%> <% break; case "DomainUploadVideoName": //DomainUpload_VideoName_视频名称 %> <% break; case "FileURL": //DomainUpload_文件地址 %> <% break; case "UploadStatus": //DomainUpload_状态 %> <% break; case "UploadDescription": //DomainUpload_上传备注 %> <% break; case "StartTime": //DomainUpload_上传开始时间 %> <% break; case "EndTime": //DomainUpload_上传结束时间 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <%----%> <% foreach (var field in this.Fields) { switch (field) { case "DomainUploadDomainName": %> <% break; case "DomainUploadDomainCode": %> <% break; case "TagDomainUploadDomainName": %> <% break; case "TagDomainUploadDomainCode": %> <% break; case "CreateTime": %> <%-- <% break; case "DomainUploadVideoUserDomainName": %> <% break; case "DomainUploadVideoUserDomainCode": %> <% break; case "DomainUploadVideoUserUserTypeName": %> <% break; case "DomainUploadVideoUserTrueName": %> <% break; case "DomainUploadVideoUserUserName": %> --%> <% break; case "DomainUploadVideoName": %> <% break; case "FileURL": %> <% break; case "UploadStatus": %> <% break; case "UploadDescription": %> <% break; case "StartTime": %> <% break; case "EndTime": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("DomainUpload_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> ',event)"> <%= Define.Get("DomainUpload_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> ',event)"> <%= Define.Get("TagDomainUpload_DomainName_Tag平台名称").HtmlEncode() %> <%= OrderBy("_TagDomain.Name") %> ',event)"> <%= Define.Get("TagDomainUpload_DomainCode_Tag平台编码").HtmlEncode() %> <%= OrderBy("_TagDomain.Code") %> ',event)"> <%= Define.Get("DomainUpload_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("DomainUpload_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> ',event)"> <%= Define.Get("DomainUpload_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> ',event)"> <%= Define.Get("DomainUpload_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> ',event)"> <%= Define.Get("DomainUpload_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> ',event)"> <%= Define.Get("DomainUpload_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> ',event)"> <%= Define.Get("DomainUpload_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> ',event)"> <%= Define.Get("DomainUpload_文件地址").HtmlEncode() %> <%= OrderBy("FileURL") %> ',event)"> <%= Define.Get("DomainUpload_状态").HtmlEncode() %> <%= OrderBy("UploadStatus") %> ',event)"> <%= Define.Get("DomainUpload_上传备注").HtmlEncode() %> <%= OrderBy("UploadDescription") %> ',event)"> <%= Define.Get("DomainUpload_上传开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> ',event)"> <%= Define.Get("DomainUpload_上传结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentTagDomain.Name", item) %> "> <%= ViewData.Val("ParentTagDomain.Code", item) %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentVideo.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentVideo.Name", item) %> <%= item.FileURL %> <%= item.UploadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.DomainUploadUploadStatusEnum)item.UploadStatus).Define() : null %> <%= new HtmlSpan(item.UploadDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %>