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