<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListAudit.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Comment.ListAudit1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Comment_状态 %> <% break; case "CommentUserDomainName": //Comment_UserDomainName_平台名称 %> <% break; case "CommentUserDomainCode": //Comment_UserDomainCode_平台编码 %> <% break; case "CommentUserUserTypeName": //Comment_UserUserTypeName_用户类型名称 %> <% break; case "CommentUserTrueName": //Comment_UserTrueName_真实名称 %> <% break; case "CommentUserUserName": //Comment_UserUserName_用户名 %> <% break; case "TargetType": //Comment_评论类型 %> <% break; case "TargetGuid": //Comment_评论对象 %> <% break; case "Title": //Comment_标题 %> <% break; case "CommentText": //Comment_评论内容 %> <% break; case "IP": //Comment_IP %> <% break; case "CreateTime": //Comment_评论时间 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "CommentUserDomainName": %> <% break; case "CommentUserDomainCode": %> <% break; case "CommentUserUserTypeName": %> <% break; case "CommentUserTrueName": %> <% break; case "CommentUserUserName": %> <% break; case "TargetType": %> <% break; case "TargetGuid": %> <% break; case "Title": %> <% break; case "CommentText": %> <% break; case "IP": %> <% break; case "CreateTime": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("Comment_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Comment_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("Comment_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("Comment_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("Comment_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("Comment_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("Comment_评论类型").HtmlEncode() %> <%= OrderBy("TargetType") %> ',event)"> <%= Define.Get("Comment_评论对象").HtmlEncode() %> <%= OrderBy("TargetGuid") %> ',event)"> <%= Define.Get("Comment_标题").HtmlEncode() %> <%= OrderBy("Title") %> ',event)"> <%= Define.Get("Comment_评论内容").HtmlEncode() %> <%= OrderBy("CommentText") %> ',event)"> <%= Define.Get("Comment_IP").HtmlEncode() %> <%= OrderBy("IP") %> ',event)"> <%= Define.Get("Comment_评论时间").HtmlEncode() %> <%= OrderBy("CreateTime") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CommentStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.TargetType %> <%= item.TargetGuid %> <%= item.Title %> <%= item.CommentText %> <%= item.IP %> <%= item.CreateTime %>