<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.ApplicationTimeSetting.List1" %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationTimeSettingDomainName": //ApplicationTimeSetting_DomainName_平台名称 %> <% break; case "ApplicationTimeSettingDomainCode": //ApplicationTimeSetting_DomainCode_平台编码 %> <% break; case "IsWeek": //ApplicationTimeSetting_是否周末 %> <% break; case "Chatper": //ApplicationTimeSetting_第几节课 %> <% break; case "StartTime": //ApplicationTimeSetting_开始时间 %> <% break; case "EndTime": //ApplicationTimeSetting_结束时间 %> <% break; case "InterLockTime": //ApplicationTimeSetting_允许时间交错 %> <% break; case "SortNumber": //ApplicationTimeSetting_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "ApplicationTimeSettingDomainName": %> <% break; case "ApplicationTimeSettingDomainCode": %> <% break; case "IsWeek": %> <% break; case "StartTime": %> <% break; case "Chatper": %> <% break; case "EndTime": %> <% break; case "InterLockTime": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> ',event)"> <%= Define.Get("ApplicationTimeSetting_DomainName_平台名称").HtmlEncode() %> <%= OrderBy("_Domain.Name") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_DomainCode_平台编码").HtmlEncode() %> <%= OrderBy("_Domain.Code") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_是否周末").HtmlEncode() %> <%= OrderBy("IsWeek") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_第几节课").HtmlEncode() %> <%= OrderBy("Chatper") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_开始时间").HtmlEncode() %> <%= OrderBy("StartTime") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_结束时间").HtmlEncode() %> <%= OrderBy("EndTime") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_允许时间交错").HtmlEncode() %> <%= OrderBy("InterLockTime") %> ',event)"> <%= Define.Get("ApplicationTimeSetting_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= DefineEnum.修改.Define() %> "> <%= ViewData.Val("ParentDomain.Name", item) %> "> <%= ViewData.Val("ParentDomain.Code", item) %> <%= item.IsWeek != null ? ((AVA.ResourcesPlatform.Model.Pub.ApplicationTimeSettingIsWeekEnum)item.IsWeek).Define() : null %> <%= item.StartTime.ToDateTimeN().ToTime()%> <%= item.Chatper%> <%= item.EndTime.ToDateTimeN().ToTime()%> <%= item.InterLockTime ? "是" : "否" %> <%= item.SortNumber %>