<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Select.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Application.Select" %> <%= this.Title %> <%= Import.Theme() %> <%= Import.Script("/jquery.1.9.js")%>
<%# Define.Get("Application_状态").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "Status")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._int)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= new HtmlSelect("$FieldValue", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum) }.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")%> <%# Define.Get("Application_RecordEquipmentName_设备名称").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_RecordEquipment")%> <%= new HtmlHidden("$Field", "Name")%> <%= 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("Application_直播日期").HtmlEncode() %>: <%= new HtmlHidden("$LeftParenthesis", (int)Z.Core.NHibernateCore.Search.QueryParenthesisEnum.None)%> <%= new HtmlHidden("$TableAlias", "_Alias")%> <%= new HtmlHidden("$Field", "ApplicationDate")%> <%= new HtmlHidden("$FieldType", (int)Z.Core.NHibernateCore.Search.FieldTypeEnum._DateTime)%> <%= new HtmlHidden("$ExpressionKey", null)%> <%= new HtmlHidden("$QueryType", (int)Z.Core.NHibernateCore.Search.QueryTypeEnum.Eq)%> <%= 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")%> <% if (!string.IsNullOrEmpty(this.Type) && !string.IsNullOrEmpty(this.TargetGuid)) { string expressionKey = ""; switch(this.Type) { case "Subject": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_SubjectApplication Pub_SubjectApplicationTemp WHERE (ApplicationGuid = {_Alias}.Guid AND SubjectGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Application_Select_Subject(); break; case "ListenLesson": // expressionKey = "(NOT EXISTS (SELECT * FROM Pub_LLApplication Pub_LLApplicationTemp WHERE (ApplicationGuid = {_Alias}.Guid AND ListenLessonGuid {operator} {value})))"; // MySql? expressionKey = AVA.ResourcesPlatform.Factory.CreateInstance.SQLDao.AdminUI_Pub_Application_Select_ListenLesson(); 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.SelectListCount)%> <%= 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/ApplicationAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/ManagerViewDefineAjax.js")%>