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