<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.VideoMove.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "OriginalVideoMovePlaySaveServerName": //OriginalVideoMove_PlaySaveServerName_Original服务器名称 %> <% break; case "TargetVideoMovePlaySaveServerName": //TargetVideoMove_PlaySaveServerName_Target服务器名称 %> <% break; case "VideoMoveVideoUserDomainName": //VideoMove_VideoUserDomainName_平台名称 %> <% break; case "VideoMoveVideoUserDomainCode": //VideoMove_VideoUserDomainCode_平台编码 %> <% break; case "VideoMoveVideoUserUserTypeName": //VideoMove_VideoUserUserTypeName_用户类型名称 %> <% break; case "VideoMoveVideoUserTrueName": //VideoMove_VideoUserTrueName_用户真实名称 %> <% break; case "VideoMoveVideoUserUserName": //VideoMove_VideoUserUserName_用户用户名 %> <% break; case "VideoMoveVideoName": //VideoMove_VideoName_视频名称 %> <% break; case "MoveStatus": //VideoMove_视频迁移状态 %> <% break; case "CreateTime": //VideoMove_创建时间 %> <% break; case "BeginTime": // VideoMove_开始时间 %> <% break; case "EndTime": // VideoMove_结束时间 %> <% break; case "Description": //VideoMoveFolder_出错信息 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "OriginalVideoMovePlaySaveServerName": %> <% break; case "TargetVideoMovePlaySaveServerName": %> <% break; case "VideoMoveVideoUserDomainName": %> <% break; case "VideoMoveVideoUserDomainCode": %> <% break; case "VideoMoveVideoUserUserTypeName": %> <% break; case "VideoMoveVideoUserTrueName": %> <% break; case "VideoMoveVideoUserUserName": %> <% break; case "VideoMoveVideoName": %> <% break; case "MoveStatus": %> <% break; case "CreateTime": %> <% break; case "BeginTime": %> <% break; case "EndTime": %> <% break; case "Description": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("OriginalVideoMove_PlaySaveServerName_Original服务器名称").HtmlEncode() %> <%= OrderBy("_OriginalPlaySaveServer.Name") %> ',event)"> <%= Define.Get("TargetVideoMove_PlaySaveServerName_Target服务器名称").HtmlEncode() %> <%= OrderBy("_TargetPlaySaveServer.Name") %> ',event)"> <%= Define.Get("VideoMove_VideoUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Name") %> ',event)"> <%= Define.Get("VideoMove_VideoUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Video._User._Domain.Code") %> ',event)"> <%= Define.Get("VideoMove_VideoUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Video._User._UserType.Name") %> ',event)"> <%= Define.Get("VideoMove_VideoUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Video._User.TrueName") %> ',event)"> <%= Define.Get("VideoMove_VideoUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Video._User.UserName") %> ',event)"> <%= Define.Get("VideoMove_VideoName_视频名称").HtmlEncode() %> <%= OrderBy("_Video.Name") %> ',event)"> <%= Define.Get("VideoMove_视频迁移状态").HtmlEncode() %> <%= OrderBy("MoveStatus") %> ',event)"> <%= Define.Get("VideoMove_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("VideoMove_开始时间").HtmlEncode() %> <%= OrderBy("BeginTime") %> ',event)"> <%= Define.Get("VideoMove_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("VideoMoveFolder_出错信息").HtmlEncode() %> <%= OrderBy("Description") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <% if (item.ParentOriginalPlaySaveServer != null) { %> <%= ViewData.Val("ParentOriginalPlaySaveServer.Name", item) %> <% } else { %> 平台服务器 <% } %> "> <% if (item.ParentTargetPlaySaveServer != null) { %> <%= ViewData.Val("ParentTargetPlaySaveServer.Name", item) %> <% } else { %> 平台服务器 <% } %> /Tools/Video/VideoMoveDownload.aspx" target="_blank">查看迁移状态 "> <%= 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.MoveStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoMoveMoveStatusEnum)item.MoveStatus).Define() : null %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> <%= item.Description %>