%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UnitMaster.Select1" %>
<% 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; } } %>|
---|---|---|---|---|---|---|
<% 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; } } %>