hrOrgStr.jsp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. </style>
  22. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  23. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  24. <script type="text/javascript">
  25. Ext.Loader.setConfig({
  26. enabled: true,
  27. });//开启动态加载
  28. Ext.application({
  29. name: 'erp',//为应用程序起一个名字,相当于命名空间
  30. appFolder: '<%=basePath %>'+'app',//app文件夹所在路径
  31. controllers: [//声明所用到的控制层
  32. 'hr.employee.HrOrgStr'
  33. ],
  34. launch: function() {
  35. Ext.create('erp.view.hr.employee.HrOrgStr');
  36. }
  37. });
  38. var caller = "EmpArchive";
  39. var formCondition = '';
  40. var gridCondition = '';
  41. </script>
  42. </head>
  43. <body>
  44. </body>
  45. </html>