<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.SyncRemark.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "MasterDomainName": //SyncRemark_主平台名称 %> <% break; case "SubDomainName": //SyncRemark_子平台名称 %> <% break; case "ImportType": //SyncRemark_同步类型 %> <% break; case "CreatTime": //SyncRemark_创建时间 %> <% break; case "BeginTime": //SyncRemark_开始时间 %> <% break; case "EndTime": //SyncRemark_结束时间 %> <% break; case "Status": //SyncRemark_同步状态 %> <% break; case "Description": //SyncRemark_出错信息 %> <% break; case "SortNumber": //SyncRemark_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "MasterDomainName": %> <% break; case "SubDomainName": %> <% break; case "ImportType": %> <% break; case "CreatTime": %> <% break; case "BeginTime": %> <% break; case "EndTime": %> <% break; case "Status": %> <% break; case "Description": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("SyncRemark_主平台名称").HtmlEncode() %> <%= OrderBy("MasterDomainName") %> ',event)"> <%= Define.Get("SyncRemark_子平台名称").HtmlEncode() %> <%= OrderBy("SubDomainName") %> ',event)"> <%= Define.Get("SyncRemark_同步类型").HtmlEncode() %> <%= OrderBy("ImportType") %> ',event)"> <%= Define.Get("SyncRemark_创建时间").HtmlEncode() %> <%= OrderBy("CreatTime") %> ',event)"> <%= Define.Get("SyncRemark_开始时间").HtmlEncode() %> <%= OrderBy("BeginTime") %> ',event)"> <%= Define.Get("SyncRemark_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("SyncRemark_同步状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("SyncRemark_出错信息").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("SyncRemark_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> <%= item.MasterDomainName %> <%= item.SubDomainName %> <%= item.ImportType != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkImportTypeEnum)item.ImportType).Define() : null %> <%= item.CreatTime.ToDateTimeN().ToAutoShortDate() %> <%= item.BeginTime.ToDateTimeN().ToAutoShortDate() %> <%= item.EndTime.ToDateTimeN().ToAutoShortDate() %> <%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.SyncRemarkStatusEnum)item.Status).Define() : null %> <%= item.Description %> <%= item.SortNumber %>