queryOnHand.jsp 1.5 KB

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