%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UnitMaster.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "Status": //UnitMaster_状态 %> | ',event)"> <%= Define.Get("UnitMaster_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "Name": //UnitMaster_管理部门名称 %>',event)"> <%= Define.Get("UnitMaster_管理部门名称").HtmlEncode() %> <%= OrderBy("Name") %> | <% break; case "Address": //UnitMaster_管理部门地址 %>',event)"> <%= Define.Get("UnitMaster_管理部门地址").HtmlEncode() %> <%= OrderBy("Address") %> | <% break; case "Phone": //UnitMaster_单位电话 %>',event)"> <%= Define.Get("UnitMaster_单位电话").HtmlEncode() %> <%= OrderBy("Phone") %> | <% break; case "SortNumber": //UnitMaster_排序号 %>',event)"> <%= Define.Get("UnitMaster_排序号").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 "Status":
%>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitMasterStatusEnum)item.Status).Define() : null %> | <% break; case "Name": %><%= item.Name %> | <% break; case "Address": %><%= item.Address %> | <% break; case "Phone": %><%= item.Phone %> | <% break; case "SortNumber": %><%= item.SortNumber %> | <% break; } } %>