%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SubjectUser.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "SubjectUserSubjectUserDomainName": //SubjectUser_SubjectUserDomainName_平台名称 %> | ',event)"> <%= Define.Get("SubjectUser_SubjectUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> | <% break; case "SubjectUserSubjectUserDomainCode": //SubjectUser_SubjectUserDomainCode_平台编码 %>',event)"> <%= Define.Get("SubjectUser_SubjectUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> | <% break; case "SubjectUserSubjectUserUserTypeName": //SubjectUser_SubjectUserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("SubjectUser_SubjectUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> | <% break; case "SubjectUserSubjectUserUserName": //SubjectUser_SubjectUserUserName_用户用户名 %>',event)"> <%= Define.Get("SubjectUser_SubjectUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> | <% break; case "SubjectUserSubjectUserTrueName": //SubjectUser_SubjectUserTrueName_用户真实名称 %>',event)"> <%= Define.Get("SubjectUser_SubjectUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> | <% break; case "SubjectUserSubjectName": //SubjectUser_SubjectName_优课评比名称 %>',event)"> <%= Define.Get("SubjectUser_SubjectName_优课评比名称").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> | <% break; case "SubjectUserUserDomainName": //SubjectUser_UserDomainName_平台名称 %>',event)"> <%= Define.Get("SubjectUser_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> | <% break; case "SubjectUserUserDomainCode": //SubjectUser_UserDomainCode_平台编码 %>',event)"> <%= Define.Get("SubjectUser_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> | <% break; case "SubjectUserUserUserTypeName": //SubjectUser_UserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("SubjectUser_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> | <% break; case "SubjectUserUserTrueName": //SubjectUser_UserTrueName_真实名称 %>',event)"> <%= Define.Get("SubjectUser_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "SubjectUserUserUserName": //SubjectUser_UserUserName_用户名 %>',event)"> <%= Define.Get("SubjectUser_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "JoinType": //SubjectUser_加入类型 %>',event)"> <%= Define.Get("SubjectUser_加入类型").HtmlEncode() %> <%= OrderBy("JoinType") %> | <% break; case "SortNumber": //SubjectUser_排序号 %>',event)"> <%= Define.Get("SubjectUser_排序号").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 "SubjectUserSubjectUserDomainName":
%>
"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> | <% break; case "SubjectUserSubjectUserDomainCode": %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Code", item) %> | <% break; case "SubjectUserSubjectUserUserTypeName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.ParentUserType.Name", item) %> | <% break; case "SubjectUserSubjectUserUserName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.UserName", item) %> | <% break; case "SubjectUserSubjectUserTrueName": %>"> <%= ViewData.Val("ParentSubject.ParentUser.TrueName", item) %> | <% break; case "SubjectUserSubjectName": %>"> <%= ViewData.Val("ParentSubject.Name", item) %> | <% break; case "SubjectUserUserDomainName": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> | <% break; case "SubjectUserUserDomainCode": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> | <% break; case "SubjectUserUserUserTypeName": %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> | <% break; case "SubjectUserUserTrueName": %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "SubjectUserUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "JoinType": %><%= item.JoinType != null ? ((AVA.ResourcesPlatform.Model.Pub.SubjectUserJoinTypeEnum)item.JoinType).Define() : null %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>