arrangeQuery.jsp.svn-base 1.9 KB

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