printSet.jsp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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" type="text/css" 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. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  14. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  15. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  16. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  17. <script type="text/javascript" src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
  18. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/Export.js"></script>
  19. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  20. <script type="text/javascript">
  21. Ext.Loader.setConfig({
  22. enabled: true
  23. });//开启动态加载
  24. Ext.application({
  25. name: 'erp',//为应用程序起一个名字,相当于命名空间
  26. appFolder: basePath+'app',//app文件夹所在路径
  27. controllers: [//声明所用到的控制层
  28. 'ma.PrintSet'
  29. ],
  30. launch: function() {
  31. Ext.create('erp.view.ma.printSet.Viewport');
  32. }
  33. });
  34. var condition = '';
  35. var page = 1;
  36. var total = 0;
  37. var dataCount = 0;//结果总数
  38. var msg = '';
  39. var height = window.innerHeight;
  40. if(Ext.isIE){
  41. height = screen.height*0.73;
  42. }
  43. var pageSize = parseInt(height*0.7/23);
  44. </script>
  45. </head>
  46. <body>
  47. </body>
  48. </html>