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