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

75 lines
2.8 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.QPEdit("用户与组织机构", string.IsNullOrEmpty(Model.isEdit) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%>
<table id="mytable" cellpadding=0 cellspacing=0 align="center">
<tr>
<td>
<table align="center">
<tr>
<th align=right><%=Html.QV(p=>p.UserName) %></th><td>
<input class="easyui-validatebox" id="UserName" name="UserName" type="text" disabled value="<%=Model.UserName %>"></input>
</td>
<th align=right>所属主组织机构</th>
<td>
<input class="easyui-validatebox" id="OrgaName" name="UserName" type="text" disabled value="<%=Model.OrgaDESC %>"></input>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div id="tab_set" style="width:400px;height:300px;">
<div title="组织机构" style="padding:5px;">
<%=Html.QTreeView("TreeOrgas", "/UserOrgaization/GetTreeOrgas?userID=" + Model.UserID + "&OrgaID="+Model.OrgaID)%>
</div>
</div>
</td>
</tr>
</table>
<%=Html.HiddenFor(p=>p.UserID) %>
<%=Html.HiddenFor(p => p.UserIDPK)%>
<%=Html.HiddenFor(p=>p.isEdit) %>
<%=Html.HiddenFor(p=>p.CreateUser) %>
<%=Html.HiddenFor(p=>p.CreateDate) %>
<%=Html.HiddenFor(p=>p.UpdateUser) %>
<%=Html.HiddenFor(p=>p.UpdateDate) %>
<%=Html.QPEnd() %>
<%=Html.Hidden("SelectedOrgas")%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td align="center">
<%=Html.QTButtonSave("UserOrgaization", "UserOrgaSave", "Save()")%>
<%=Html.QTButton("close", "UserOrgaList", "parent.closeAppWindow1();return false;", (s, f) => { return true; })%>
</td>
</tr>
</table>
<script type="text/javascript">
$(function () {
$('#tab_set').tabs({
});
});
//保存
function Save() {
//校验基本信息合法性
if (isValidate() == false) {
return false;
}
//接收组织机构
document.getElementById("SelectedOrgas").value = getTreeIDTreeOrgas();
submitByButton("UserOrgaSave");
}
</script>
</asp:Content>