<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Select.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.UserType.Select1" %> <% foreach (var field in this.Fields) { switch (field) { case "Status": //UserType_状态 %> <% break; case "Name": //UserType_类型名称 %> <% break; case "IsManager": //UserType_允许后台登录 %> <% break; case "SetGroupEnable": //UserType_可否设置用户组 %> <% break; case "AlbumEnable": //UserType_启用专辑管理 %> <% break; case "ExamineAlbum": //UserType_创建专辑是否需要审核 %> <% break; case "AlbumShare": //UserType_专辑共享管理 %> <% break; case "VideoEnable": //UserType_启用视频管理 %> <% break; case "ExamineVideo": //UserType_上传视频是否需要审核 %> <% break; case "MeetingEnable": //UserType_启用教研互动管理 %> <% break; case "ExamineMeeting": //UserType_创建教研互动是否需要审核 %> <% break; case "PublicClassEnable": //UserType_启用公开课 %> <% break; case "ExaminePublicClass": //UserType_是否审核公开课 %> <% break; case "STEnable": //UserType_是否开启优课评比比赛权限 %> <% break; case "StudentEbable": //UserType_视频提问 %> <% break; case "TeacherEbable": //UserType_提问回复 %> <% break; case "HeadMasterEnable": //UserType_平台统计 %> <% break; case "InstructorEnable": //UserType_开启教研工作功能 %> <% break; case "ExpertPanelEnable": //UserType_专家评委功能 %> <% break; case "GreateTeacherEnable": //UserType_为名师状态 %> <% break; case "ListenLesson": //UserType_开启听课功能 %> <% break; case "SortNumber": //UserType_排序号 %> <% break; } } %> <% foreach (var item in this.ListData) { %> <% foreach (var field in this.Fields) { switch (field) { case "Status": %> <% break; case "Name": %> <% break; case "IsManager": %> <% break; case "SetGroupEnable": %> <% break; case "AlbumEnable": %> <% break; case "ExamineAlbum": %> <% break; case "AlbumShare": %> <% break; case "VideoEnable": %> <% break; case "ExamineVideo": %> <% break; case "MeetingEnable": %> <% break; case "ExamineMeeting": %> <% break; case "PublicClassEnable": %> <% break; case "ExaminePublicClass": %> <% break; case "Description": %> <% break; case "STEnable": %> <% break; case "StudentEbable": %> <% break; case "TeacherEbable": %> <% break; case "HeadMasterEnable": %> <% break; case "InstructorEnable": %> <% break; case "ExpertPanelEnable": %> <% break; case "GreateTeacherEnable": %> <% break; case "ListenLesson": %> <% break; case "SortNumber": %> <% break; } } %> <% } %>
',event)"> <%= Define.Get("UserType_状态").HtmlEncode() %> <%= OrderBy("Status") %> ',event)"> <%= Define.Get("UserType_类型名称").HtmlEncode() %> <%= OrderBy("Name") %> ',event)"> <%= Define.Get("UserType_允许后台登录").HtmlEncode() %> <%= OrderBy("IsManager") %> ',event)"> <%= Define.Get("UserType_可否设置用户组").HtmlEncode() %> <%= OrderBy("SetGroupEnable") %> ',event)"> <%= Define.Get("UserType_启用专辑管理").HtmlEncode() %> <%= OrderBy("AlbumEnable") %> ',event)"> <%= Define.Get("UserType_创建专辑是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineAlbum") %> ',event)"> <%= Define.Get("UserType_专辑共享管理").HtmlEncode() %> <%= OrderBy("AlbumShare") %> ',event)"> <%= Define.Get("UserType_启用视频管理").HtmlEncode() %> <%= OrderBy("VideoEnable") %> ',event)"> <%= Define.Get("UserType_上传视频是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineVideo") %> ',event)"> <%= Define.Get("UserType_启用教研互动管理").HtmlEncode() %> <%= OrderBy("MeetingEnable") %> ',event)"> <%= Define.Get("UserType_创建教研互动是否需要审核").HtmlEncode() %> <%= OrderBy("ExamineMeeting") %> ',event)"> <%= Define.Get("UserType_启用公开课").HtmlEncode() %> <%= OrderBy("PublicClassEnable") %> ',event)"> <%= Define.Get("UserType_是否审核公开课").HtmlEncode() %> <%= OrderBy("ExaminePublicClass") %> <% break; case "Description": //UserType_描述 %> ',event)"> <%= Define.Get("UserType_描述").HtmlEncode() %> <%= OrderBy("Description") %> ',event)"> <%= Define.Get("UserType_是否开启优课评比比赛权限").HtmlEncode() %> <%= OrderBy("STEnable") %> ',event)"> <%= Define.Get("UserType_视频提问").HtmlEncode() %> <%= OrderBy("StudentEbable") %> ',event)"> <%= Define.Get("UserType_提问回复").HtmlEncode() %> <%= OrderBy("TeacherEbable") %> ',event)"> <%= Define.Get("UserType_平台统计").HtmlEncode() %> <%= OrderBy("HeadMasterEnable") %> ',event)"> <%= Define.Get("UserType_开启教研工作功能").HtmlEncode() %> <%= OrderBy("InstructorEnable") %> ',event)"> <%= Define.Get("UserType_专家评委功能").HtmlEncode() %> <%= OrderBy("ExpertPanelEnable") %> ',event)"> <%= Define.Get("UserType_为名师状态").HtmlEncode() %> <%= OrderBy("GreateTeacherEnable") %> ',event)"> <%= Define.Get("UserType_开启听课功能").HtmlEncode() %> <%= OrderBy("ListenLesson") %> ',event)"> <%= Define.Get("UserType_排序号").HtmlEncode() %> <%= OrderBy("SortNumber") %>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum)item.Status).Define() : null %> <%= item.Name %> <%= item.IsManager != null ? ((AVA.ResourcesPlatform.Model.Pub.UserTypeIsManagerEnum)item.IsManager).Define() : null %> <%= item.SetGroupEnable ? "是" : "否" %> <%= item.AlbumEnable ? "是" : "否" %> <%= item.ExamineAlbum ? "是" : "否" %> <%= item.AlbumShare ? "是" : "否" %> <%= item.VideoEnable ? "是" : "否" %> <%= item.ExamineVideo ? "是" : "否" %> <%= item.MeetingEnable ? "是" : "否" %> <%= item.ExamineMeeting ? "是" : "否" %> <%= item.PublicClassEnable %> <%= item.ExaminePublicClass %> <%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> <%= item.STEnable ? "是" : "否" %> <%= item.StudentEbable ? "是" : "否" %> <%= item.TeacherEbable ? "是" : "否" %> <%= item.HeadMasterEnable ? "是" : "否" %> <%= item.InstructorEnable ? "是" : "否" %> <%= item.ExpertPanelEnable ? "是" : "否" %> <%= item.GreateTeacherEnable ? "是" : "否" %> <%= item.ListenLesson ? "是" : "否" %> <%= item.SortNumber %>