天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
1.5 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Common.Web.Models.TemplateListModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
查询模板列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Common.Web.Models.TemplateListModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script type="text/javascript">
//应用
function Apply() {
var ids = getSelectKey();
if (ids == "") {
MSI("提示", "请选择查询模板。");
return;
}
if (ids.indexOf(":") > 0) {
MSI("提示", "每次只能应用一个查询模板。");
return;
}
parent.parent.closeAppWindow1();
parent.parent.ApplyTemplate(ids);
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<%=Html.QTButton("apply", "TemplateApply", QMFrameWork.WebUI.IconCls.ok, "Apply()", (s, f) => { return true; })%>
<%=Html.QTButton("close", "close","close", "parent.parent.closeAppWindow1();return false;", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>