bpmDiagHome.ss.jsp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <js.ss file="/ss/lc.js"/>
  5. <style>
  6. .btn {
  7. margin: 10px;
  8. }
  9. html{overflow: hidden;}
  10. .search-div-margin-bottom1{
  11. display: inline;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <!--
  17. 业务分类
  18. -->
  19. <!--当前应用名-->
  20. <div class="search-div">
  21. <div style="padding: 15px 25px 12px 25px;">
  22. <%-- 去掉,不支持多个应用。Lin
  23. <wd:equal leftValue="${merge}" rightValue="1">项目
  24. <input name="xm" type="hidden" value="${thisAppName}" onchange="changeLocationThisAppsName(this.value)" />
  25. <input name="xmName" style="width:147px;" type="text" />
  26. <wd:write type="objectPicker" name="xm" codebook="wd.ywfl" />
  27. </wd:equal>
  28. --%>
  29. <equal.ss val="${empty businessMap}" val2="false">
  30. <input type="text" name="biz" value="${biz}" placeholder="业务名" onchange="changeLocationBusiness(this.value)" style="width: 145px;" />
  31. <%-- 统一用 ccp。Lin
  32. <objp@ss name="business" cb="biz" inp="true"/> --%>
  33. </equal.ss>
  34. <%-- 再去掉,去掉 thisAppName。Lin
  35. <in@put id="thisAppName" type="hidden" value="env"/>
  36. --%>
  37. <%--
  38. <select id="selectWorkFlow" onchange="workFlowDesigner()">
  39. <option>请选择</option>
  40. <wd:iterate name="bpmxmlList" id="item">
  41. <option version="${item.version}" value='<wd:write value="${item.fileName}"/>'>
  42. <wd:write value="${item.desc}" />
  43. </option>
  44. </wd:iterate>
  45. </select>
  46. --%>
  47. <input name="bpmjson" value="" id="selectWorkFlow" placeholder="流程" type="hidden" onchange="workFlowDesigner(this)" style="width: 350px;"/>
  48. <%-- 统一用 ccp。Lin
  49. <objp@ss name='bpmjson' cb='jsonBpmByBiz' filter='{biz:&quot;${biz}&quot;}'/> --%>
  50. <ccp.ss name="biz_bpmjson"/>
  51. <input type="button" value="增加" class="content-button" onclick="setObjectKey(this)">
  52. <input type="button" value="修改" class="content-button" onclick="modifiedObjectKey(this)">
  53. <input type="button" value="保存" type="button" id="save" class="content-invertButton" title="保存当前页面设计,不发布">
  54. <input type="button" value="发布" type="button" id="deployment" class="content-invertButton" title="生成jpdl,发布">
  55. </div>
  56. <span style="display:none">
  57. <div id="objectKeyOption" class="search-div search-div-margin-bottom1" style="">
  58. <span><%-- <select onchange="changeObjectKeyOption(this)" ></select>--%></span>
  59. <span><input type="button" value="增加" class="content-button" onclick="setObjectKey(this)"></span>
  60. <span><input type="button" value="修改" class="content-button" style="display: none;" onclick="modifiedObjectKey(this)"></span>
  61. </div>
  62. </span>
  63. </div>
  64. <input type="button" value="直接发布" type="button" style="display:none;" id="deployment2" class="content-button" title="直接发布">
  65. <input type="button" value="查看" type="button" style="display: none;" id="view" class="content-button" title="查看" onClick="view()">
  66. <div class="content">
  67. <!--设计URL-->
  68. <input id="workFlowDesignerURL" type="hidden" value="<serv.ss name='initJsonBpm' dest='bpmDiagDgn'/>">
  69. <!--查看URL-->
  70. <%-- 先去掉,没用到。Lin
  71. -- 只有,而且 </div> 配对有错
  72. -- <div id="jsonData">${jsonData}</div>
  73. -- <div id="demo"></div>
  74. -- </div>
  75. -- </div>
  76. -- 再保留,避免 lc.js 报错 -- 但不会编译 @service{}@ 了,避免发布时抛出错误
  77. -- var viewURL = document.getElementById("workFlowViewURL").value + '&fileName=' + selectName + '&thisAppName=' + getURLParam("thisAppName");
  78. <input id="workFlowViewURL" type="hidden" value='@service{name:"lc_cx_ck",dest:"lc_cx_ck"}@'> --%>
  79. <input id="workFlowViewURL" type="hidden" value='@service{name:"lc_cx_ck",dest:"lc_cx_ck"}@'>
  80. <!--设置objectKeyurl-->
  81. <input id="setObjectKeyURL" type="hidden" value="<serv.ss name='initBpmKey' dest='bpmDiagAdd'/>"> <%-- 再去掉 parm='{thisAppName:"${thisAppName}"}'。Lin --%>
  82. <!--修改objectKeyurl-->
  83. <input id="alterObjectKeyURL" type="hidden" value="<serv.ss name='editBpmKey' dest='bpmDiagEdit'/>"> <%-- 再去掉 parm='{thisAppName:"${thisAppName}"}'。Lin --%>
  84. <iframe style="border:1px solid #ddd;" id="workFlowDesigner" scr='' width="100%" ssFith='{max:623,min:400}'></iframe>
  85. </div>
  86. </body>
  87. </html>