<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.RecordEquipmentReject.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentRejectRecordEquipmentDomainName": //RecordEquipmentReject_RecordEquipmentDomainName_平台名称 %> <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": //RecordEquipmentReject_RecordEquipmentDomainCode_平台编码 %> <% break; case "RecordEquipmentRejectRecordEquipmentName": //RecordEquipmentReject_RecordEquipmentName_设备名称 %> <% break; case "RecordEquipmentRejectUserDomainName": //RecordEquipmentReject_UserDomainName_平台名称 %> <% break; case "RecordEquipmentRejectUserDomainCode": //RecordEquipmentReject_UserDomainCode_平台编码 %> <% break; case "RecordEquipmentRejectUserUserTypeName": //RecordEquipmentReject_UserUserTypeName_用户类型名称 %> <% break; case "RecordEquipmentRejectUserTrueName": //RecordEquipmentReject_UserTrueName_真实名称 %> <% break; case "RecordEquipmentRejectUserUserName": //RecordEquipmentReject_UserUserName_用户名 %> <% break; case "ApplicationDate": //RecordEquipmentReject_维护日期 %> <% break; case "StartTime": //RecordEquipmentReject_开始时间 %> <% break; case "EndTime": //RecordEquipmentReject_结束时间 %> <% break; case "Description": //RecordEquipmentReject_维护说明 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "RecordEquipmentRejectRecordEquipmentDomainName": %> <% break; case "RecordEquipmentRejectRecordEquipmentDomainCode": %> <% break; case "RecordEquipmentRejectRecordEquipmentName": %> <% break; case "RecordEquipmentRejectUserDomainName": %> <% break; case "RecordEquipmentRejectUserDomainCode": %> <% break; case "RecordEquipmentRejectUserUserTypeName": %> <% break; case "RecordEquipmentRejectUserTrueName": %> <% break; case "RecordEquipmentRejectUserUserName": %> <% break; case "ApplicationDate": %> <% break; case "StartTime": %> <% break; case "EndTime": %> <% break; case "Description": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Name") %> ',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_RecordEquipment._Domain.Code") %> ',event)"> <%= Define.Get("RecordEquipmentReject_RecordEquipmentName_设备名称").HtmlEncode() %> <%= OrderBy("_RecordEquipment.Name") %> ',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainName_平台名称").HtmlEncode() %> <%= OrderBy("_User._Domain.Name") %> ',event)"> <%= Define.Get("RecordEquipmentReject_UserDomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_User._Domain.Code") %> ',event)"> <%= Define.Get("RecordEquipmentReject_UserUserTypeName_用户类型名称").HtmlEncode() %> <%= OrderBy("_User._UserType.Name") %> ',event)"> <%= Define.Get("RecordEquipmentReject_UserTrueName_真实名称").HtmlEncode() %> <%= OrderBy("_User.TrueName") %> ',event)"> <%= Define.Get("RecordEquipmentReject_UserUserName_用户名").HtmlEncode() %> <%= OrderBy("_User.UserName") %> ',event)"> <%= Define.Get("RecordEquipmentReject_维护日期").HtmlEncode() %> <%= OrderBy("ApplicationDate") %> ',event)"> <%= Define.Get("RecordEquipmentReject_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> ',event)"> <%= Define.Get("RecordEquipmentReject_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("RecordEquipmentReject_维护说明").HtmlEncode() %> <%= OrderBy("Description") %>
"> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentRecordEquipment.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentRecordEquipment.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentUser.ParentDomain.Code", item) %> "> <%= ViewData.Val("ParentUser.ParentUserType.Name", item) %> "> <%= ViewData.Val("ParentUser.TrueName", item) %> "> <%= ViewData.Val("ParentUser.UserName", item) %> <%= item.ApplicationDate.ToDateTimeN().ToAutoShortDate() %> <%= item.StartTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %>