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