<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STGroup.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //STGroup_状态 %> <% break; case "Name": //STGroup_评审组名称 %> <% break; case "STGroupSubjectUserDomainName": //STGroup_SubjectUserDomainName_平台名称 %> <% break; case "STGroupSubjectUserDomainCode": //STGroup_SubjectUserDomainCode_平台编码 %> <% break; case "STGroupSubjectUserUserTypeName": //STGroup_SubjectUserUserTypeName_用户类型名称 %> <% break; case "STGroupSubjectUserUserName": //STGroup_SubjectUserUserName_用户用户名 %> <% break; case "STGroupSubjectUserTrueName": //STGroup_SubjectUserTrueName_用户真实名称 %> <% break; case "STGroupSubjectName": //STGroup_SubjectName_评课名称 %> <% break; case "CreateTime": //STGroup_创建时间 %> <% break; case "Description": //STGroup_描述 %> <% break; case "SortNumber": //STGroup_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "Name": %> <% break; case "STGroupSubjectUserDomainName": %> <% break; case "STGroupSubjectUserDomainCode": %> <% break; case "STGroupSubjectUserUserTypeName": %> <% break; case "STGroupSubjectUserUserName": %> <% break; case "STGroupSubjectUserTrueName": %> <% break; case "STGroupSubjectName": %> <% break; case "CreateTime": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("STGroup_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("STGroup_评审组名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("STGroup_SubjectUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType._Domain.Name") %> ',event)"> <%= Define.Get("STGroup_SubjectUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType._Domain.Code") %> ',event)"> <%= Define.Get("STGroup_SubjectUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> ',event)"> <%= Define.Get("STGroup_SubjectUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> ',event)"> <%= Define.Get("STGroup_SubjectUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> ',event)"> <%= Define.Get("STGroup_SubjectName_评课名称").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> ',event)"> <%= Define.Get("STGroup_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> ',event)"> <%= Define.Get("STGroup_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("STGroup_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.STGroupStatusEnum)item.Status).Define() : null %> <%= item.Name %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentSubject.Name", item) %> <%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.SortNumber %>