天津投入产出系统后端
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.
 
 
 
 
 
 

101 lines
3.6 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.FuntionDescriptionModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
热点查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(80,true) %>
<table id="condiTable">
<tr>
<th align="right">
<%=Html.QV(p => p.MODELNAME)%>
</th>
<td align="left">
<%=Html.QC(p => p.MODELNAME)%>
</td>
<th align="right">
<%=Html.QV(p => p.MENUNAME)%>
</th>
<td align="left">
<%=Html.QC(p => p.MENUNAME)%>
</td>
<th align="right">
<%=Html.QV(p => p.CREATEUSER)%>
</th>
<td align="left">
<%=Html.QC(p => p.CREATEUSER)%>
</td>
<th align="right">
<%=Html.QV(p => p.STARTCREATEDATE)%>
</th>
<td align="left">
<%=Html.QC(p => p.STARTCREATEDATE)%>
</td>
<th align="right">
<%=Html.QV(p => p.ENDCREATEDATE)%>
</th>
<td align="left">
<%=Html.QC(p => p.ENDCREATEDATE)%>
</td>
</tr>
</table>
<div style="left: 1px; position: relative;">
</div>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Web.Models.FuntionDescriptionModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
$(function () {
//功能模块下拉框
$('#MODELNAME').combobox({
onSelect: function () {
var routecode = $('#MODELNAME').combobox('getValue');
if (routecode != "") {
//获取菜单项下拉数据源--联动
$('#MENUNAME').combobox({
url: "/FuntionDescription/GetMenuNameCombox?routecode=" + escape(routecode),
editable: 'false',
valueField: 'MENUNAME',
textField: 'MENUNAME'
});
$('#MENUNAME').combobox("setValue", "");
}
else {
//清空工序下拉框
var plantData = [{ 'MENUNAME': "", 'MENUNAME': ""}];
$('#MENUNAME').combobox("loadData", plantData);
$('#MENUNAME').combobox("select", "");
}
}
});
//List(1);
});
//导出
function Export() {
$.get("/FuntionDescription/ExportExcel", $("form").serializeArray(), function (data) {
submitByButton("/FuntionDescription/ExportFile?FileName=" + data);
});
}
//查询
function Search() {
List(1);
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonSearch("FuntionDescription", "List", "Search()")%>
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>