pagingSent.jsp.svn-base 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link type="text/css" rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style type="text/css">
  14. .x-grid-cell-inner {
  15. overflow: hidden;
  16. -o-text-overflow: ellipsis;
  17. text-overflow: ellipsis;
  18. padding: 0px 6px;
  19. height:auto;
  20. white-space:normal !important;
  21. }
  22. .x-grid-row-selected .x-grid-cell-special{
  23. background: #cecece !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:
  28. url('../../../resource/ext/resources/themes/images/gray/tree/arrows.gif')
  29. !important;
  30. }
  31. .x-node-expanded .x-tree-icon-parent {
  32. background-position: 0 0 !important;
  33. background: no-repeat;
  34. background-image: url('resources/images/folder-open.gif') !important;
  35. }
  36. .x-grid-tree-node-expanded .x-tree-elbow-plus,.x-grid-tree-node-expanded .x-tree-elbow-end-plus
  37. {
  38. background-image:
  39. url('../../resources/themes/images/neptune/tree/icons-gray.png');
  40. background-position: -20px 0;
  41. }
  42. .button1 {
  43. overflow: visible;
  44. display: inline-block;
  45. /* padding: 0.5em 1em; */
  46. border: 1px solid #d4d4d4;
  47. text-decoration: none;
  48. text-align: center;
  49. text-shadow: 1px 1px 0 #fff;
  50. font: 11px/normal sans-serif;
  51. color: #333;
  52. white-space: nowrap;
  53. cursor: pointer;
  54. outline: none;
  55. height: 24px !important;
  56. background: url(../../../resource/images/bg_back.png);
  57. font-weight: 400 !important;
  58. background-clip: padding-box;
  59. border-radius: 0.2em;
  60. zoom: 1;
  61. }
  62. .button1.pill {
  63. border-radius: 50em;
  64. }
  65. .x-tree-parent {
  66. background-color: rgb(250, 250, 250) !important;
  67. /* font-size: 15; */
  68. /* margin-top: 5px; */
  69. /* height: 23 !important */
  70. }
  71. </style>
  72. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  73. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  74. <script type="text/javascript"
  75. src="<%=basePath%>resource/ux/layout/component/form/ItemSelector.js"></script>
  76. <script type="text/javascript"
  77. src="<%=basePath%>resource/ux/layout/component/form/MultiSelect.js"></script>
  78. <script type="text/javascript"
  79. src="<%=basePath%>resource/ux/form/MultiSelect.js"></script>
  80. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  81. <script type="text/javascript" src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
  82. <script type="text/javascript">
  83. Ext.Loader.setConfig({
  84. enabled: true
  85. });//开启动态加载
  86. Ext.application({
  87. name: 'erp',//为应用程序起一个名字,相当于命名空间
  88. appFolder: basePath+'app',//app文件夹所在路径
  89. controllers: [//声明所用到的控制层
  90. 'oa.info.PagingSent'
  91. ],
  92. launch: function() {
  93. Ext.create('erp.view.oa.info.Viewport');//创建视图
  94. }
  95. });
  96. var page = 1;
  97. var height = window.innerHeight;
  98. if(Ext.isIE){
  99. height = screen.height*0.73;
  100. }
  101. var pageSize = parseInt(height*0.7/25);
  102. var dataCount = 0;
  103. var url = '';
  104. var msg = '';
  105. </script>
  106. </head>
  107. <body>
  108. </body>
  109. </html>