salary.jsp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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() + "://"
  6. + request.getServerName() + ":" + request.getServerPort()
  7. + path + "/";
  8. %>
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  13. <link rel="stylesheet"
  14. href="<%=basePath%>resource/ext/resources/css/ext-all-gray.css"
  15. type="text/css"></link>
  16. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  17. <link rel="stylesheet" type="text/css"
  18. href="<%=basePath%>resource/ux/css/CheckHeader.css" />
  19. <style type="text/css">
  20. .x-form-checkbox{
  21. width:40px;
  22. height:20px;
  23. background-image: url('<%=basePath%>resource/images/unchecked.png');
  24. background-position:center;
  25. margin-left:5px;
  26. }
  27. .x-form-cb-checked .x-form-checkbox{
  28. background-image: url('<%=basePath%>resource/images/checked.png');
  29. background-position:center;
  30. }
  31. .la-checkfield{
  32. font-family:黑体;font-size:20px;color:#838B8B;
  33. margin:0px 0px 10px 10px;
  34. }
  35. .la-unactive{
  36. font-size: 15px ;font-family:"Microsoft YaHei UI",'宋体';color:#838B8B;
  37. font-weight:550;
  38. /* font-family:黑体;font-size:16px;font-weight:bold; */
  39. }
  40. .la-active{
  41. font-size: 15px ;font-family:"Microsoft YaHei UI",'宋体';color:#0ce04f;
  42. font-weight:550;
  43. /* font-family:黑体;font-size:16px;font-weight:bold; */
  44. }
  45. .background-image{
  46. background: white url('<%=basePath%>resource/images/salary.png') ;
  47. }
  48. .x-button-send {
  49. background-image: url('<%=basePath%>resource/images/send4.png') !important;
  50. }
  51. .x-images-set-enabled{
  52. background-image: url('<%=basePath%>resource/images/set/enabled.png') ;
  53. }
  54. .x-button-icon-check{
  55. background-image: url('<%=basePath%>resource/images/hourglass.png') ;
  56. }
  57. .delete {
  58. background-image: url('<%=basePath%>resource/images/icon/trash.png');
  59. }
  60. .x-data-config{
  61. background-image: url('<%=basePath%>resource/images/config.png');
  62. }
  63. .x-data-download{
  64. background-image: url('<%=basePath%>resource/images/download2.png');
  65. }
  66. .x-data-loadall{
  67. background-image: url('<%=basePath%>resource/images/download2.png');
  68. }
  69. .x-data-check{
  70. background-image: url('<%=basePath%>resource/images/check.png');
  71. }
  72. .x-data-delete{
  73. background-image: url('<%=basePath%>resource/images/delete.png');
  74. }
  75. .x-data-save{
  76. background-image: url('<%=basePath%>resource/images/save.png');
  77. }
  78. .x-data-toformal{
  79. background-image: url('<%=basePath%>resource/images/toformal.png');
  80. }
  81. .x-data-import{
  82. background-image: url('<%=basePath%>resource/images/import.png');
  83. }
  84. .x-data-sendnow{
  85. background-image: url('<%=basePath%>resource/images/sendnow.png');
  86. }
  87. .x-data-sendnow{
  88. background-image: url('<%=basePath%>resource/images/sendnow.png');
  89. }
  90. .x-data-sendontime{
  91. background-image: url('<%=basePath%>resource/images/sendontime.png');
  92. }
  93. .x-btn-tb {
  94. border: none;
  95. }
  96. .x-btn-bar-s {
  97. border: 1px solid gray;
  98. }
  99. .x-td-warn {
  100. background: #FF7F24 !important;
  101. }
  102. .x-grid-row-selected .x-grid-cell-special {
  103. border-right: 1px solid #d4b7b7;
  104. background: #CECECE
  105. url('<%=basePath%>resource/images/grid/header-bg.png') repeat center
  106. center;
  107. }
  108. .x-panel .x-box-item .x-accordion-item .x-panel-default .x-collapsed .x-panel-collapsed .x-panel-default-collapsed
  109. {
  110. height: 26px !important;
  111. }
  112. .x-aaa{
  113. margin-top:-2px;
  114. }
  115. </style>
  116. <script type="text/javascript"
  117. src="<%=basePath%>resource/ext/ext-all.js"></script>
  118. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  119. <script type="text/javascript" src="<%=basePath%>resource/i18n/i18n.js"></script>
  120. <script type="text/javascript"
  121. src="<%=basePath%>resource/ux/grid/Export.js"></script>
  122. <script type="text/javascript"
  123. src="<%=basePath%>resource/ux/RowExpander.js"></script>
  124. <script type="text/javascript"
  125. src="<%=basePath%>resource/ux/CheckColumn.js"></script>
  126. <script type="text/javascript">
  127. Ext.Loader.setConfig({
  128. enabled : true
  129. });//开启动态加载
  130. Ext.application({
  131. name : 'erp',//为应用程序起一个名字,相当于命名空间
  132. appFolder : basePath + 'app',//app文件夹所在路径
  133. controllers : ['salary.Salary' ],//声明所用到的控制层
  134. launch : function() {
  135. Ext.create('erp.view.salary.Viewport');//创建视图
  136. }
  137. });
  138. var caller = 'Salary';
  139. var title= getUrlParam('title');
  140. var mobile = '<%=session.getAttribute("em_mobile")%>';
  141. var login= '<%=session.getAttribute("salary")%>';
  142. </script>
  143. </head>
  144. <body>
  145. </body>
  146. </html>