workfloweditorscan.jsp 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
  11. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  12. <title>UAS-ERP工作流设计器</title>
  13. <style>
  14. .x-grid3-row{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}
  15. .x-grid-rowwrap-div{border-width:1px 0;border-color:#ededed;border-style:solid;border-top-color:#fafafa;overflow:hidden}
  16. .x-grid3-row-alt .x-grid3-cell,.x-grid-row3-alt .x-grid3-rowwrap-div{background-color:#EAEAEA}
  17. .x-grid3-row-over .x-grid3-cell,.x-grid3-row-over .x-grid3-rowwrap-div{border-color:#EAEAEA;background-color:#BCD2EE}
  18. .x-grid3-row-focus .x-grid3-cell,.x-grid3-row-focused .x-grid3-rowwrap-div{border-color:#dddddd;background-color:#efefef}
  19. </style>
  20. <link rel="stylesheet" type="text/css" href="./scripts/loading/loading.css" />
  21. <div id="loading-mask"></div>
  22. <div id="loading">
  23. <div class="loading-indicator"><img src="scripts/loading/extanim32.gif" align="absmiddle"/>正在加载数据...</div>
  24. </div>
  25. <link rel="stylesheet" type="text/css" href="scripts/ext-2.0.2/resources/css/ext-all.css" />
  26. <script type="text/javascript" src="scripts/ext-2.0.2/ext-base.js"></script>
  27. <script type="text/javascript" src="scripts/ext-2.0.2/ext-all.js"></script>
  28. <script type="text/javascript" src="scripts/ext-2.0.2/ext-lang-zh_CN.js"></script>
  29. <script type="text/javascript">
  30. Ext.BLANK_IMAGE_URL = 'scripts/ext-2.0.2/resources/images/default/s.gif';
  31. </script>
  32. <script type="text/javascript" >
  33. var basePath = (function() {
  34. var fullPath = window.document.location.href;
  35. var path = window.document.location.pathname;
  36. var subpos = fullPath.indexOf('//');
  37. var subpath = subpos > -1 ? fullPath.substring(0, subpos + 2) : '';
  38. if (subpos > -1)
  39. fullPath = fullPath.substring(subpos + 2);
  40. var pos = fullPath.indexOf(path), sname = path.substring(0, path.substr(1).indexOf('/') + 1);
  41. return subpath + fullPath.substring(0, pos) + (sname == '/ERP' ? '/ERP/' : '/');
  42. })();
  43. function getUrlParam(name) {
  44. var reg=new RegExp("(^|&)"+name+"=([^&]*)(&|$)");
  45. var r=window.location.search.substr(1).match(reg);
  46. if(r!=null)
  47. return decodeURI(r[2]);
  48. return null;
  49. };
  50. var comboxdata="";
  51. Ext.Ajax.request({
  52. url : basePath +"common/getAllJrocessButton.action",
  53. method : 'post',
  54. callback : function(options,success,response){
  55. var localJson = new Ext.decode(response.responseText);
  56. comboxdata=localJson.buttons;
  57. }
  58. });
  59. </script>
  60. </head>
  61. <script type="text/javascript" >
  62. </script>
  63. <body id="body" >
  64. <link rel="stylesheet" type="text/css" href="scripts/ux/ext-patch.css" />
  65. <script type="text/javascript" src="scripts/gef/scripts/jquery-1.4.2.min.js"></script>
  66. <script type="text/javascript" src="scripts/gef/scripts/all-core.js"></script>
  67. <script type="text/javascript">
  68. Gef.IMAGE_ROOT = 'scripts/gef/images/activities/48/';
  69. </script>
  70. <script type="text/javascript" src="scripts/gef/all-editor.js"></script>
  71. <script type="text/javascript" src="scripts/all-workflowscan.js"></script>
  72. <script type="text/javascript" src="scripts/validation/all-validation.js"></script>
  73. <script type="text/javascript" src="scripts/form/all-forms.js"></script>
  74. <script type='text/javascript' src='scripts/property/all-property.js'></script>
  75. <script type='text/javascript' src='scripts/ux/checkboxtree/Ext.lingo.JsonCheckBoxTree.js'></script>
  76. <link rel='stylesheet' type='text/css' href='scripts/ux/checkboxtree/Ext.lingo.JsonCheckBoxTree.css' />
  77. <script type="text/javascript" src="scripts/org/OrgField.js"></script>
  78. <link rel="stylesheet" type="text/css" href="./styles/jbpm4.css" />
  79. <link rel="stylesheet" type="text/css" href="./styles/org.css" />
  80. <script type='text/javascript' src='scripts/ux/treefield/Ext.lingo.TreeField.js'></script>
  81. <script type='text/javascript' src='scripts/ux/localXHR.js'></script>
  82. <!-- <script type='text/javascript' src='../app/util/BaseUtil.js'></script> -->
  83. <script type='text/javascript'>
  84. Gef.ORG_URL = 'org.json';
  85. var en_uu = '<%=session.getAttribute("en_uu")%>';
  86. </script>
  87. <style type="text/css">
  88. #pageh1{
  89. font-size:36px;
  90. font-weight:bold;
  91. background-color:#C3D5ED;
  92. padding:5px;
  93. }
  94. </style>
  95. </body>
  96. </html>