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

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.OnLineHelpModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
在线帮助管理
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script src="../../Scripts/ckeditor/ckeditor.js" type="text/javascript"></script>
<table>
<tr>
<td valign="top">
<div style="width: 240px; height: 470px; overflow: auto">
<%=Html.QTreeView("systemLimitMeun", "/OnLineHelp/GetTreeMenuDatas", false)%>
</div>
</td>
<td style="width: 0.5px; background-color: Gray;">
</td>
<td valign="top">
<table>
<tr>
<td style="width:800px">
<div style="width:100%; height: 470px; overflow:hidden">
<iframe id="frmEdit" src="" scrolling="auto" width="100%" frameborder="0" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="220" valign=middle>
模块列表
</td>
</tr>
</table>
<script type="text/javascript">
$(function () {
//绑定树状click事件
$('#systemLimitMeun').tree({
onClick: function () {
var node = $('#systemLimitMeun').tree('getSelected');
if ($('#systemLimitMeun').tree('isLeaf', node.target)) {
LoadEditPageForCurrent(node.id);
}
else {
LoadEditPageForCurrent("");
}
}
});
});
//加载选中节点在线帮助的编辑页面
function LoadEditPageForCurrent(id) {
document.getElementById("frmEdit").src = "Edit?menuId="+id;
}
</script>
</asp:Content>