|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<title>自动发起</title>
|
|
|
|
|
<link href="../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<link href="../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<script src="../../Scripts/easyUI145/jquery.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../../Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../../Scripts/QueryString.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../../Scripts/config.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../../Scripts/QueryString.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../../Comm/Gener.js" type="text/javascript"></script>
|
|
|
|
|
<script src="DDLBar.js" type="text/javascript"></script>
|
|
|
|
|
<link href="../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
|
|
|
|
|
<link href="../../Style/skin/css/Default.css" rel="stylesheet" />
|
|
|
|
|
<script src="../EnumLab.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function () {
|
|
|
|
|
|
|
|
|
|
InitBar(MenuModel.SelfUrl);
|
|
|
|
|
var html = "";
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function Save() {
|
|
|
|
|
|
|
|
|
|
//更新节点表单类型.
|
|
|
|
|
var moduleNo = GetQueryString("ModuleNo");
|
|
|
|
|
var en = new Entity("BP.CCFast.CCMenu.Menu");
|
|
|
|
|
en.ModuleNo = moduleNo;
|
|
|
|
|
en.Name = $("#TB_Title").val();
|
|
|
|
|
en.UrlExt = $("#TB_Url").val();
|
|
|
|
|
en.MenuModel = "SelfUrl"; //类型为.
|
|
|
|
|
en.Insert();
|
|
|
|
|
|
|
|
|
|
alert("创建成功,您可以在在菜单里执行高级编辑与授权.");
|
|
|
|
|
|
|
|
|
|
SetHref("../../Comm/En.htm?EnName=BP.CCFast.CCMenu.Menu&No=" + en.No);
|
|
|
|
|
// SetHref( "../Menus.htm";
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="bar">
|
|
|
|
|
</div>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>自定义URL菜单, 您可以使用右上角的下拉框选择自己要定义的菜单类型. </legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>菜单标题:</li>
|
|
|
|
|
<li> <input type="text" value="" id="TB_Title" placeholder="功能页面1" style="width:80%;" /> </li>
|
|
|
|
|
<li> <input type="text" value="" id="TB_Url" placeholder="/App/MyUrl.htm" style="width:80%;" /> </li>
|
|
|
|
|
<li>菜单连接: http://ccbpm.cn/MyUrl.htm </li>
|
|
|
|
|
<li>菜单连接: http://ccbpm.cn/MyUrl.htm </li>
|
|
|
|
|
<li>链接: /WF/Comm/Search.htm?EnsName=BP.ZS.Projcets 查询</li>
|
|
|
|
|
<li>链接: /WF/Comm/Group.htm?EnsName=BP.ZS.Projcets 分析</li>
|
|
|
|
|
<li>链接: /WF/MyFlow.htm?FK_Flow=001 发起指定的流程. </li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<legend>帮助</legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<li> 可以使用相对路径,也可以使用绝对路径。</li>
|
|
|
|
|
<li> 用户输入的Url: http://ccbpm.cn/MyUrl.htm</li>
|
|
|
|
|
<li> 打开的Url : http://ccbpm.cn/MyUrl.htm?UserNo=xxxx&Token=xxxx。</li>
|
|
|
|
|
<li> SID就类似于token, UserNo就是当前登录用户的编号。</li>
|
|
|
|
|
|
|
|
|
|
<li> <img src="SelfUrl.png" class="HelpImg" /></li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|