banchNavigation.jsp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray-sysnavigation.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main-sysnavigation.css" type="text/css"></link>
  14. <%-- <link rel="stylesheet" href="<%=basePath %>resource/css/tree.css" type="text/css"></link> --%>
  15. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  16. <style>
  17. .custom .x-grid-row .x-grid-cell {
  18. color: null;
  19. font: normal 11px tahoma, arial, verdana, sans-serif;
  20. background-color: #f1f1f1;
  21. height: 26px;
  22. line-height: 26px;
  23. border: 1px solid white !important;
  24. }
  25. .x-tree-arrows .x-tree-elbow-plus,.x-tree-arrows .x-tree-elbow-minus,.x-tree-arrows .x-tree-elbow-end-plus,.x-tree-arrows .x-tree-elbow-end-minus
  26. {
  27. background-image: url('../../resource2/resources/ext/resources/themes/images/gray/tree/arrows.gif')
  28. }
  29. .tree-nav-close {
  30. background-image: url('../../resource/images/icon/trash.png');
  31. float:left;
  32. margin-top:-17px;
  33. width:16px;
  34. }
  35. .x-tree-panel .x-grid-row .x-grid-cell-inner {
  36. cursor: default;
  37. }
  38. </style>
  39. <script type="text/javascript" src="<%=basePath %>resource/ext/4.2/ext-all.js"></script>
  40. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  41. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  42. <script type="text/javascript">
  43. var caller = "BanchNavigation";
  44. Ext.Loader.setConfig({
  45. enabled: true
  46. });//开启动态加载
  47. Ext.application({
  48. name: 'erp',//为应用程序起一个名字,相当于命名空间
  49. appFolder: basePath+'app',//app文件夹所在路径
  50. controllers: [//声明所用到的控制层
  51. 'ma.BanchNavigation'
  52. ],
  53. launch: function() {
  54. Ext.create('erp.view.ma.BanchNavigation');//创建视图
  55. }
  56. });
  57. </script>
  58. </head>
  59. <body >
  60. </body>
  61. </html>