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