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

61 lines
2.0 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.UserOrgaizationModel>" %>
<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><%=Html.QV(p=>p.UserName) %></th>
<td><%=Html.QC(p => p.UserName)%></td>
<th><%=Html.QV(p=>p.OrgaDESC) %></th><td><%=Html.QC(p => p.OrgaID)%></td>
</tr>
</table>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Web.Models.Sys.UserOrgaizationModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
$(function () {
$('#OrgaID').combobox({
url: '/User/GetOrgaList',
editable: 'false',
valueField: 'OrgaID',
textField: 'OrgaDESC'
});
});
//设置用户于组织机构信息
function Edit() {
var ids = getSelectKey();
if (ids == "") {
MSI("提示", "请选择修改记录。");
return;
}
if (ids.indexOf(":") > 0) {
MSI("提示", "每次只能修改一条记录。");
return;
}
openAppWindow1('用户信息', 'UserOrgaEdit?UserID=' + ids, '500', '460');
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table id="EditTable" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<%=Html.QTButtonSearch("User", "UserOrgaList", "List(1)")%>
<%=Html.QTButtonUpdate("User", "UserOrgaEdit", "Edit()", QMAPP.Common.Web.SystemLimit.isLimt)%>
</td>
</tr>
</table>
</asp:Content>