import.jsp 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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" type="text/css"
  17. href="<%=basePath%>resource/ux/css/CheckHeader.css" />
  18. <style type="text/css">
  19. .export {
  20. background-image: url('<%=basePath%>resource/images/download.png');
  21. }
  22. .upexcel {
  23. background-image: url('<%=basePath%>resource/images/excel.png');
  24. }
  25. .history {
  26. background-image: url('<%=basePath%>resource/images/drink.png');
  27. }
  28. .rule {
  29. background-image: url('<%=basePath%>resource/images/query.png');
  30. }
  31. .check {
  32. background-image: url('<%=basePath%>resource/images/hourglass.png');
  33. }
  34. .save {
  35. background-image: url('<%=basePath%>resource/images/drink.png');
  36. }
  37. .delete {
  38. background-image: url('<%=basePath%>resource/images/icon/trash.png');
  39. }
  40. .x-button-icon-add {
  41. background-image: url('<%=basePath%>resource/images/add.png');
  42. }
  43. .x-button-icon-close {
  44. background-image: url('<%=basePath%>resource/images/icon/trash.png');
  45. }
  46. .x-button-icon-copy {
  47. background-image: url('<%=basePath%>resource/images/copy.png');
  48. }
  49. .x-button-icon-paste {
  50. background-image: url('<%=basePath%>resource/images/paste.png');
  51. }
  52. .x-button-icon-up {
  53. background-image: url('<%=basePath%>resource/images/up.png');
  54. }
  55. .x-button-icon-down {
  56. background-image: url('<%=basePath%>resource/images/down.png');
  57. }
  58. .x-btn-tb {
  59. border: none;
  60. }
  61. .x-btn-bar-s {
  62. border: 1px solid gray;
  63. }
  64. .x-td-warn {
  65. background: #FF7F24 !important;
  66. }
  67. .x-grid-row-selected .x-grid-cell-special {
  68. border-right: 1px solid #d4b7b7;
  69. background: #CECECE
  70. url('<%=basePath%>resource/images/grid/header-bg.png') repeat center
  71. center;
  72. }
  73. .x-panel .x-box-item .x-accordion-item .x-panel-default .x-collapsed .x-panel-collapsed .x-panel-default-collapsed
  74. {
  75. height: 26px !important;
  76. }
  77. /* .custom .x-grid-header-ct,.custom .x-column-header {
  78. cursor: pointer;
  79. border-top: 1px solid #92c9eb;
  80. background: #65a9d7;
  81. background: -webkit-gradient(linear, left top, left bottom, from(#ced3d9),
  82. to(#65a9d7));
  83. background: -webkit-linear-gradient(top, #ced3d9, #65a9d7);
  84. background: -moz-linear-gradient(top, #ced3d9, #65a9d7);
  85. background: -ms-linear-gradient(top, #ced3d9, #65a9d7);
  86. background: -o-linear-gradient(top, #ced3d9, #65a9d7);
  87. } */
  88. .custom-button {
  89. cursor: pointer;
  90. border: 1px solid #bbbbbb;
  91. background-color: white;
  92. background: -webkit-linear-gradient(top, #ffffff, #f9f9f9 48%, #e2e2e2 52%, #e7e7e7);
  93. background: -webkit-linear-gradient(top, #ffffff, #f9f9f9 48%, #e2e2e2 52%, #e7e7e7);
  94. background: -moz-linear-gradient(top, #ffffff, #f9f9f9 48%, #e2e2e2 52%, #e7e7e7);
  95. background: -ms-linear-gradient(top, #ffffff, #f9f9f9 48%, #e2e2e2 52%, #e7e7e7);
  96. background: -o-linear-gradient(top, #ffffff, #f9f9f9 48%, #e2e2e2 52%, #e7e7e7);
  97. -webkit-border-radius: 4px;
  98. -moz-border-radius: 4px;
  99. border-radius: 4px;
  100. font-size: 14px;
  101. font-family: Georgia, serif;
  102. vertical-align: middle;
  103. padding: 3px 5px;
  104. }
  105. .custom-button:hover {
  106. background: #F0F0F0;
  107. color: #ccc;
  108. }
  109. .custom-button:active {
  110. background: #F0F0F0;
  111. }
  112. .up {
  113. border: none;
  114. background: transparent;
  115. margin-top: -2px;
  116. }
  117. .custom-log tr td {
  118. padding: 3px 3px 3px 3px;
  119. text-align: center;
  120. vertical-align: middle;
  121. }
  122. .custom-log .custom-tr {
  123. border-top: 1px solid #96d1f8;
  124. background: #65a9d7;
  125. background: -webkit-gradient(linear, left top, left bottom, from(#ced3d9),
  126. to(#65a9d7));
  127. background: -webkit-linear-gradient(top, #ced3d9, #65a9d7);
  128. background: -moz-linear-gradient(top, #ced3d9, #65a9d7);
  129. background: -ms-linear-gradient(top, #ced3d9, #65a9d7);
  130. background: -o-linear-gradient(top, #ced3d9, #65a9d7);
  131. }
  132. </style>
  133. <script type="text/javascript"
  134. src="<%=basePath%>resource/ext/ext-all.js"></script>
  135. <script type="text/javascript" src="<%=basePath%>resource/i18n/i18n.js"></script>
  136. <script type="text/javascript"
  137. src="<%=basePath%>resource/ux/grid/Export.js"></script>
  138. <script type="text/javascript"
  139. src="<%=basePath%>resource/ux/RowExpander.js"></script>
  140. <script type="text/javascript"
  141. src="<%=basePath%>resource/ux/CheckColumn.js"></script>
  142. <script type="text/javascript">
  143. Ext.Loader.setConfig({
  144. enabled : true
  145. });//开启动态加载
  146. Ext.application({
  147. name : 'erp',//为应用程序起一个名字,相当于命名空间
  148. appFolder : basePath + 'app',//app文件夹所在路径
  149. controllers : ['common.Import' ],//声明所用到的控制层
  150. launch : function() {
  151. Ext.create('erp.view.common.init.Import');//创建视图
  152. }
  153. });
  154. var caller = getUrlParam('whoami');
  155. var title= getUrlParam('title');
  156. </script>
  157. </head>
  158. <body>
  159. </body>
  160. </html>