equipment.jsp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <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" src="<%=basePath %>resource/ux/grid/Export.js"></script>
  18. <script type="text/javascript">
  19. Ext.Loader.setConfig({
  20. enabled: true
  21. });//开启动态加载
  22. Ext.application({
  23. name: 'erp',//为应用程序起一个名字,相当于命名空间
  24. appFolder: basePath+'app',//app文件夹所在路径
  25. controllers: [//声明所用到的控制层
  26. 'oa.meeting.Equipment'
  27. ],
  28. launch: function() {
  29. Ext.create('erp.view.oa.meeting.Equipment');//创建视图
  30. }
  31. });
  32. var page = 1;
  33. var height = window.innerHeight;
  34. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  35. height = screen.height*0.75;
  36. }
  37. var pageSize = parseInt(height*0.7/28);
  38. var pageSize = 13;
  39. var dataCount = 0;
  40. var url = '';
  41. var msg = '';
  42. //var caller = getUrlParam('whoami');
  43. var caller = 'Equipment!Query';
  44. </script>
  45. </head>
  46. <body>
  47. </body>
  48. </html>