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

70 lines
2.5 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Report.AuthorityModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
权限查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%--管理员显示查询项信息--%>
<%=Html.QPSeach(80,true) %>
<div>
<table id="condiTable">
<tr>
<th align="right">
<%=Html.QV(p => p.ORGANID)%>
</th>
<td>
<%=Html.QMyPerceptTextboxFor(p => p.ORGANNAME, "OrganList", "setOrgaID", null)%>
<%=Html.HiddenFor(p => p.ORGANID)%>
</td>
<th align="right">
<%=Html.QV(p => p.LOGINUSERID)%>
</th>
<td>
<%=Html.QMyPerceptTextboxFor(p => p.LOGINUSERID, "userlist", "", null)%>
</td>
</tr>
</table>
</div>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Web.Models.Report.AuthorityModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
//导出
function Expert() {
document.getElementById("selectKey").value = getSelectKey();
submitByButton("ExpertExcel");
}
//设置机构回调
function setOrgaID(data) {
if (data != null) {
if (data.id == document.getElementById("ORGANID").value)
return;
document.getElementById("ORGANID").value = data.id;
}
else {
if (document.getElementById("ORGANID").value == "")
return;
document.getElementById("ORGANID").value = "";
}
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonSearch("Authority", "AuthorityList", "List();", (s, f) => { return true; })%>
<%=Html.QTButton("export", "ExpertExcel", QMFrameWork.WebUI.IconCls.redo, "Expert()", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButton("help", "", "help", "SysHelp('06050000','AuthorityList')", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>