<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Select.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.User.Select" %> <%= this.Title %> <%= Import.Theme() %> <%= Import.Script("/jquery.1.9.js")%>
<%# Define.Get("User_用户名").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "UserName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%# Define.Get("User_真实名称").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "TrueName")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%= new HtmlText("$FieldValue", null) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <%# Define.Get("User_UserTypeName_类型名称").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_UserType")%> <%= new HtmlHidden("$Field", "Guid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Like)%> <%--<%= new HtmlText("$FieldValue", null) { Width = 80 }%>--%> <%= new HtmlSelect("$FieldValue", "Name", "Guid", "Guid") { Option = CreateInstance.UserTypeDao.Where(l=>l.Status == (int)AVA.ResourcesPlatform.Model.Pub.UserTypeStatusEnum.有效).OrderBy(l=>l.SortNumber).ToList()}.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0)%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <% if (!string.IsNullOrEmpty(this.Type) && !string.IsNullOrEmpty(this.TargetGuid)) { string expressionKey = ""; switch(this.Type) { case "Subject": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_SubjectUser Pub_SubjectUserTemp WHERE (UserGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_Subject(); break; case "Meeting": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_MeetingUser Pub_MeetingUserTemp WHERE (UserGuid = {_Alias}.Guid AND MeetingGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_Meeting(); break; case "STUser": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_STUser Pub_STUser WHERE (UserGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_STUser(); break; case "ListenLesson": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_LLUser Pub_LLUserTemp WHERE (UserGuid = {_Alias}.Guid AND ListenLessonGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_ListenLesson(); break; case "PublicClass": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_PublicClassUser Pub_PublicClassUserTemp WHERE (UserGuid = {_Alias}.Guid AND PublicClassGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_PublicClass(); break; case "SubjectUserApply": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_SubjectUserApply Pub_Pub_SubjectUserApplyTemp WHERE (UserGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_User_Select_SubjectUserApply(); break; default: expressionKey = null; return; } %> <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Guid")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._string)%> <%= new HtmlHidden("$ExpressionKey", expressionKey)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlHidden("$FieldValue", this.TargetGuid) { Width = 80 }%> <%= new HtmlHidden("$RightParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$LogicType", (int)Z.Core.NHibernateCore.Search.LogicTypeEnum.AND)%> <%= new HtmlHidden("$IgnoreEmpty", "1")%> <% } %> <%= new HtmlSubmit(null, null) { OnClick = "GoSearch(this);" }.Style(new { Display = "none" })%>
<%= new HtmlHidden("PageIndex", "1") %> <%= new HtmlHidden("PageSize", SettingGroup.ManagerDefine.ListCount)%> <%= new HtmlHidden("Orders", null)%> <%= new HtmlHidden("", null) { ID = "SearchParameter" }%>
<%= DefineEnum.查询.Define() %>
<%= DefineEnum.高级查询.Define() %>
<%= DefineEnum.列表项.Define() %>

<%= Title %>

<%= DefineEnum._总共__strong__span_id____pageRecord____span___strong__.Define() %>
<%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/Global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/UserAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/ManagerViewDefineAjax.js")%>