moreinfo.jsp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  14. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  15. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  16. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  17. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.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">
  21. Ext.Loader.setConfig({
  22. enabled: true
  23. });//开启动态加载
  24. Ext.application({
  25. name: 'erp',//为应用程序起一个名字,相当于命名空间
  26. appFolder: basePath+'app',//app文件夹所在路径
  27. controllers: [//声明所用到的控制层
  28. 'common.MoreInfo'
  29. ],
  30. launch: function() {
  31. Ext.create('erp.view.common.DeskTop.MoreInfo');//创建视图
  32. }
  33. });
  34. var em_code = '<%=session.getAttribute("em_code")%>';
  35. var em_type = '<%=session.getAttribute("em_type")%>';
  36. var em_id = '<%=session.getAttribute("em_id")%>';
  37. var page=1;
  38. var height = window.innerHeight;
  39. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  40. height = screen.height*0.73;
  41. }
  42. var pageSize = parseInt(height*0.7/25);
  43. var dataCount = 0;//结果总数
  44. var caller = '';
  45. </script>
  46. </head>
  47. <body>
  48. </body>
  49. </html>