parameter.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <!--[if lt IE 9]>
  10. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  11. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  12. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  13. <![endif]-->
  14. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
  15. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
  16. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
  17. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
  18. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
  19. <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
  20. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
  21. <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
  22. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  23. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  24. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
  25. <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqgrid/css/ui.jqgrid.css" />
  26. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  27. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
  28. <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
  29. <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
  30. <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
  31. <script type="text/javascript">
  32. var treeObj = null;
  33. $(function() {
  34. $('#contentFrame').css('height',document.body.clientHeight-80);
  35. var t = $("#treeDemo");
  36. treeObj = $.fn.zTree.init(t, setting,zNodes);
  37. var node = treeObj.getNodes()[0];
  38. treeObj.selectNode(node);
  39. treeObj.setting.callback.onClick(null,treeObj.setting.treeId,node);
  40. })
  41. var zNodes =[
  42. {"id":"complaint/parameter/getInterfaceView", "pId":"0", "name":"接口参数配置"},
  43. {"id":"complaint/parameter/getEmailView", "pId":"0", "name":"邮件参数配置"},
  44. ];
  45. var setting = {
  46. view: {
  47. dblClickExpand: false,
  48. showLine: false,
  49. selectedMulti: false
  50. },
  51. data: {
  52. simpleData: {
  53. enable:true,
  54. idKey: "id",
  55. pIdKey: "pId",
  56. rootPId: ""
  57. }
  58. },
  59. callback: {
  60. onClick: zTreeClick
  61. }
  62. };
  63. function zTreeClick(event, treeId, treeNode) {
  64. $('.tips').text(treeNode.name);
  65. $('#contentFrame').attr('src','${ctx}/myconsole/'+treeNode.id);
  66. }
  67. 0
  68. 0</script>
  69. <title>我的桌面</title>
  70. </head>
  71. <body>
  72. <div class="pos-a" style="width:150px;left:0;top:0; bottom:0; height:100%; border-right:1px solid #e5e5e5; background-color:#f5f5f5">
  73. <ul id="treeDemo" class="ztree">
  74. </ul>
  75. </div>
  76. <div style="margin-left:150px;" id='rightContent'>
  77. <iframe id="contentFrame" scrolling="yes" frameborder="0" width="100%" src=""></iframe>
  78. </div>
  79. <footer class="footer mt-10">
  80. <div class="container">
  81. <p></p>
  82. </div>
  83. </footer>
  84. </body>
  85. </html>