statistics.jsp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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"
  16. src="<%=basePath%>resource/jquery/jquery-1.8.0.min.js"></script>
  17. <script type="text/javascript"
  18. src="<%=basePath%>resource/jquery/ichartjs.base.js"></script>
  19. <script type="text/javascript"
  20. src="<%=basePath%>resource/jquery/ichartjs.pie.js"></script>
  21. <script type="text/javascript"
  22. src="<%=basePath%>resource/jquery/ichart.coordinate.js"></script>
  23. <script type="text/javascript"
  24. src="<%=basePath%>resource/jquery/ichartjs.column.js"></script>
  25. <script type="text/javascript">
  26. var basePath='<%=basePath %>';
  27. Ext.Loader.setConfig({
  28. enabled: true
  29. });//开启动态加载
  30. Ext.application({
  31. name: 'erp',//为应用程序起一个名字,相当于命名空间
  32. appFolder: basePath+'app',//app文件夹所在路径
  33. controllers: [//声明所用到的控制层
  34. 'common.statistics'
  35. ],
  36. launch: function() {
  37. Ext.create('erp.view.common.statistics');
  38. }
  39. });
  40. caller='Statistics';
  41. </script>
  42. <style type="text/css">
  43. body{
  44. background-color: #E8E8E8;
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <div id='div1'></div>
  50. <div align="center">
  51. <div id='canvasDiv1'></div>
  52. <div id='canvasDiv2'></div>
  53. </div>
  54. </body>
  55. </html>