<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Unit.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //Unit_状态 %> <% break; case "UnitUnitMasterName": //Unit_UnitMasterName_管理部门名称 %> <% break; case "Name": //Unit_单位名称 %> <% break; case "Address": //Unit_单位地址 %> <% break; case "Phone": //Unit_单位电话 %> <% break; case "SortNumber": //Unit_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "UnitUnitMasterName": %> <% break; case "Name": %> <% break; case "Address": %> <% break; case "Phone": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("Unit_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("Unit_UnitMasterName_管理部门名称").HtmlEncode() %> <%= OrderBy("_UnitMaster.Name") %> ',event)"> <%= Define.Get("Unit_单位名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("Unit_单位地址").HtmlEncode() %> <%= OrderBy("Address") %> ',event)"> <%= Define.Get("Unit_单位电话").HtmlEncode() %> <%= OrderBy("Phone") %> ',event)"> <%= Define.Get("Unit_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UnitStatusEnum)item.Status).Define() : null %> "> <%= ViewData.Val("ParentUnitMaster.Name", item) %> <%= item.Name %> <%= item.Address %> <%= item.Phone %> <%= item.SortNumber %>