SMTFeed.jsp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <link rel="stylesheet" href="<%=basePath %>resource/ux/css/ClearButton.css"></link>
  14. <style>
  15. .msg-body {
  16. background-color: #fff;
  17. border: 1px solid #e3e3e3;
  18. padding: 10px;
  19. min-height: 10px;
  20. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  21. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  22. font-size: 80%;
  23. }
  24. .text-info {
  25. color: #31708f;
  26. }
  27. .text-warning {
  28. color: #f37;
  29. }
  30. </style>
  31. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  32. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  33. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  34. <script type="text/javascript" src="<%=basePath %>resource/ux/form/ClearButton.js"></script>
  35. <script type="text/javascript">
  36. Ext.Loader.setConfig({
  37. enabled: true
  38. });//开启动态加载
  39. Ext.application({
  40. name: 'erp',//为应用程序起一个名字,相当于命名空间
  41. appFolder: basePath+'app',//app文件夹所在路径
  42. controllers: [//声明所用到的控制层
  43. 'pm.mes.SMTFeed'
  44. ],
  45. launch: function() {
  46. Ext.create('erp.view.pm.mes.SMTFeed');//创建视图
  47. }
  48. });
  49. var caller = 'SMTFeed';
  50. var condition = '';
  51. var page = 1;
  52. var value = 0;
  53. var total = 0;
  54. var dataCount = 0;//结果总数
  55. var msg = '';
  56. var height = window.innerHeight;
  57. var pageSize = parseInt(height*0.7/20);
  58. var keyField = "";
  59. var pfField = "";
  60. var url = "";
  61. var formCondition = '';
  62. var gridCondition = '';
  63. </script>
  64. </head>
  65. <body >
  66. </body>
  67. </html>