<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.STScoreItem.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "STScoreItemSubjectUserDomainName": //STScoreItem_SubjectUserDomainName_平台名称 %> <% break; case "STScoreItemSubjectUserDomainCode": //STScoreItem_SubjectUserDomainCode_平台编码 %> <% break; case "STScoreItemSubjectUserUserTypeName": //STScoreItem_SubjectUserUserTypeName_用户类型名称 %> <% break; case "STScoreItemSubjectUserUserName": //STScoreItem_SubjectUserUserName_用户用户名 %> <% break; case "STScoreItemSubjectUserTrueName": //STScoreItem_SubjectUserTrueName_用户真实名称 %> <% break; case "STScoreItemSubjectName": //STScoreItem_SubjectName_评课名称 %> <% break; case "STScoreItemSTScoreTypeName": //STScoreItem_STScoreTypeName_类型名称 %> <% break; case "Name": //STScoreItem_评分项 %> <% break; case "Description": //STScoreItem_描述 %> <% break; case "ScoreRatio": //STScoreItem_评分比例 %> <% break; case "SortNumber": //STScoreItem_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "STScoreItemSubjectUserDomainName": %> <% break; case "STScoreItemSubjectUserDomainCode": %> <% break; case "STScoreItemSubjectUserUserTypeName": %> <% break; case "STScoreItemSubjectUserUserName": %> <% break; case "STScoreItemSubjectUserTrueName": %> <% break; case "STScoreItemSubjectName": %> <% break; case "STScoreItemSTScoreTypeName": %> <% break; case "Name": %> <% break; case "Description": %> <% break; case "ScoreRatio": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("STScoreItem_SubjectUserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Name") %> ',event)"> <%= Define.Get("STScoreItem_SubjectUserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Subject._User._Domain.Code") %> ',event)"> <%= Define.Get("STScoreItem_SubjectUserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_Subject._User._UserType.Name") %> ',event)"> <%= Define.Get("STScoreItem_SubjectUserUserName_用户用户名").HtmlEncode() %> <%= OrderBy("_Subject._User.UserName") %> ',event)"> <%= Define.Get("STScoreItem_SubjectUserTrueName_用户真实名称").HtmlEncode() %> <%= OrderBy("_Subject._User.TrueName") %> ',event)"> <%= Define.Get("STScoreItem_SubjectName_评课名称").HtmlEncode() %> <%= OrderBy("_Subject.Name") %> ',event)"> <%= Define.Get("STScoreItem_STScoreTypeName_类型名称").HtmlEncode() %> <%= OrderBy("_STScoreType.Name") %> ',event)"> <%= Define.Get("STScoreItem_评分项").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("STScoreItem_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("STScoreItem_评分比例").HtmlEncode() %> <%= OrderBy("ScoreRatio") %> ',event)"> <%= Define.Get("STScoreItem_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentSubject.ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentSubject.ParentUser.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) %> "> <%= ViewData.Val("ParentSTScoreType.Name", item) %> <%= item.Name %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.ScoreRatio %> <%= item.SortNumber %>