|
|
|
|
<!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("Rpt3D");
|
|
|
|
|
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 = "Rpt3D"; //类型为.
|
|
|
|
|
en.Icon = "icon-heart";
|
|
|
|
|
en.Tag0 = 'SELECT FK_BanJi,XB,ZZMM, COUNT(*) as Num from Demo_Student GROUP BY FK_BanJi,XB,ZZMM';
|
|
|
|
|
en.Tag1 = 'SELECT No,Name FROM demo_banji';
|
|
|
|
|
en.Tag2 = 'SELECT IntKey as No, Lab as Name FROM sys_enum WHERE EnumKey=~XB~';
|
|
|
|
|
en.Tag3 = 'SELECT IntKey as No, Lab as Name FROM sys_enum WHERE EnumKey=~ZZMM~';
|
|
|
|
|
en.Insert();
|
|
|
|
|
|
|
|
|
|
alert("创建成功,您可以在在菜单里执行高级编辑与授权.");
|
|
|
|
|
|
|
|
|
|
//var en = new Entity("BP.CCFast.Rpt.Rpt3D", en.No);
|
|
|
|
|
//en.Tag1 = "SELECT ";
|
|
|
|
|
// en.Tag2 = "";
|
|
|
|
|
//en.Tag3 = "";
|
|
|
|
|
//en.Update();
|
|
|
|
|
|
|
|
|
|
SetHref("../../Comm/En.htm?EnName=BP.CCFast.Rpt.Rpt3D&No=" + en.No);
|
|
|
|
|
// SetHref( "../Menus.htm";
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="bar">
|
|
|
|
|
</div>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>三位报表 </legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>菜单标题:</li>
|
|
|
|
|
<li> <input type="text" value="三维度报表" id="TB_Title" placeholder="输入菜单标题" /> </li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<legend>帮助</legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<li> 三维报表,需要指定三个数据源,通过列的关系显示数据。 </li>
|
|
|
|
|
<!--<li> <img src="SelfUrl.png" class="HelpImg" /></li>-->
|
|
|
|
|
</ul>
|
|
|
|
|
<legend>数据示例</legend>
|
|
|
|
|
<ol>
|
|
|
|
|
<li>数据源:SELECT FK_BanJi,XB,ZZMM, COUNT(*) as Num from Demo_Student GROUP BY FK_BanJi,XB,ZZMM </li>
|
|
|
|
|
<li>维度1:SELECT No,Name FROM demo_banji; </li>
|
|
|
|
|
<li>维度2:SELECT IntKey as No, Lab as Name FROM sys_enum WHERE EnumKey='XB';</li>
|
|
|
|
|
<li>维度3:SELECT IntKey as No, Lab as Name FROM sys_enum WHERE EnumKey='ZZMM';</li>
|
|
|
|
|
</ol>
|
|
|
|
|
<legend>样式</legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<li> <img src="Rpt3D.png" style="width:50%;" class="HelpImg" /></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|