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

58 lines
2.6 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.DesktopModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
添加快捷方式
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="tab_set" style="width:502px;height:404px;">
<div title="管理中心" style="padding:5px;">
<%=Html.QTreeView("TreePowers1", "/AppDesktop/GetMenus?SystemID=Main")%>
</div>
<div title="主数据" style="padding:5px;">
<%=Html.QTreeView("TreePowers2", "/AppDesktop/GetMenus?SystemID=MainData")%>
</div>
<div title="看板管理" style="padding:5px;">
<%=Html.QTreeView("TreePowers3", "/AppDesktop/GetMenus?SystemID=KB")%>
</div>
<div title="仓库管理" style="padding:5px;">
<%=Html.QTreeView("TreePowers4", "/AppDesktop/GetMenus?SystemID=PLP")%>
</div>
<div title="统计查询" style="padding:5px;">
<%=Html.QTreeView("TreePowers5", "/AppDesktop/GetMenus?SystemID=Report")%>
</div>
</div>
<%=Html.HiddenFor(p=>p.SelectedMenus1) %>
<%=Html.HiddenFor(p=>p.SelectedMenus2) %>
<%=Html.HiddenFor(p=>p.SelectedMenus3) %>
<%=Html.HiddenFor(p=>p.SelectedMenus4) %>
<%=Html.HiddenFor(p=>p.SelectedMenus5) %>
<script language="javascript" type="text/javascript">
$(function () {
$('#tab_set').tabs({
});
});
//保存
function SaveItem() {
document.getElementById("SelectedMenus1").value = getTreeIDTreePowers1();
document.getElementById("SelectedMenus2").value = getTreeIDTreePowers2();
document.getElementById("SelectedMenus3").value = getTreeIDTreePowers3();
document.getElementById("SelectedMenus4").value = getTreeIDTreePowers4();
document.getElementById("SelectedMenus5").value = getTreeIDTreePowers5();
submitByButton("SaveItem");
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButton("ok", "AddDesktopItem", QMFrameWork.WebUI.IconCls.ok, "SaveItem();", (s, f) => { return true; })%>
<%=Html.QTButton("close", "AddDesktopItem", "close", "parent.closeAppWindow1();return false;", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>