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