workfloweditor.jsp 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. </head>
  21. <script type="text/javascript" >
  22. </script>
  23. <body id="body" >
  24. <link rel="stylesheet" type="text/css" href="./scripts/loading/loading.css" />
  25. <div id="loading-mask"></div>
  26. <div id="loading">
  27. <div class="loading-indicator"><img src="scripts/loading/extanim32.gif" align="absmiddle"/>正在加载数据...</div>
  28. </div>
  29. <link rel="stylesheet" type="text/css" href="scripts/ext-2.0.2/resources/css/ext-all.css" />
  30. <script type="text/javascript" src="scripts/ext-2.0.2/ext-base.js"></script>
  31. <script type="text/javascript" src="scripts/ext-2.0.2/ext-all.js"></script>
  32. <script type="text/javascript" src="scripts/ext-2.0.2/ext-lang-zh_CN.js"></script>
  33. <script type="text/javascript">
  34. Ext.BLANK_IMAGE_URL = 'scripts/ext-2.0.2/resources/images/default/s.gif';
  35. </script>
  36. <link rel="stylesheet" type="text/css" href="scripts/ux/ext-patch.css" />
  37. <script type="text/javascript" src="scripts/gef/scripts/jquery-1.4.2.min.js"></script>
  38. <script type="text/javascript" src="scripts/gef/scripts/all-core.js"></script>
  39. <script type="text/javascript">
  40. Gef.IMAGE_ROOT = 'scripts/gef/images/activities/48/';
  41. </script>
  42. <script type="text/javascript" src="scripts/gef/all-editor.js"></script>
  43. <script type="text/javascript" src="scripts/all-workflow.js"></script>
  44. <script type="text/javascript" src="scripts/validation/all-validation.js"></script>
  45. <script type="text/javascript" src="scripts/form/all-forms.js"></script>
  46. <script type='text/javascript' src='scripts/property/all-property.js'></script>
  47. <script type='text/javascript' src='scripts/ux/checkboxtree/Ext.lingo.JsonCheckBoxTree.js'></script>
  48. <link rel='stylesheet' type='text/css' href='scripts/ux/checkboxtree/Ext.lingo.JsonCheckBoxTree.css' />
  49. <script type="text/javascript" src="scripts/org/OrgField.js"></script>
  50. <link rel="stylesheet" type="text/css" href="./styles/jbpm4.css" />
  51. <link rel="stylesheet" type="text/css" href="./styles/org.css" />
  52. <script type='text/javascript' src='scripts/ux/treefield/Ext.lingo.TreeField.js'></script>
  53. <script type='text/javascript' src='scripts/ux/localXHR.js'></script>
  54. <script type='text/javascript'>
  55. function getUrlParam(name) {
  56. var reg=new RegExp("(^|&)"+name+"=([^&]*)(&|$)");
  57. var r=window.location.search.substr(1).match(reg);
  58. if(r!=null)
  59. return decodeURI(r[2]);
  60. return null;
  61. };
  62. var basePath = (function() {
  63. var fullPath = window.document.location.href;
  64. var path = window.document.location.pathname;
  65. var subpos = fullPath.indexOf('//');
  66. var subpath = subpos > -1 ? fullPath.substring(0, subpos + 2) : '';
  67. if (subpos > -1)
  68. fullPath = fullPath.substring(subpos + 2);
  69. var pos = fullPath.indexOf(path), sname = path.substring(0, path.substr(1).indexOf('/') + 1);
  70. return subpath + fullPath.substring(0, pos) + (sname == '/ERP' ? '/ERP/' : '/');
  71. })();
  72. var comboxdata="";
  73. Ext.Ajax.request({
  74. url : basePath +"common/getAllJrocessButton.action",
  75. method : 'post',
  76. callback : function(options,success,response){
  77. var localJson = new Ext.decode(response.responseText);
  78. comboxdata=localJson.buttons;
  79. }
  80. });
  81. Gef.ORG_URL = 'org.json';
  82. var en_uu = '<%=session.getAttribute("en_uu")%>';
  83. </script>
  84. <style type="text/css">
  85. #pageh1{
  86. font-size:36px;
  87. font-weight:bold;
  88. background-color:#C3D5ED;
  89. padding:5px;
  90. }
  91. </style>
  92. </body>
  93. </html>