hrOrgStr.jsp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  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. <!--[if IE]>
  14. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-ie-scoped.css" type="text/css"></link>
  15. <![endif]-->
  16. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  17. <style type="text/css">
  18. .x-html-editor-wrap textarea {
  19. background-color: #EEE8CD;
  20. }
  21. .x-hrorgTree {
  22. color: null;
  23. font: normal 11px tahoma, arial, verdana, sans-serif;
  24. background-color: #f1f1f1 !important;
  25. border-color: #ededed;
  26. border-style: solid;
  27. border-width: 1px 0;
  28. border-top-color: #fafafa;
  29. height: 26px;
  30. line-height: 26px;
  31. }
  32. .x-hrorgTree:hover {
  33. background-color:#FAFAFA !important;
  34. font-size: 14px;
  35. font-weight: bold;
  36. color: green;
  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. 'hr.emplmana.HrOrgStr'
  50. ],
  51. launch: function() {
  52. Ext.create('erp.view.hr.emplmana.HrOrgStr');
  53. }
  54. });
  55. var caller = "EmpArchive";
  56. var formCondition = '';
  57. var gridCondition = '';
  58. </script>
  59. </head>
  60. <body>
  61. </body>
  62. </html>