vastDatalist.jsp 1.6 KB

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