<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationInstructor.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationInstructorApplicationRecordEquipmentDomainName": //ApplicationInstructor_ApplicationRecordEquipmentDomainName_平台名称 %> <% break; case "ApplicationInstructorApplicationRecordEquipmentDomainCode": //ApplicationInstructor_ApplicationRecordEquipmentDomainCode_平台编码 %> <% break; case "ApplicationInstructorApplicationRecordEquipmentName": //ApplicationInstructor_ApplicationRecordEquipmentName_录播设备名称 %> <% break; case "ApplicationInstructorApplicationTitle": //ApplicationInstructor_ApplicationTitle_主题 %> <% break; case "ApplicationInstructorUserDomainName": //ApplicationInstructor_UserDomainName_平台名称 %> <% break; case "ApplicationInstructorUserDomainCode": //ApplicationInstructor_UserDomainCode_平台编码 %> <% break; case "ApplicationInstructorUserUserTypeName": //ApplicationInstructor_UserUserTypeName_用户类型名称 %> <% break; case "ApplicationInstructorUserTrueName": //ApplicationInstructor_UserTrueName_真实名称 %> <% break; case "ApplicationInstructorUserUserName": //ApplicationInstructor_UserUserName_用户名 %> <% break; case "FileName": //ApplicationInstructor_视频文件名 %> <% break; case "FileType": //ApplicationInstructor_视频文件类型 %> <% break; case "DownloadStatus": //ApplicationInstructor_文件上传状态 %> <% break; case "FileSize": //ApplicationInstructor_文件大小 %> <% break; case "StartSecond": //ApplicationInstructor_文件录制开始秒数 %> <% break; case "EndSecond": //ApplicationInstructor_文件录制结束秒数 %> <% break; case "Title": //ApplicationInstructor_标题 %> <% break; case "Description": //ApplicationInstructor_内容 %> <% break; case "DescriptionSound": //ApplicationInstructor_录音 %> <% break; case "SendStatus": //ApplicationInstructor_提交状态 %> <% break; case "ValidStatus": //ApplicationInstructor_审核状态 %> <% break; case "ValidApplicationInstructorUserDomainName": //ValidApplicationInstructor_UserDomainName_Valid平台名称 %> <% break; case "ValidApplicationInstructorUserDomainCode": //ValidApplicationInstructor_UserDomainCode_Valid平台编码 %> <% break; case "ValidApplicationInstructorUserUserTypeName": //ValidApplicationInstructor_UserUserTypeName_Valid用户类型名称 %> <% break; case "ValidApplicationInstructorUserTrueName": //ValidApplicationInstructor_UserTrueName_Valid真实名称 %> <% break; case "ValidApplicationInstructorUserUserName": //ValidApplicationInstructor_UserUserName_Valid用户名 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationInstructorApplicationRecordEquipmentDomainName": %> <% break; case "ApplicationInstructorApplicationRecordEquipmentDomainCode": %> <% break; case "ApplicationInstructorApplicationRecordEquipmentName": %> <% break; case "ApplicationInstructorApplicationTitle": %> <% break; case "ApplicationInstructorUserDomainName": %> <% break; case "ApplicationInstructorUserDomainCode": %> <% break; case "ApplicationInstructorUserUserTypeName": %> <% break; case "ApplicationInstructorUserTrueName": %> <% break; case "ApplicationInstructorUserUserName": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "DownloadStatus": %> <% break; case "FileSize": %> <% break; case "StartSecond": %> <% break; case "EndSecond": %> <% break; case "Title": %> <% break; case "Description": %> <% break; case "DescriptionSound": %> <% break; case "SendStatus": %> <% break; case "ValidStatus": %> <% break; case "ValidApplicationInstructorUserDomainName": %> <% break; case "ValidApplicationInstructorUserDomainCode": %> <% break; case "ValidApplicationInstructorUserUserTypeName": %> <% break; case "ValidApplicationInstructorUserTrueName": %> <% break; case "ValidApplicationInstructorUserUserName": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("ApplicationInstructor_ApplicationRecordEquipmentName_录播设备名称").HtmlEncode() %> <%= OrderBy("_Application._RecordEquipment.Name") %> ',event)"> <%= Define.Get("ApplicationInstructor_ApplicationTitle_主题").HtmlEncode() %> <%= OrderBy("_Application.Title") %> ',event)"> <%= Define.Get("ApplicationInstructor_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("ApplicationInstructor_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("ApplicationInstructor_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("ApplicationInstructor_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("ApplicationInstructor_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("ApplicationInstructor_视频文件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("ApplicationInstructor_视频文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("ApplicationInstructor_文件上传状态").HtmlEncode() %> <%= OrderBy("DownloadStatus") %> ',event)"> <%= Define.Get("ApplicationInstructor_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("ApplicationInstructor_文件录制开始秒数").HtmlEncode() %> <%= OrderBy("StartSecond") %> ',event)"> <%= Define.Get("ApplicationInstructor_文件录制结束秒数").HtmlEncode() %> <%= OrderBy("EndSecond") %> ',event)"> <%= Define.Get("ApplicationInstructor_标题").HtmlEncode() %> <%= OrderBy("Title") %> ',event)"> <%= Define.Get("ApplicationInstructor_内容").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("ApplicationInstructor_录音").HtmlEncode() %> <%= OrderBy("DescriptionSound") %> ',event)"> <%= Define.Get("ApplicationInstructor_提交状态").HtmlEncode() %> <%= OrderBy("SendStatus") %> ',event)"> <%= Define.Get("ApplicationInstructor_审核状态").HtmlEncode() %> <%= OrderBy("ValidStatus") %> ',event)"> <%= Define.Get("ValidApplicationInstructor_UserDomainName_Valid平台名称").HtmlEncode() %> <%= OrderBy("_ValidUser._Domain.Name") %> ',event)"> <%= Define.Get("ValidApplicationInstructor_UserDomainCode_Valid平台编码").HtmlEncode() %> <%= OrderBy("_ValidUser._Domain.Code") %> ',event)"> <%= Define.Get("ValidApplicationInstructor_UserUserTypeName_Valid用户类型名称").HtmlEncode() %> <%= OrderBy("_ValidUser._UserType.Name") %> ',event)"> <%= Define.Get("ValidApplicationInstructor_UserTrueName_Valid真实名称").HtmlEncode() %> <%= OrderBy("_ValidUser.TrueName") %> ',event)"> <%= Define.Get("ValidApplicationInstructor_UserUserName_Valid用户名").HtmlEncode() %> <%= OrderBy("_ValidUser.UserName") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentApplication.ParentRecordEquipment.Name", item) %> "> <%= ViewData.Val("ParentApplication.Title", item) %> "> <%= 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) %> <%= File(SettingGroup.ApplicationInstructorUploadPath, item.FileName) %> <%= item.FileName %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorFileTypeEnum)item.FileType).Define() : null %> <%= item.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorDownloadStatusEnum)item.DownloadStatus).Define() : null %> <%= item.FileSize %> <%= item.StartSecond.ToDateTimeN().ToAutoShortDate() %> <%= item.EndSecond.ToDateTimeN().ToAutoShortDate() %> <%= item.Title %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.DescriptionSound %> <%= item.SendStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorSendStatusEnum)item.SendStatus).Define() : null %> <%= item.ValidStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationInstructorValidStatusEnum)item.ValidStatus).Define() : null %> "> <%= ViewData.Val("ParentValidUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentValidUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentValidUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentValidUser.TrueName", item) %> "> <%= ViewData.Val("ParentValidUser.UserName", item) %>