%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListAudit.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Application.ListAudit1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "Status": //Application_状态 %> | ',event)"> <%= Define.Get("Application_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "ApplicationUserDomainName": //Application_UserDomainName_平台名称 %>',event)"> <%= Define.Get("Application_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> | <% break; case "ApplicationUserDomainCode": //Application_UserDomainCode_平台编码 %>',event)"> <%= Define.Get("Application_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> | <% break; case "ApplicationUserUserTypeName": //Application_UserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("Application_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> | <% break; case "ApplicationUserTrueName": //Application_UserTrueName_真实名称 %>',event)"> <%= Define.Get("Application_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "ApplicationUserUserName": //Application_UserUserName_用户名 %>',event)"> <%= Define.Get("Application_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "ApplicationRecordEquipmentDomainName": //Application_RecordEquipmentDomainName_平台名称 %>',event)"> <%= Define.Get("Application_RecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> | <% break; case "ApplicationRecordEquipmentDomainCode": //Application_RecordEquipmentDomainCode_平台编码 %>',event)"> <%= Define.Get("Application_RecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> | <% break; case "ApplicationRecordEquipmentName": //Application_RecordEquipmentName_设备名称 %>',event)"> <%= Define.Get("Application_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> | <% break; case "ApplicationDate": //Application_直播日期 %>',event)"> <%= Define.Get("Application_直播日期").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> | <% break; case "StartTime": //Application_开始时间 %>',event)"> <%= Define.Get("Application_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> | <% break; case "EndTime": //Application_结束时间 %>',event)"> <%= Define.Get("Application_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> | <% break; case "ApplicationGradeName": //Application_GradeName_年级名称 %>',event)"> <%= Define.Get("Application_GradeName_年级名称").HtmlEncode() %> <%= OrderBy("_Grade.Name") %> | <% break; case "Cover": //Application_封面 %>',event)"> <%= Define.Get("Application_封面").HtmlEncode() %> <%= OrderBy("Cover") %> | <% break; case "Description": //Application_申请说明 %>',event)"> <%= Define.Get("Application_申请说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "Speaker": //Application_主讲人 %>',event)"> <%= Define.Get("Application_主讲人").HtmlEncode() %> <%= OrderBy("Speaker") %> | <% break; case "Title": //Application_标题 %>',event)"> <%= Define.Get("Application_标题").HtmlEncode() %> <%= OrderBy("Title") %> | <% break; case "Share": //Application_是否对外公开 %>',event)"> <%= Define.Get("Application_是否对外公开").HtmlEncode() %> <%= OrderBy("Share") %> | <% break; case "NumberOfPeople": //Application_到场人数 %>',event)"> <%= Define.Get("Application_到场人数").HtmlEncode() %> <%= OrderBy("NumberOfPeople") %> | <% break; case "DealApplicationUserDomainName": //DealApplication_UserDomainName_Deal平台名称 %>',event)"> <%= Define.Get("DealApplication_UserDomainName_Deal平台名称").HtmlEncode() %> <%= OrderBy("_DealUser._Domain.Name") %> | <% break; case "DealApplicationUserDomainCode": //DealApplication_UserDomainCode_Deal平台编码 %>',event)"> <%= Define.Get("DealApplication_UserDomainCode_Deal平台编码").HtmlEncode() %> <%= OrderBy("_DealUser._Domain.Code") %> | <% break; case "DealApplicationUserUserTypeName": //DealApplication_UserUserTypeName_Deal用户类型名称 %>',event)"> <%= Define.Get("DealApplication_UserUserTypeName_Deal用户类型名称").HtmlEncode() %> <%= OrderBy("_DealUser._UserType.Name") %> | <% break; case "DealApplicationUserTrueName": //DealApplication_UserTrueName_Deal真实名称 %>',event)"> <%= Define.Get("DealApplication_UserTrueName_Deal真实名称").HtmlEncode() %> <%= OrderBy("_DealUser.TrueName") %> | <% break; case "DealApplicationUserUserName": //DealApplication_UserUserName_Deal用户名 %>',event)"> <%= Define.Get("DealApplication_UserUserName_Deal用户名").HtmlEncode() %> <%= OrderBy("_DealUser.UserName") %> | <% break; case "DealTime": //Application_审批日期 %>',event)"> <%= Define.Get("Application_审批日期").HtmlEncode() %> <%= OrderBy("DealTime") %> | <% break; case "DealRemark": //Application_审批说明 %>',event)"> <%= Define.Get("Application_审批说明").HtmlEncode() %> <%= OrderBy("DealRemark") %> | <% break; case "CancelApplicationUserDomainName": //CancelApplication_UserDomainName_Cancel平台名称 %>',event)"> <%= Define.Get("CancelApplication_UserDomainName_Cancel平台名称").HtmlEncode() %> <%= OrderBy("_CancelUser._Domain.Name") %> | <% break; case "CancelApplicationUserDomainCode": //CancelApplication_UserDomainCode_Cancel平台编码 %>',event)"> <%= Define.Get("CancelApplication_UserDomainCode_Cancel平台编码").HtmlEncode() %> <%= OrderBy("_CancelUser._Domain.Code") %> | <% break; case "CancelApplicationUserUserTypeName": //CancelApplication_UserUserTypeName_Cancel用户类型名称 %>',event)"> <%= Define.Get("CancelApplication_UserUserTypeName_Cancel用户类型名称").HtmlEncode() %> <%= OrderBy("_CancelUser._UserType.Name") %> | <% break; case "CancelApplicationUserTrueName": //CancelApplication_UserTrueName_Cancel真实名称 %>',event)"> <%= Define.Get("CancelApplication_UserTrueName_Cancel真实名称").HtmlEncode() %> <%= OrderBy("_CancelUser.TrueName") %> | <% break; case "CancelApplicationUserUserName": //CancelApplication_UserUserName_Cancel用户名 %>',event)"> <%= Define.Get("CancelApplication_UserUserName_Cancel用户名").HtmlEncode() %> <%= OrderBy("_CancelUser.UserName") %> | <% break; case "CancelTime": //Application_拒绝日期 %>',event)"> <%= Define.Get("Application_拒绝日期").HtmlEncode() %> <%= OrderBy("CancelTime") %> | <% break; case "CancelRemark": //Application_拒绝说明 %>',event)"> <%= Define.Get("Application_拒绝说明").HtmlEncode() %> <%= OrderBy("CancelRemark") %> | <% break; case "ConfirmApplicationUserDomainName": //ConfirmApplication_UserDomainName_Confirm平台名称 %>',event)"> <%= Define.Get("ConfirmApplication_UserDomainName_Confirm平台名称").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Name") %> | <% break; case "ConfirmApplicationUserDomainCode": //ConfirmApplication_UserDomainCode_Confirm平台编码 %>',event)"> <%= Define.Get("ConfirmApplication_UserDomainCode_Confirm平台编码").HtmlEncode() %> <%= OrderBy("_ConfirmUser._Domain.Code") %> | <% break; case "ConfirmApplicationUserUserTypeName": //ConfirmApplication_UserUserTypeName_Confirm用户类型名称 %>',event)"> <%= Define.Get("ConfirmApplication_UserUserTypeName_Confirm用户类型名称").HtmlEncode() %> <%= OrderBy("_ConfirmUser._UserType.Name") %> | <% break; case "ConfirmApplicationUserTrueName": //ConfirmApplication_UserTrueName_Confirm真实名称 %>',event)"> <%= Define.Get("ConfirmApplication_UserTrueName_Confirm真实名称").HtmlEncode() %> <%= OrderBy("_ConfirmUser.TrueName") %> | <% break; case "ConfirmApplicationUserUserName": //ConfirmApplication_UserUserName_Confirm用户名 %>',event)"> <%= Define.Get("ConfirmApplication_UserUserName_Confirm用户名").HtmlEncode() %> <%= OrderBy("_ConfirmUser.UserName") %> | <% break; case "ConfirmTime": //Application_签到日期 %>',event)"> <%= Define.Get("Application_签到日期").HtmlEncode() %> <%= OrderBy("ConfirmTime") %> | <% break; case "ConfirmRemark": //Application_签到说明 %>',event)"> <%= Define.Get("Application_签到说明").HtmlEncode() %> <%= OrderBy("ConfirmRemark") %> | <% break; case "CreateTime": //Application_创建时间 %>',event)"> <%= Define.Get("Application_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; case "AlbumName": //Application_专辑名称 %>',event)"> <%= Define.Get("Application_专辑名称").HtmlEncode() %> <%= OrderBy("AlbumName") %> | <% break; case "ApplicationLessonTextbookName": //Application_LessonTextbookName_课本课本名称 %>',event)"> <%= Define.Get("Application_LessonTextbookName_课本名称").HtmlEncode() %> <%= OrderBy("_Lesson._Textbook.Name") %> | <% break; case "ApplicationLessonName": //Application_LessonName_单元课名称 %>',event)"> <%= Define.Get("Application_LessonName_单元课名称").HtmlEncode() %> <%= OrderBy("_Lesson.Name") %> | <% break; case "DownloadAllRecord": //Application_视频归档任务 %>',event)"> <%= Define.Get("Application_视频归档任务").HtmlEncode() %> <%= OrderBy("DownloadAllRecord") %> | <% break; case "DownloadDateTime": //Application_归档任务添加时间 %>',event)"> <%= Define.Get("Application_归档任务添加时间").HtmlEncode() %> <%= OrderBy("DownloadDateTime") %> | <% break; case "SortNumber": //Application_排序号 %>',event)"> <%= Define.Get("Application_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "Status":
%>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)item.Status).Define() : null %> | <% break; case "ApplicationUserDomainName": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> | <% break; case "ApplicationUserDomainCode": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> | <% break; case "ApplicationUserUserTypeName": %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> | <% break; case "ApplicationUserTrueName": %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "ApplicationUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "ApplicationRecordEquipmentDomainName": %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> | <% break; case "ApplicationRecordEquipmentDomainCode": %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> | <% break; case "ApplicationRecordEquipmentName": %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> | <% break; case "ApplicationDate": %><%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> | <% break; case "StartTime": %><%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "EndTime": %><%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "ApplicationGradeName": %>"> <%= ViewData.Val("ParentGrade.Name", item) %> | <% break; case "Cover": %><%= IMG(SettingGroup.ApplicationUploadPath, item.Cover) %> <%= item.Cover %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "Speaker": %><%= item.Speaker %> | <% break; case "Title": %><%= item.Title %> | <% break; case "Share": %><%= item.Share %> | <% break; case "NumberOfPeople": %><%= item.NumberOfPeople %> | <% break; case "DealApplicationUserDomainName": %>"> <%= ViewData.Val("ParentDealUser.ParentDomain.Name", item) %> | <% break; case "DealApplicationUserDomainCode": %>"> <%= ViewData.Val("ParentDealUser.ParentDomain.Code", item) %> | <% break; case "DealApplicationUserUserTypeName": %>"> <%= ViewData.Val("ParentDealUser.ParentUserType.Name", item) %> | <% break; case "DealApplicationUserTrueName": %>"> <%= ViewData.Val("ParentDealUser.TrueName", item) %> | <% break; case "DealApplicationUserUserName": %>"> <%= ViewData.Val("ParentDealUser.UserName", item) %> | <% break; case "DealTime": %><%= item.DealTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "DealRemark": %><%= new HtmlSpan(item.DealRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "CancelApplicationUserDomainName": %>"> <%= ViewData.Val("ParentCancelUser.ParentDomain.Name", item) %> | <% break; case "CancelApplicationUserDomainCode": %>"> <%= ViewData.Val("ParentCancelUser.ParentDomain.Code", item) %> | <% break; case "CancelApplicationUserUserTypeName": %>"> <%= ViewData.Val("ParentCancelUser.ParentUserType.Name", item) %> | <% break; case "CancelApplicationUserTrueName": %>"> <%= ViewData.Val("ParentCancelUser.TrueName", item) %> | <% break; case "CancelApplicationUserUserName": %>"> <%= ViewData.Val("ParentCancelUser.UserName", item) %> | <% break; case "CancelTime": %><%= item.CancelTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "CancelRemark": %><%= new HtmlSpan(item.CancelRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "ConfirmApplicationUserDomainName": %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Name", item) %> | <% break; case "ConfirmApplicationUserDomainCode": %>"> <%= ViewData.Val("ParentConfirmUser.ParentDomain.Code", item) %> | <% break; case "ConfirmApplicationUserUserTypeName": %>"> <%= ViewData.Val("ParentConfirmUser.ParentUserType.Name", item) %> | <% break; case "ConfirmApplicationUserTrueName": %>"> <%= ViewData.Val("ParentConfirmUser.TrueName", item) %> | <% break; case "ConfirmApplicationUserUserName": %>"> <%= ViewData.Val("ParentConfirmUser.UserName", item) %> | <% break; case "ConfirmTime": %><%= item.ConfirmTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "ConfirmRemark": %><%= new HtmlSpan(item.ConfirmRemark) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "AlbumName": %><%= item.AlbumName %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; case "ApplicationLessonTextbookName": %>"> <%= ViewData.Val("ParentLesson.ParentTextbook.Name", item) %> | <% break; case "ApplicationLessonName": %>"> <%= ViewData.Val("ParentLesson.Name", item) %> | <% break; case "DownloadAllRecord": %><%= item.DownloadAllRecord != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationDownloadAllRecordEnum)item.DownloadAllRecord).Define() : null %> | <% break; case "DownloadDateTime": %><%= item.DownloadDateTime %> | <% break; } } %>