import.jsp 4.4 KB

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