turnEstimate.jsp.svn-base 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. <!--[if IE]>
  13. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-ie.css" type="text/css"></link>
  14. <![endif]-->
  15. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  16. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  17. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  18. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  19. <script type="text/javascript">
  20. Ext.Loader.setConfig({
  21. enabled: true
  22. });//开启动态加载
  23. Ext.application({
  24. name: 'erp',//为应用程序起一个名字,相当于命名空间
  25. appFolder: basePath+'app',//app文件夹所在路径
  26. controllers: [//声明所用到的控制层
  27. 'fa.arp.TurnEstimate'
  28. ],
  29. launch: function() {
  30. Ext.create('erp.view.fa.arp.TurnEstimate');//创建视图
  31. }
  32. });
  33. var caller = getUrlParam('whoami');
  34. var urlcondition = getUrlParam('urlcondition');
  35. var formCondition = '';
  36. var gridCondition = '';
  37. var config = getUrlParam('gridCondition');
  38. var caller = '';
  39. var condition = '';
  40. var page = 1;
  41. var value = 0;
  42. var total = 0;
  43. var dataCount = 0;
  44. var msg = '';
  45. var height = window.innerHeight;
  46. if(Ext.isIE){
  47. height = screen.height*0.73;
  48. }
  49. var pageSize = parseInt(height*0.7/23);
  50. var keyField = "";
  51. var pfField = "";
  52. var url = "";
  53. var relative = null;
  54. </script>
  55. </head>
  56. <body >
  57. </body>
  58. </html>