kpiRule.jsp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  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. <style>
  17. .sample-title{
  18. font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
  19. padding: 11px 0 5px 0;
  20. text-transform: uppercase;
  21. color: #999;
  22. }
  23. .x-highLight{
  24. color:#800080;
  25. font-weight:600;
  26. }
  27. </style>
  28. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  29. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  30. <script type="text/javascript">
  31. Ext.Loader.setConfig({
  32. enabled: true
  33. });//开启动态加载
  34. Ext.application({
  35. name: 'erp',//为应用程序起一个名字,相当于命名空间
  36. appFolder: basePath+'app',//app文件夹所在路径
  37. controllers: [//声明所用到的控制层
  38. 'hr.kpi.KpiRule'
  39. ],
  40. launch: function() {
  41. Ext.create('erp.view.hr.kpi.KpiRule');//创建视图
  42. }
  43. });
  44. var caller = 'KpiRule';
  45. var formCondition = '';
  46. var gridCondition = '';
  47. </script>
  48. </head>
  49. <body >
  50. </body>
  51. </html>