<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage" %> 组织机构信息编辑 <%=Html.QPEdit("组织机构信息", string.IsNullOrEmpty(Model.isEdit) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%>
<%=Html.QV(p=>p.OrgaID) %><%=Html.QC(p => p.OrgaID,new {title="请输入组织结构编号" })%> <%=Html.QV(p=>p.OrgaDESC) %><%=Html.QC(p => p.OrgaDESC, new { title = "请输入组织结构名称" })%>
<%=Html.QV(p=>p.ACTIVATEFLG)%><%=Html.CheckBoxFor(p=>p.CkACTIVATEFLG) %>
<%=Html.QTreeView("TreeRoles", "/Orgaization/GetTreeRoles?organID="+Model.OrgaID)%>
<%--
<%=Html.QTreeView("TreePowers", "/Orgaization/GetTreePowers?orgaID=" + Model.OrgaID)%>
--%>
<%=Html.HiddenFor(p=>p.OrgaID) %> <%=Html.HiddenFor(p=>p.isEdit) %> <%=Html.HiddenFor(p => p.OrgaParent)%> <%=Html.HiddenFor(p=>p.CreateUser) %> <%=Html.HiddenFor(p=>p.CreateTime) %> <%=Html.HiddenFor(p=>p.UpdateUser) %> <%=Html.HiddenFor(p=>p.UpdateTime) %> <%=Html.Hidden("SelectedPowers")%> <%=Html.Hidden("SelectedRoles")%> <%=Html.QPEnd() %>
<%=Html.QTButtonSave("Orgaization", "OrgaizationSave", "Save()")%> <%=Html.QTButton("close", "OrgaizationList","close", "parent.closeAppWindow1();return false;", (s, f) => { return true; })%>