DOCManage.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style type="text/css">
  14. .x-livesearch-match {
  15. font-weight: lighter;
  16. background-color:#EED8AE;
  17. }
  18. .x-livesearch-matchbase{
  19. font-weight: bold;
  20. background-color:#EE6A50;
  21. }
  22. .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
  23. {
  24. background-image:url('../../../resource/ext/resources/themes/images/gray/tree/arrows.gif')
  25. }
  26. .x-node-expanded .x-tree-icon-parent{
  27. background-image:url('../../../resource/ext/resources/themes/images/gray/tree/folder-open.gif') !important;
  28. }
  29. .tree-cls-parent {
  30. background-color: #f0f0f0 !important;
  31. font-size: 15;
  32. margin-top: 5px;
  33. height: 23 !important
  34. }
  35. </style>
  36. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  37. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  38. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  39. <script type="text/javascript" src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
  40. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/Export.js"></script>
  41. <script type="text/javascript">
  42. Ext.Loader.setConfig({
  43. enabled: true
  44. });//开启动态加载
  45. Ext.application({
  46. name: 'erp',//为应用程序起一个名字,相当于命名空间
  47. appFolder: basePath+'app',
  48. controllers: [//声明所用到的控制层
  49. 'plm.document.DOCManage'
  50. ],
  51. launch: function() {
  52. Ext.create('erp.view.plm.document.DOCManage');//创建视图
  53. }
  54. });
  55. var page = 1;
  56. var height = window.innerHeight;
  57. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  58. height = screen.height*0.75;
  59. }
  60. var pageSize = parseInt(height*0.7/28);
  61. var pageSize = 13;
  62. var dataCount = 0;
  63. var url = '';
  64. var msg = '';
  65. var caller = 'DOCManage';
  66. </script>
  67. </head>
  68. <body >
  69. </body>
  70. </html>