<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.MeetingAttachment.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "MeetingAttachmentMeetingUserDomainName": //MeetingAttachment_MeetingUserDomainName_平台名称 %> <% break; case "MeetingAttachmentMeetingUserDomainCode": //MeetingAttachment_MeetingUserDomainCode_平台编码 %> <% break; case "MeetingAttachmentMeetingUserUserTypeName": //MeetingAttachment_MeetingUserUserTypeName_用户类型名称 %> <% break; case "MeetingAttachmentMeetingUserUserName": //MeetingAttachment_MeetingUserUserName_用户用户名 %> <% break; case "MeetingAttachmentMeetingUserTrueName": //MeetingAttachment_MeetingUserTrueName_用户真实名称 %> <% break; case "MeetingAttachmentMeetingName": //MeetingAttachment_MeetingName_教研名称 %> <% break; case "FileName": //MeetingAttachment_附件名 %> <% break; case "FileType": //MeetingAttachment_文件类型 %> <% break; case "FileSize": //MeetingAttachment_文件大小 %> <% break; case "Description": //MeetingAttachment_附件说明 %> <% break; case "SortNumber": //MeetingAttachment_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "MeetingAttachmentMeetingUserDomainName": %> <% break; case "MeetingAttachmentMeetingUserDomainCode": %> <% break; case "MeetingAttachmentMeetingUserUserTypeName": %> <% break; case "MeetingAttachmentMeetingUserUserName": %> <% break; case "MeetingAttachmentMeetingUserTrueName": %> <% break; case "MeetingAttachmentMeetingName": %> <% break; case "FileName": %> <% break; case "FileType": %> <% break; case "FileSize": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("MeetingAttachment_MeetingUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Meeting._User._Domain.Name") %> ',event)"> <%= Define.Get("MeetingAttachment_MeetingUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Meeting._User._Domain.Code") %> ',event)"> <%= Define.Get("MeetingAttachment_MeetingUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Meeting._User._UserType.Name") %> ',event)"> <%= Define.Get("MeetingAttachment_MeetingUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Meeting._User.UserName") %> ',event)"> <%= Define.Get("MeetingAttachment_MeetingUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Meeting._User.TrueName") %> ',event)"> <%= Define.Get("MeetingAttachment_MeetingName_教研名称").HtmlEncode() %> <%= OrderBy("_Meeting.Name") %> ',event)"> <%= Define.Get("MeetingAttachment_附件名").HtmlEncode() %> <%= OrderBy("FileName") %> ',event)"> <%= Define.Get("MeetingAttachment_文件类型").HtmlEncode() %> <%= OrderBy("FileType") %> ',event)"> <%= Define.Get("MeetingAttachment_文件大小").HtmlEncode() %> <%= OrderBy("FileSize") %> ',event)"> <%= Define.Get("MeetingAttachment_附件说明").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("MeetingAttachment_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentMeeting.ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentMeeting.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentMeeting.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentMeeting.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentMeeting.Name", item) %> <%= File(SettingGroup.MeetingAttachmentUploadPath, item.FileName) %> <%= item.FileName %> <%= item.FileType != null ? ((AVA.ResourcesPlatform.Model.Pub.MeetingAttachmentFileTypeEnum)item.FileType).Define() : null %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(item.FileSize) %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>