AttentionSub.jsp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style type="text/css">
  14. grid-row-checked,.x-column-header-checkbox .x-column-header-text{
  15. height: 14px;
  16. width: 14px;
  17. background-image:
  18. url(basePath+'resource/ext/resources/themes/images/gray/grid/checked.gif');
  19. background-position: -1px -1px;
  20. background-repeat: no-repeat;
  21. background-color: transparent
  22. }
  23. grid-row-checked{
  24. margin-left: 1px;
  25. background-position: 50% -2px
  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. var condition='';
  35. var emid=<%=session.getAttribute("em_id")%>;
  36. var caller=getUrlParam("caller");
  37. var formCondition = '';
  38. var gridCondition = '1=1';
  39. Ext.application({
  40. name: 'erp',//为应用程序起一个名字,相当于命名空间
  41. appFolder: '<%=basePath %>'+'app',//app文件夹所在路径
  42. controllers: [//声明所用到的控制层
  43. 'oa.attention.AttentionSub'
  44. ],
  45. launch: function() {
  46. Ext.create('erp.view.oa.attention.AttentionSub');//创建视图
  47. }
  48. });
  49. </script>
  50. </head>
  51. <body >
  52. </body>
  53. </html>