documentmanage.jsp 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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="resources/css/ext-neptune.css" type="text/css"></link> -->
  12. <link rel="icon" href="<%=basePath %>resource/images/icon_title.png" type="image/x-icon"/>
  13. <link rel="stylesheet"
  14. href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"
  15. type="text/css"></link>
  16. <link rel="stylesheet" href="resources/css/sink.css" type="text/css"></link>
  17. <link rel="stylesheet" href="resources/css/docmain.css" type="text/css"></link>
  18. <link rel="stylesheet" href="resources/css/button.css" type="text/csss"></link>
  19. <link rel="stylesheet" href="resources/css/data-view.css" type="text/csss"></link>
  20. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  21. <style type="text/css">
  22. .x-btn-blue {
  23. background: #cecece
  24. url('../../../resource/ext/resources/themes/images/default/grid/grid-blue-hd.gif')
  25. repeat center center !important;
  26. text-align: center
  27. }
  28. .x-btn-blue:hover {
  29. background: #cecece url('../images/grid/header-bg.png') repeat center
  30. center !important;
  31. text-shadow: blue
  32. }
  33. .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
  34. {
  35. background-image:
  36. url('../../../resource/ext/resources/themes/images/gray/tree/arrows.gif')
  37. !important;
  38. }
  39. .x-node-expanded .x-tree-icon-parent {
  40. background-position: 0 0 !important;
  41. background: no-repeat;
  42. background-image: url('resources/images/folder-open.gif') !important;
  43. }
  44. .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-grid-tree-node-expanded .x-tree-elbow-end-plus
  45. {
  46. background-image:
  47. url('../../resources/themes/images/neptune/tree/icons-gray.png');
  48. background-position: -20px 0;
  49. }
  50. .tree-cls-parent {
  51. background-color: #f0f0f0 !important;
  52. /* font-size: 15; */
  53. /* margin-top: 5px; */
  54. /* height: 23 !important */
  55. }
  56. .folderCls{
  57. background-color: red !important;
  58. }
  59. #searchBox {
  60. position: absolute;
  61. right: 5px;
  62. top: 5px;
  63. background: transparent url(resources/images/bg-searchBox.jpg) no-repeat
  64. right center;
  65. width: 300px;
  66. height: 24px;
  67. padding: 2px 5px;
  68. }
  69. #searchBox #keywords {
  70. background: none repeat scroll 0 0 transparent;
  71. border-width: 0;
  72. height: 20px;
  73. margin-left: 53px;
  74. padding-bottom: 30px;
  75. line-height: 20px;
  76. width: 200px;
  77. }
  78. #searchBox #searchBtn {
  79. border-width: 0;
  80. margin-top: 5px;
  81. margin-left: 15px;
  82. }
  83. body,html {
  84. color: #000;
  85. background-color: #f7f7f7;
  86. margin: 0;
  87. padding: 0;
  88. font-family: verdana, arial, helvetica, sans-serif, 宋体;
  89. font-size: 13px;
  90. overflow: hidden;
  91. }
  92. </style>
  93. <script type="text/javascript"
  94. src="<%=basePath %>resource/ext/ext-all.js"></script>
  95. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  96. <script type="text/javascript" src="document.js"></script>
  97. <script type="text/javascript"
  98. src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  99. <script type="text/javascript"
  100. src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
  101. <script type="text/javascript"
  102. src="<%=basePath %>resource/ux/grid/Export.js"></script>
  103. <script type="text/javascript"
  104. src="<%=basePath %>resource/ux/DataView/LabelEditor.js"></script>
  105. <script type="text/javascript"
  106. src="<%=basePath %>resource/ux/DataView/DragSelector.js"></script>
  107. <script type="text/javascript" src="<%=basePath%>resource/ux/layout/component/form/ItemSelector.js"></script>
  108. <script type="text/javascript" src="<%=basePath%>resource/ux/layout/component/form/MultiSelect.js"></script>
  109. <script type="text/javascript" src="<%=basePath%>resource/ux/form/MultiSelect.js"></script>
  110. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  111. <script type="text/javascript">
  112. Ext.Loader.setConfig({
  113. enabled: true
  114. });//开启动态加载
  115. Ext.application({
  116. name: 'erp',//为应用程序起一个名字,相当于命名空间
  117. appFolder: basePath+'app',
  118. controllers: [//声明所用到的控制层
  119. 'oa.doc.DOCManage'
  120. ],
  121. launch: function() {
  122. Ext.create('erp.view.oa.doc.DOCManage');//创建视图
  123. }
  124. });
  125. var page = 1;
  126. var height = window.innerHeight;
  127. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  128. height = screen.height*0.75;
  129. }
  130. var msgCt;
  131. function showResult(title,format,btn){
  132. if(!msgCt){
  133. msgCt = Ext.DomHelper.insertFirst(document.body, {id:'msg-div'}, true);
  134. }
  135. var s = Ext.String.format.apply(String, Array.prototype.slice.call(arguments, 1));
  136. var m = Ext.DomHelper.append(msgCt, createBox(title, s), true);
  137. m.hide();
  138. m.slideIn('t').ghost("t", { delay: 1000, remove: true});
  139. };
  140. function createBox(t, s){
  141. return '<div class="msg"><h3>' + t + '</h3><p>' + s + '</p></div>';
  142. }
  143. var pageSize = parseInt(height*0.7/28);
  144. var pageSize = 13;
  145. var dataCount = 0;
  146. var url = '';
  147. var msg = '';
  148. var caller = 'DOCManage';
  149. var CurrentFolderId=0;
  150. var CurrentKind='folder';
  151. var CurrentShowStyle='list';
  152. var activeId=0;
  153. </script>
  154. </head>
  155. <body>
  156. </body>
  157. </html>