itemsValueSet.jsp 1.7 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>
  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. <style type="text/css">
  14. .x-window-body-default {
  15. border-color: #bcb1b0;
  16. border-width: 0px!important;
  17. background: #e0e0e0;
  18. color: black;
  19. }
  20. .x-window-body {
  21. position: relative;
  22. border-style: none!important;
  23. }
  24. </style>
  25. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  26. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  27. <script type="text/javascript">
  28. Ext.Loader.setConfig({
  29. enabled: true
  30. });//开启动态加载
  31. Ext.application({
  32. name: 'erp',//为应用程序起一个名字,相当于命名空间
  33. appFolder: basePath+'app',//app文件夹所在路径
  34. controllers: [//声明所用到的控制层
  35. 'fs.credit.ItemsValueSet'
  36. ],
  37. launch: function() {
  38. Ext.create('erp.view.fs.credit.ItemsValueSet');
  39. }
  40. });
  41. var caller=getUrlParam('whoami');
  42. var condition = getUrlParam('gridCondition');
  43. var gridCondition = '';
  44. var ctid='';
  45. if(condition.indexOf('IS')>0){
  46. ctid = condition.substring(condition.indexOf('IS')+2,condition.length);
  47. }else{
  48. ctid = condition.substring(condition.indexOf('=')+2,condition.length-1);
  49. }
  50. </script>
  51. </head>
  52. <body >
  53. </body>
  54. </html>