%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentReject.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentRejectRecordEquipmentDomainName": //RecordEquipmentReject_RecordEquipmentDomainName_平台名称 %> | ',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> | <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": //RecordEquipmentReject_RecordEquipmentDomainCode_平台编码 %>',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> | <% break; case "RecordEquipmentRejectRecordEquipmentName": //RecordEquipmentReject_RecordEquipmentName_设备名称 %>',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> | <% break; case "RecordEquipmentRejectUserDomainName": //RecordEquipmentReject_UserDomainName_平台名称 %>',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> | <% break; case "RecordEquipmentRejectUserDomainCode": //RecordEquipmentReject_UserDomainCode_平台编码 %>',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> | <% break; case "RecordEquipmentRejectUserUserTypeName": //RecordEquipmentReject_UserUserTypeName_用户类型名称 %>',event)"> <%= Define.Get("RecordEquipmentReject_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> | <% break; case "RecordEquipmentRejectUserTrueName": //RecordEquipmentReject_UserTrueName_真实名称 %>',event)"> <%= Define.Get("RecordEquipmentReject_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> | <% break; case "RecordEquipmentRejectUserUserName": //RecordEquipmentReject_UserUserName_用户名 %>',event)"> <%= Define.Get("RecordEquipmentReject_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> | <% break; case "ApplicationDate": //RecordEquipmentReject_维护日期 %>',event)"> <%= Define.Get("RecordEquipmentReject_维护日期").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> | <% break; case "StartTime": //RecordEquipmentReject_开始时间 %>',event)"> <%= Define.Get("RecordEquipmentReject_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> | <% break; case "EndTime": //RecordEquipmentReject_结束时间 %>',event)"> <%= Define.Get("RecordEquipmentReject_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> | <% break; case "Description": //RecordEquipmentReject_维护说明 %>',event)"> <%= Define.Get("RecordEquipmentReject_维护说明").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "RecordEquipmentRejectRecordEquipmentDomainName":
%>
"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> | <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": %>"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> | <% break; case "RecordEquipmentRejectRecordEquipmentName": %>"> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> | <% break; case "RecordEquipmentRejectUserDomainName": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> | <% break; case "RecordEquipmentRejectUserDomainCode": %>"> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> | <% break; case "RecordEquipmentRejectUserUserTypeName": %>"> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> | <% break; case "RecordEquipmentRejectUserTrueName": %>"> <%= ViewData.Val("ParentUser.TrueName", item) %> | <% break; case "RecordEquipmentRejectUserUserName": %>"> <%= ViewData.Val("ParentUser.UserName", item) %> | <% break; case "ApplicationDate": %><%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> | <% break; case "StartTime": %><%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "EndTime": %><%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; } } %>