kpiQuery.jsp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <style>
  14. .custom .x-grid-cell{
  15. background-color: #EEE8CD;
  16. }
  17. .custom-alt .x-grid-cell{
  18. background-color: #EAEAEA;
  19. }
  20. .custom-first .x-grid-cell{
  21. border-top-color: #999;
  22. border-top-style: dashed;
  23. background-color: #EEE8CD;
  24. }
  25. .custom-alt-first .x-grid-cell{
  26. border-top-color: #999;
  27. border-top-style: dashed;
  28. background-color: #EAEAEA;
  29. }
  30. .custom-grid .x-grid-row-over .x-grid-cell {
  31. background-color: #BCD2EE;
  32. border-bottom-color: #999;
  33. border-top-color: #999;
  34. }
  35. .custom-grid .x-grid-row-selected .x-grid-cell {
  36. background-color: #BCD2EE !important;
  37. }
  38. </style>
  39. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  40. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  41. <script type="text/javascript">
  42. Ext.Loader.setConfig({
  43. enabled: true
  44. });//开启动态加载
  45. Ext.application({
  46. name: 'erp',//为应用程序起一个名字,相当于命名空间
  47. appFolder: basePath+'app',//app文件夹所在路径
  48. controllers: [//声明所用到的控制层
  49. 'common.Query'
  50. ],
  51. launch: function() {
  52. Ext.create('erp.view.hr.kpi.Viewport');
  53. }
  54. });
  55. var caller = 'Kpiresult!Query';
  56. </script>
  57. </head>
  58. <body >
  59. </body>
  60. </html>