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