divTreeDisplay.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title>系统配置维护树</title>
  5. <style type="text/css">
  6. body {
  7. font-size: 9pt;
  8. }
  9. a {
  10. color:#000564;
  11. font-family: "宋体";
  12. text-decoration:none;
  13. margin: 0pt;
  14. padding:0pt;
  15. cursor:pointer;
  16. cursor:hand;
  17. font-size: 12px
  18. }
  19. img {
  20. vertical-align: middle;
  21. border-width:0pt;
  22. margin: 0pt;
  23. padding:0pt
  24. }
  25. div{
  26. padding-left:18px;
  27. padding-right:0px;
  28. padding-top:10px;
  29. padding-bottom:0px
  30. }
  31. </style>
  32. <link rel="stylesheet" href="../styles/css.css" type="text/css">
  33. <SCRIPT language="JavaScript" src="../scripts/divtree.js"></SCRIPT>
  34. <script type="text/javascript" src="../scripts/requestajax.js"></script>
  35. <script language="JavaScript">
  36. var treeImagePath = "../images/tree_images/";
  37. var url = "../../admin/menu/divTreeService.jsp";
  38. var treeCloseImg = "plus.gif";
  39. var treeOpenImg = "minus.gif";
  40. </script>
  41. <script>
  42. <!--
  43. var nonceWin = window;
  44. var indexWin = window;
  45. while( nonceWin.parent != indexWin ){
  46. indexWin = nonceWin.parent;
  47. nonceWin = nonceWin.parent;
  48. }
  49. function rightUp(o,event) {
  50. event = event ? event : (window.event ? window.event : null);
  51. if ( event.button == 2 ) {
  52. var rightedge = event.screenX - nonceWin.screenLeft;
  53. var bottomedge = event.screenY - nonceWin.screenTop;
  54. indexWin.setMenuTypeWF(o,o.nodeType * 1,window,rightedge,bottomedge);
  55. }
  56. }
  57. function add(url){
  58. window.open(url,'confCollection');
  59. }
  60. function edit(url){
  61. window.open(url,'confCollection');
  62. }
  63. function deleteObj(url){
  64. if(confirm("确定要删除吗?")){
  65. window.open(url,'confCollection');
  66. }
  67. }
  68. function creatTable(url){
  69. sendRequest(url);
  70. }
  71. function closemenu() {
  72. indexWin.closeLayer();
  73. }
  74. //-->
  75. </script>
  76. </head>
  77. <body bgcolor="#FFFFFF" onBlur="closemenu();" oncontextmenu="if(!event.ctrlKey){return false} else {return true}" topmargin="0" leftmargin="0" onselectstart="return false">
  78. <div id="rootID">
  79. <span id="rootIDchild">
  80. <div id="mdpModules"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="mdpModulesimg" style="cursor:hand" onClick="expand('mdpModules')">&nbsp;<a href="../setup/sysmodel/objmanager/module/list.jsp" nodeId="mdpModules" name="" nodeType="1" onMouseUp="rightUp(this,event);" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;系统模块配置</a></nobr></span><span id="mdpModuleschild"></span></div>
  81. <div id="mdpDataSources"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="mdpDataSourcesimg" style="cursor:hand" onClick="expand('mdpDataSources')">&nbsp;<a href="../setup/sysmodel/objmanager/DBLink/list.jsp" nodeId="mdpDataSources" name="" nodeType="2" onMouseUp="rightUp(this,event);" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;数据库链接</a></nobr></span><span id="mdpDataSourceschild"></span></div>
  82. <div id="mdpConstants"><span><nobr><img src="../images/tree_images/minus.gif" alt="1" id="mdpConstantsimg" style="cursor:hand" onClick="expand('mdpConstants')">&nbsp;<a href="javascript:void(0);" nodeId="mdpConstants" name="" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;常量配置</a></nobr></span> <span id="mdpConstantschild">
  83. <div id="template"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="templateimg" style="cursor:hand" onClick="expand('template')">&nbsp;<a href="../setup/sysmodel/objmanager/constant/template/list.jsp" nodeId="template" nodeType="3" name="" onMouseUp="rightUp(this,event);" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;常量模板</a></nobr></span><span id="templatechild"></span></div>
  84. <div id="mdpConstant"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="mdpConstantimg" style="cursor:hand" onClick="expand('mdpConstant')">&nbsp;<a href="../setup/sysmodel/objmanager/constant/list.jsp" nodeId="mdpConstant" nodeType="" name="" onMouseUp="" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;模块常量</a></nobr></span><span id="mdpConstantchild"></span></div>
  85. </span></div>
  86. <div id="relation"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="relationimg" style="cursor:hand" onClick="expand('relation')">&nbsp;<a href="" nodeId="relation" name="" onMouseUp="rightUp(this,event);" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;表关系配置</a></nobr></span><span id="relationchild"></span></div>
  87. <div id="mdpClasses"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="mdpClassesimg" style="cursor:hand" onClick="expand('mdpClasses')">&nbsp;<a href="../setup/sysmodel/objmanager/table/list.jsp" nodeId="mdpClasses" name="" nodeType="5" onMouseUp="" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;数据库表配置</a></nobr></span><span id="mdpClasseschild"></span></div>
  88. <div id="pageList"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="pageListimg" style="cursor:hand" onClick="expand('pageList')">&nbsp;<a href="../setup/listmodel/objmanager/list.jsp" nodeId="pageList" name="" nodeType="6" onMouseUp="" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;列表页面配置</a></nobr></span><span id="pageListchild"></span></div>
  89. <div id="pageCollection"><span><nobr><img src="../images/tree_images/plus.gif" alt="1" id="pageCollectionimg" style="cursor:hand" onClick="expand('pageCollection')">&nbsp;<a href="../setup/collectmodel/objmanager/list.jsp" nodeId="pageCollection" name="" nodeType="7" onMouseUp="" target="confCollection"><img src="../images/tree_images/toc_closed.gif" alt="1">&nbsp;采集页面配置</a></nobr></span><span id="pageCollectionchild"></span></div>
  90. </span></div>
  91. </body>
  92. </html>