yeardising.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. .custom-blank .x-grid-cell{
  18. background-color: #F9F7F8;
  19. }
  20. .custom .x-grid-cell{
  21. background-color: #F5F2CD;
  22. }
  23. .custom-alt .x-grid-cell{
  24. background-color: #F3F2F0;
  25. }
  26. .custom-first .x-grid-cell{
  27. border-top-color: #999;
  28. border-top-style: dashed;
  29. background-color: #EEE8CD;
  30. }
  31. .custom-alt-first .x-grid-cell{
  32. border-top-color: #999;
  33. border-top-style: dashed;
  34. background-color: #EAEAEA;
  35. }
  36. .custom-grid .x-grid-row-over .x-grid-cell {
  37. background-color: #BCD2EE;
  38. border-bottom-color: #999;
  39. border-top-color: #999;
  40. }
  41. .custom-grid .x-grid-row-selected .x-grid-cell {
  42. background-color: #BCD2EE !important;
  43. }
  44. </style>
  45. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  46. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  47. <script type="text/javascript">
  48. Ext.Loader.setConfig({
  49. enabled: true
  50. });//开启动态加载
  51. Ext.application({
  52. name: 'erp',//为应用程序起一个名字,相当于命名空间
  53. appFolder: basePath+'app',//app文件夹所在路径
  54. controllers: [//声明所用到的控制层
  55. 'crm.marketmgr.annualPlans.Yeardising'
  56. ],
  57. launch: function() {
  58. Ext.create('erp.view.crm.marketmgr.annualPlans.Yeardising');//创建视图
  59. }
  60. });
  61. var caller = 'Merchandising!Year';
  62. var height = window.innerHeight*0.73;
  63. var formCondition = '';
  64. var gridCondition = '';
  65. </script>
  66. </head>
  67. <body >
  68. </body>
  69. </html>