serialTrace.jsp 1.8 KB

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