ws_ys.jsp 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <html>
  2. <head>
  3. <meta charset="UTF-8">
  4. <link rel="stylesheet" type="text/css" href="/${sessionScope.XMMC}/css/wen_s_fybl.css">
  5. <script type="text/javascript" src="Draw.js"></script>
  6. <script type="text/javascript" src="Recorders.js"></script>
  7. <script type="text/javascript" src="HZRecorder.js"></script>
  8. <style type="text/css">
  9. .wrap {
  10. height: 200px;
  11. width: 100%;
  12. position: relative;
  13. clear: both;
  14. }
  15. .wrap > div {
  16. width: 100%;
  17. /* float: left; */
  18. height: 100%;
  19. overflow-y: auto;
  20. }
  21. .wrap label {
  22. float: left;
  23. width: 100%;
  24. height: 5px;
  25. position: absolute;
  26. cursor: n-resize;
  27. }
  28. .wrap label:nth-child(2) {
  29. top: 33.33%;
  30. background: #000000;
  31. opacity: 0.8;
  32. width: 98.2%;
  33. margin-top: 4px;
  34. }
  35. .wrap label:nth-child(4) {
  36. top: 66.66%;
  37. background: #000000;
  38. opacity: 0.8;
  39. width: 98.2%;
  40. margin-top: 4px;
  41. }
  42. #ascrail2003{
  43. padding-left: 6px;
  44. padding-right: 0;
  45. background-color: #fff !important;
  46. }
  47. #ascrail2002{
  48. padding-left: 6px;
  49. padding-right: 0;
  50. background-color: #fff !important;
  51. }
  52. span.icon-attachment.builtinButton {
  53. height: 58px !important;
  54. line-height: 80px !important;
  55. }
  56. .editor.input-div.input-s {
  57. height: 60px !important;
  58. }
  59. #displayArea, #ssEditor, #wbEditor {
  60. min-height: 58px !important;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <form id="myForm" method="post">
  66. <input id="wsid" type="hidden" value="${wsid}" />
  67. <input id="wsxdid" type="hidden" value="${wsxdid}" />
  68. <div class="content-div" wdFitHeight="max:550px,min:100px,top:1" style="padding:0px">
  69. <div wdDragHeight="max:550px,min:50px,top:2,precent:40%" >
  70. <div class="longCardList-div" style="width: calc(100% - 4px);box-sizing: border-box;" >
  71. <table class="scrollbar" style="max-height: 100%;width: 100%;">
  72. <tbody style="width: 100%;padding: 0px 4px 0px 11px;box-sizing: border-box;" id="wdTbody0">
  73. <tr>
  74. <td class="hLine-highlight" onclick='@service{name:"ws_ys",dest:"env_play",show:"wdDialog",param:{wsid:"${wsid}",shid:"${shid}",sqid:"${sqid}",sfck:false}}@'>
  75. <div class="longCardList-info" style="font-size: 0px;display: inline-block;float: left;">
  76. <span class="longCardList-highlight" style="margin-bottom: 3px;">
  77. <a>${ws.bt}</a>
  78. </span>
  79. <div id="cardList-abstract" class="longCardList-dim">
  80. <wd:write value="${ws.zy}" />
  81. </div>
  82. <div id="cardList-category" class="longCardList growHeightDiv">
  83. <span>
  84. 文书类型:来文
  85. </span>
  86. <!--<span>
  87. 文书范围:<wd:translate name="wsfw" value='${ws.wsfwm}'/>
  88. </span>-->
  89. <span>
  90. 文书类别:<wd:translate name="wslb" value='${ws.wslbm}'/>
  91. </span>
  92. <wd:equal leftValue="${empty ws.swsj}" rightValue="false">
  93. <span>
  94. 收文日期:<wd:write value='${ws.swsj}' format="yyyy-MM-dd HH:mm"/>
  95. </span>
  96. </wd:equal>
  97. </div>
  98. </div>
  99. </td>
  100. </tr>
  101. </tbody>
  102. </table>
  103. </div>
  104. </div>
  105. <div wdDragHeight="max:550px,min:50px,top:2,precent:60%" qtyj>
  106. <iframe style="width: calc(100% - 4px);" height="100%" frameborder="0" src='@service{name:"sh_cx",dest:"sh_cx",param:{sqid:"${sqid}",inread:"inread"}}@'></iframe>
  107. </div>
  108. <div class="bottom-div" >
  109. <div class="bottom-up-div" style="height: auto;">
  110. <wd:equal leftValue="${empty xjryList}" rightValue="false">
  111. <table class='form' style="" zfdx>
  112. <tbody>
  113. <tr>
  114. <th style="width: 136px;background-color: transparent;text-align: right;padding-right: 7px;font-size: 16px;font-weight: 400;border-bottom:none;border-right: none;">转发对象(可选)</th>
  115. <td style="padding: 0px;padding-bottom: 6px;padding-top: 6px;border-bottom: none;background-color: rgb(247, 247, 247);">
  116. <div class="dragList-div" id="container" style="width: 100%;">
  117. <div class="box">
  118. <p class="label">已选</p>
  119. <div class="list-body" style="position: relative;overflow-x: hidden;width: 100%;height: 150px;">
  120. <div id="rySelected" wdSelectedClass="list-checkedIcon" class="scrollbar" style="height:100%;background-color: #fff;">
  121. </div>
  122. </div>
  123. </div>
  124. <div class="box">
  125. <p class="label">可选</p>
  126. <div class="list-body" style="position: relative;overflow-x: hidden;width: 100%;height: 150px;">
  127. <div id="ryOption" wdSelectedClass="list-checkedIcon" class="scrollbar" style="height:100%;background-color: #fff;">
  128. <wd:iterate name="xjryList" id="item">
  129. <div wdObjectId="${item.ryid}" wdValue="${item.ryid}" class="leader list-background list" style="min-height: 41px;line-height: 41px;width: calc(100% - 4px);box-sizing: border-box;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
  130. <sapn>${item.xm}</sapn>
  131. <!-- <wd:equal leftValue="${ws.jbryid==null&&ws.jbbmid==null}" rightValue="true">
  132. <input class="radioItem" type="button" wdSelected="true" value="办理" wdValue="${item.ryid}" name="clfs" lx="1" />
  133. </wd:equal> -->
  134. </div>
  135. </wd:iterate>
  136. <wd:write type="radio" name="clfs" value="2" onClass="content-onButton" offClass="content-offButton" nullable="true" />
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. </td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. </wd:equal>
  146. <div class="bottom-up-div-left" style="width: 16%;display: inline-block;height: 100%;line-height: 99px;font-size: 16px;text-align: right;padding-right: 16px;box-sizing: border-box;">
  147. 阅示意见
  148. </div>
  149. <div class="bottom-up-div-left-right" style="width: 84%;display: inline-block;float: right;height: 100%;">
  150. <input type='hidden' name='ynrid' value='' />
  151. <div id='ynrEdit' style="height: 63px;"></div>
  152. <wd:write type="inputter" name="ynr" button="name:'附件',key:'fjid',value:''" />
  153. </div>
  154. </div>
  155. <div class="bottom-down-div border-top">
  156. <input type="button" class="bottom-button" value="确认" onclick="handle();" />
  157. <input type="button" class="bottom-button" value="关闭" onclick="wd.display.closeDialog();"/>
  158. </div>
  159. </div>
  160. <input type="hidden" name="ryidList" id="ryidList">
  161. <input id="ly" type="hidden" value='@service{dest:"ws_ly",show:"wdDialog",param:{"id":"wdVal{id}"}}@' />
  162. </div>
  163. <wd:write type="drag" name="nb" group="true" function="editOrder"/>
  164. <wd:write type="drag" name="ry" group="true" function="editOrder"/>
  165. </form>
  166. </body>
  167. <script type="text/javascript">
  168. function handle(){
  169. transmit1();
  170. }
  171. //工作流成功
  172. function agree() {
  173. //saveSh();
  174. // 3、进入下一个节点
  175. var f = document.getElementById('myForm');
  176. f.action = "@service{name:'check',dest:'sys_info',param:{taskID:'${taskid}',shid:'${shid}',sqid:'${sqid}',sfty:'1',shlbm:'11'}}@";
  177. f.submit();
  178. }
  179. //转发
  180. function transmit1() {
  181. var ryids = new Array();
  182. $("#rySelected").find("div.leader").each(function(i, element) {
  183. if(element.getAttribute("wdobjectid")==$('.dragList-div .content-onButton').attr('wdvalue')){
  184. ryids.push("blryid"+element.getAttribute("wdobjectid"));
  185. }else{
  186. ryids.push(element.getAttribute("wdobjectid"));
  187. }
  188. });
  189. var ryidList=ryids.toString().replace(/\,/g,"|");
  190. $("#ryidList").val(ryidList);
  191. var f = document.getElementById("myForm");
  192. var formUrl = "@service{name:'ws_ys_sh_ty',dest:'sys_info',param:{shid:'${shid}',wsid:'${wsid}',sfty:1,shlbm:'11'}}@";
  193. f.action = wd.display.replaceDynamicParam(formUrl);
  194. f.submit();
  195. }
  196. (function(){
  197. $(".list-wraper").find("input").click(function(){
  198. var len = $(".list-wraper").find("input:checked");
  199. if(len.length>0) {
  200. $("[name='under']").attr("disabled",false);
  201. }else{
  202. $("[name='under']").attr("checked",false);
  203. $("[name='under']").attr("disabled","disabled");
  204. }
  205. })
  206. if($("[zfdx]").length > 0) {
  207. $("[qtyj]").css({height: "123px"})
  208. }
  209. })();
  210. </script>
  211. </html>