<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListAudit.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Video.ListAudit1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Video_状态 %> <% break; case "VideoUserDomainName": //Video_UserDomainName_平台名称 %> <% break; case "VideoUserDomainCode": //Video_UserDomainCode_平台编码 %> <% break; case "VideoUserUserTypeName": //Video_UserUserTypeName_用户类型名称 %> <% break; case "VideoUserTrueName": //Video_UserTrueName_真实名称 %> <% break; case "VideoUserUserName": //Video_UserUserName_用户名 %> <% break; case "VideoCategoryName": //Video_CategoryName_学科名称 %> <% break; case "VideoLessonTextbookPressName": //Video_LessonTextbookPressName_出版社出版社名称 %> <% break; case "VideoLessonTextbookGradeName": //Video_LessonTextbookGradeName_年级年级名称 %> <% break; case "VideoLessonTextbookCategoryName": //Video_LessonTextbookCategoryName_学科学科名称 %> <% break; case "VideoLessonTextbookName": //Video_LessonTextbookName_课本课本名称 %> <% break; case "VideoLessonName": //Video_LessonName_单元课名称 %> <% break; case "Name": //Video_视频名称 %> <% break; case "VideoApplicationTitle": //Video_ApplicationTitle_主题 %> <% break; case "Cover": //Video_封面 %> <% break; case "Summary": //Video_简介 %> <% break; case "FileType": //Video_视频文件类型 %> <% break; case "FileSize": //Video_文件大小 %> <% break; case "Period": //Video_时长(秒) %> <% break; case "VideoView": //Video_视频播放量 %> <% break; case "CommentCount": //Video_评论数 %> <% break; case "CollectCount": //Video_收藏数 %> <% break; case "Copyright": //Video_版权 %> <% break; case "Share": //Video_是否公开:就是是否共享给其他学校用户 %> <% break; case "LockVideo": //Video_是否加锁 %> <% break; case "LockVideoUserDomainName": //LockVideo_UserDomainName_Lock平台名称 %> <% break; case "LockVideoUserDomainCode": //LockVideo_UserDomainCode_Lock平台编码 %> <% break; case "LockVideoUserUserTypeName": //LockVideo_UserUserTypeName_Lock用户类型名称 %> <% break; case "LockVideoUserTrueName": //LockVideo_UserTrueName_Lock真实名称 %> <% break; case "LockVideoUserUserName": //LockVideo_UserUserName_Lock用户名 %> <% break; case "LockDateTime": //Video_锁定时间 %> <% break; case "LockDescription": //Video_锁定说明 %> <% break; case "Examine": //Video_审核状态 %> <% break; case "Description": //Video_描述 %> <% break; case "RecTime": //Video_录制时间 %> <% break; case "CreateTime": //Video_创建时间 %> <% break; case "VideoConvertStatus": //Video_视频转换结果 %> <% break; case "HasDownload": //Video_视频是否可以下载 %> <% break; case "Spreaker": //Video_主讲人 %> <% break; case "TeacherRatio": //Video_教师比例 %> <% break; case "StudentRatio": //Video_学生比例 %> <% break; case "TransferRatio": //Video_转换率 %> <% break; case "TeachingType": //Video_授课类型 %> <% break; case "CaptionsFile": //Video_视频字幕 %> <% break; case "SortNumber": //Video_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "VideoUserDomainName": %> <% break; case "VideoUserDomainCode": %> <% break; case "VideoUserUserTypeName": %> <% break; case "VideoUserTrueName": %> <% break; case "VideoUserUserName": %> <% break; case "VideoCategoryName": %> <% break; case "VideoLessonTextbookPressName": %> <% break; case "VideoLessonTextbookGradeName": %> <% break; case "VideoLessonTextbookCategoryName": %> <% break; case "VideoLessonTextbookName": %> <% break; case "VideoLessonName": %> <% break; case "Name": %> <% break; case "VideoApplicationTitle": %> <% break; case "Cover": %> <% break; case "Summary": %> <% break; case "FileType": %> <% break; case "FileSize": %> <% break; case "Period": %> <% break; case "VideoView": %> <% break; case "CommentCount": %> <% break; case "CollectCount": %> <% break; case "Copyright": %> <% break; case "Share": %> <% break; case "LockVideo": %> <% break; case "LockVideoUserDomainName": %> <% break; case "LockVideoUserDomainCode": %> <% break; case "LockVideoUserUserTypeName": %> <% break; case "LockVideoUserTrueName": %> <% break; case "LockVideoUserUserName": %> <% break; case "LockDateTime": %> <% break; case "LockDescription": %> <% break; case "Examine": %> <% break; case "Description": %> <% break; case "RecTime": %> <% break; case "CreateTime": %> <% break; case "VideoConvertStatus": %> <% break; case "HasDownload": %> <% break; case "Spreaker": %> <% break; case "TeacherRatio": %> <% break; case "StudentRatio": %> <% break; case "TransferRatio": %> <% break; case "TeachingType": %> <% break; case "CaptionsFile": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("Video_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Video_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("Video_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("Video_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("Video_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("Video_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("Video_CategoryName_学科名称").HtmlEncode() %> <%= OrderBy("_Category.Name") %> ',event)"> <%= Define.Get("Video_LessonTextbookPressName_出版社名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Press.Name") %> ',event)"> <%= Define.Get("Video_LessonTextbookGradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Grade.Name") %> ',event)"> <%= Define.Get("Video_LessonTextbookCategoryName_学科学科名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook._Category.Name") %> ',event)"> <%= Define.Get("Video_LessonTextbookName_课本名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook.Name") %> ',event)"> <%= Define.Get("Video_LessonName_单元课名称").HtmlEncode() %> <%= OrderBy("_Lesson.Name") %> ',event)"> <%= Define.Get("Video_视频名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Video_ApplicationTitle_主题").HtmlEncode() %> <%= OrderBy("_Application.Title") %> ',event)"> <%= Define.Get("Video_封面").HtmlEncode() %> <%= OrderBy("Cover") %> ',event)"> <%= Define.Get("Video_简介").HtmlEncode() %> <%= OrderBy("Summary") %> ',event)"> <%= Define.Get("Video_视频文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("Video_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("Video_时长(秒)").HtmlEncode() %> <%= OrderBy("Period") %> ',event)"> <%= Define.Get("Video_视频播放量").HtmlEncode() %> <%= OrderBy("VideoView") %> ',event)"> <%= Define.Get("Video_评论数").HtmlEncode() %> <%= OrderBy("CommentCount") %> ',event)"> <%= Define.Get("Video_收藏数").HtmlEncode() %> <%= OrderBy("CollectCount") %> ',event)"> <%= Define.Get("Video_版权").HtmlEncode() %> <%= OrderBy("Copyright") %> ',event)"> <%= Define.Get("Video_观看权限").HtmlEncode() %> <%= OrderBy("Share") %> ',event)"> <%= Define.Get("Video_是否加锁").HtmlEncode() %> <%= OrderBy("LockVideo") %> ',event)"> <%= Define.Get("LockVideo_UserDomainName_Lock平台名称").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Name") %> ',event)"> <%= Define.Get("LockVideo_UserDomainCode_Lock平台编码").HtmlEncode() %> <%= OrderBy("_LockUser._Domain.Code") %> ',event)"> <%= Define.Get("LockVideo_UserUserTypeName_Lock用户类型名称").HtmlEncode() %> <%= OrderBy("_LockUser._UserType.Name") %> ',event)"> <%= Define.Get("LockVideo_UserTrueName_Lock真实名称").HtmlEncode() %> <%= OrderBy("_LockUser.TrueName") %> ',event)"> <%= Define.Get("LockVideo_UserUserName_Lock用户名").HtmlEncode() %> <%= OrderBy("_LockUser.UserName") %> ',event)"> <%= Define.Get("Video_锁定时间").HtmlEncode() %> <%= OrderBy("LockDateTime") %> ',event)"> <%= Define.Get("Video_锁定说明").HtmlEncode() %> <%= OrderBy("LockDescription") %> ',event)"> <%= Define.Get("Video_审核状态").HtmlEncode() %> <%= OrderBy("Examine") %> ',event)"> <%= Define.Get("Video_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("Video_录制时间").HtmlEncode() %> <%= OrderBy("RecTime") %> ',event)"> <%= Define.Get("Video_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("Video_视频转换结果").HtmlEncode() %> <%= OrderBy("VideoConvertStatus") %> ',event)"> <%= Define.Get("Video_视频是否可以下载").HtmlEncode() %> <%= OrderBy("HasDownload") %> ',event)"> <%= Define.Get("Video_主讲人").HtmlEncode() %> <%= OrderBy("Spreaker") %> ',event)"> <%= Define.Get("Video_教师比例").HtmlEncode() %> <%= OrderBy("TeacherRatio") %> ',event)"> <%= Define.Get("Video_学生比例").HtmlEncode() %> <%= OrderBy("StudentRatio") %> ',event)"> <%= Define.Get("Video_转换率").HtmlEncode() %> <%= OrderBy("TransferRatio") %> ',event)"> <%= Define.Get("Video_授课类型").HtmlEncode() %> <%= OrderBy("TeachingType") %> ',event)"> <%= Define.Get("Video_视频字幕").HtmlEncode() %> <%= OrderBy("CaptionsFile") %> ',event)"> <%= Define.Get("Video_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> 观看 <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentCategory.Name", item) %> "> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentPress.Name", item) %> "> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentGrade.Name", item) %> "> <%= ViewData.Val("ParentLesson.ParentTextbook.ParentCategory.Name", item) %> "> <%= ViewData.Val("ParentLesson.ParentTextbook.Name", item) %> "> <%= ViewData.Val("ParentLesson.Name", item) %> <%= item.Name %> "> <%= ViewData.Val("ParentApplication.Title", item) %> <%= IMG(SettingGroup.VideoUploadPath, item.Cover) %> <%= item.Cover %> <%= new HtmlSpan(item.Summary) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoFileTypeEnum)item.FileType).Define() : null %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize==null?0:item.FileSize.Value) %> <%= item.Period %> <%= item.VideoView %> <%= item.CommentCount %> <%= item.CollectCount %> <%= item.Copyright != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoCopyrightEnum)item.Copyright).Define() : null %> <%= item.Share != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoShareEnum)item.Share).Define() : null %> <%= item.LockVideo != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum)item.LockVideo).Define() : null %> "> <%= ViewData.Val("ParentLockUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentLockUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentLockUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentLockUser.TrueName", item) %> "> <%= ViewData.Val("ParentLockUser.UserName", item) %> <%= item.LockDateTime %> <%= new HtmlSpan(item.LockDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.Examine != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)item.Examine).Define() : null %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.RecTime.ToDateTimeN().ToAutoShortDate() %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= item.VideoConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)item.VideoConvertStatus).Define() : null %> <%= item.HasDownload %> <%= item.Spreaker %> <%= item.TeacherRatio != null ? item.TeacherRatio + "%" : null %> <%= item.StudentRatio != null ? item.StudentRatio + "%" : null %> <%= item.TransferRatio != null ? item.TransferRatio + "%" : null%> <%= item.TeachingType != null ? ((AVA.ResourcesPlatform.Model.Pub.VideoTeachingTypeEnum)item.TeachingType).Define() : null %> <%= item.CaptionsFile %> <%= item.SortNumber %>