financingApply.jsp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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" type="text/css" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  14. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  15. <style>
  16. #win-body{text-align:center;border:none}
  17. .x-window-body-default {
  18. border-color: #bcb1b0;
  19. border-width: 1px;
  20. background: none;
  21. color: black;
  22. }
  23. </style>
  24. <script type="text/javascript">
  25. /**
  26. * 明细帐
  27. */
  28. Ext.Loader.setConfig({
  29. enabled: true
  30. });//开启动态加载
  31. Ext.application({
  32. name: 'erp',//为应用程序起一个名字,相当于命名空间
  33. appFolder: basePath+'app',//app文件夹所在路径
  34. controllers: [//声明所用到的控制层
  35. 'fs.cust.FinancingApply'
  36. ],
  37. launch: function() {
  38. Ext.create('erp.view.fs.cust.FinancingApply');
  39. }
  40. });
  41. var caller = 'FinancingApply';
  42. var formCondition = getUrlParam('formCondition');
  43. var gridCondition = '';
  44. function showWindow(id){
  45. var win = Ext.getCmp(id);
  46. var title = id=="inforList"?"需提供资料清单":"客户信息保密协议、企业征信查询及系统数据获取授权书";
  47. var url = "jsps/fs/cust/"+(id=="inforList"?"inforList.jsp":"grantGetDatas.jsp");
  48. if(!win){
  49. win = new Ext.window.Window({
  50. id : id,
  51. title: title,
  52. height: "85%",
  53. width: "70%",
  54. maximizable : true,
  55. buttonAlign : 'center',
  56. layout : 'fit',
  57. modal: true,
  58. items: [{
  59. tag : 'iframe',
  60. frame : true,
  61. layout : 'fit',
  62. html : '<iframe src="' + basePath + url + '" height="100%" width="100%" frameborder="0" scrolling="yes"></iframe>'
  63. }],
  64. buttons:[{
  65. text : $I18N.common.button.erpCloseButton,
  66. iconCls: 'x-button-icon-close',
  67. cls: 'x-btn-gray',
  68. handler : function(btn){
  69. btn.ownerCt.ownerCt.close();
  70. }
  71. }]
  72. });
  73. }
  74. win.show();
  75. }
  76. </script>
  77. </head>
  78. <body >
  79. </body>
  80. </html>