visitRecord.jsp 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  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-scoped.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/i18n/i18n.js"></script>
  18. <script type="text/javascript">
  19. Ext.Loader.setConfig({
  20. enabled: true
  21. });//开启动态加载
  22. Ext.application({
  23. name: 'erp',//为应用程序起一个名字,相当于命名空间
  24. appFolder: '<%=basePath %>'+'app',//app文件夹所在路径
  25. controllers: [//声明所用到的控制层
  26. 'crm.customermgr.customervisit.VisitRecord'
  27. ],
  28. launch: function() {
  29. Ext.create('erp.view.crm.customermgr.customervisit.VisitRecord');//创建视图
  30. }
  31. });
  32. var caller = 'VisitRecord';
  33. var formCondition = '';
  34. var gridCondition = '';
  35. var height = window.innerHeight*0.3;
  36. function showchancestatus(code){
  37. Ext.create('Ext.window.Window', {
  38. height: 200,
  39. title:'<h2>进展明细</h2>',
  40. width: 900,
  41. layout: 'fit',
  42. items:[/* {
  43. xtype:'erpBatchDealGridPanel',
  44. condition:"ch_code='"+code+"'",
  45. caller:'ChanceManage'
  46. } */
  47. Ext.create('erp.view.crm.chance.ChanceManage',{
  48. condition:"ch_code='"+code+"'",
  49. caller:'ChanceManage',
  50. height:200
  51. })
  52. ]
  53. }).show();
  54. }
  55. </script>
  56. </head>
  57. <body >
  58. </body>
  59. </html>