addChk.ss.jsp 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <html>
  2. <head>
  3. <meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE" />
  4. </head>
  5. <body style="overflow:hidden !important;">
  6. <%
  7. pageContext.setAttribute("dataType","bdplay");
  8. %>
  9. <script>
  10. function addWdDragHeight(selecter,param,top){
  11. console.log(selecter);
  12. console.log(param);
  13. var aa="";
  14. if(param.minHeight){
  15. aa+="min:"+param.minHeight+",";
  16. }
  17. if(param.maxHeight){
  18. aa+="max:"+param.maxHeight+",";
  19. }
  20. if(top){
  21. aa+="top:"+top+",";
  22. }
  23. if(param&&aa){
  24. aa=aa.substr(0,aa.length-1)
  25. document.querySelector(selecter).setAttribute("ssDragh",aa); // ("wdDragHeight",。Lin
  26. }
  27. }
  28. </script>
  29. <%-- 改为 <data@ss name="info"/>。Lin
  30. <tab@ss name="info"/> --%>
  31. <data.ss name="info"/>
  32. <form method="post" id="myForm">
  33. <div class="content-div" ssFith='{max:490,min:100,lvl:1}' style="height: 762px;padding: 0px;box-sizing: border-box; overflow:hidden;">
  34. <div ssDragh='{max:490,min:50,lvl:2,pct:60}'>
  35. <iframe width="100%" height="100%" frameborder="0"
  36. src="<varServ.ss name='${info.service}' dest='${info.dest}' parm='${info.param}'/>">
  37. </iframe>
  38. </div>
  39. <div ssDragh='{max:490,min:50,lvl:2,pct:40}'>
  40. <iframe width="100%" height="100%" frameborder="0"
  41. src="<serv.ss name='selSh' dest='shList' parm='{sqid:"${sqid}"}'/>">
  42. </iframe>
  43. </div>
  44. </div>
  45. <div class="bottom-div" >
  46. <div class="bottom-up-div">
  47. <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;">
  48. 审核意见
  49. </div>
  50. <div class="bottom-up-div-left-right" style="width: 84%;display: inline-block;float: right;height: 100%;">
  51. <input type='hidden' name='ynrid' value='' />
  52. <div id='ynrEdit' data-shid="${shid}" style="height: 63px;"> <%-- 增加 data-shid,解决 "每次进入办理页都会产生一个 CMS 内容(最后一次仍会垃圾)" 的问题。Lin --%>
  53. </div>
  54. <%-- 再改,规范命名。Lin
  55. <inper@ss name='ynr' btn='{name:"附件",key:"fjid",val:""}'/> --%>
  56. <inper.ss name='ynr' btn='{desc:"附件",name:"fjid",val:""}'/>
  57. </div>
  58. </div>
  59. <div class="bottom-down-div">
  60. <%-- 改为 <data@ss name="agrAdd"/>。Lin
  61. <tab@ss name="agr"/>
  62. <tab@ss name="rej"/> --%>
  63. <data.ss name="agrAdd"/>
  64. <data.ss name="rejAdd"/>
  65. <equal.ss val="${empty agrAdd}" val2="false"> <%-- ="${empty agr}"。Lin --%>
  66. <input type="submit" value="同意" class="bottom-button"
  67. <%-- 再去掉 wd.display.changeFormAction(,改用 <varServ@ss subm="true"。Lin
  68. 去掉 sfty:"1" 参数,不用了 -- ${agr.service} 里的服务,最终是 "ss.agrTask"
  69. 原 name="${agr.service}" dest="${agr.dest}"
  70. onclick='wd.display.changeFormAction("<varServ@ss name='${agr.service}' dest='${agr.dest}' parm='{shid:"${shid}",sfty:"1"}'/>",this);'/> --%>
  71. onclick='<varServ.ss subm="true" name="${agrAdd.service}" dest="${agrAdd.dest}" parm="{shid:&quot;${shid}&quot;}"/>'/>
  72. </equal.ss>
  73. <equal.ss val="${empty rejAdd}" val2="false"> <%-- val="${empty rej}"。Lin --%>
  74. <input type="submit" value="退回" class="bottom-button"
  75. <%-- 再去掉 wd.display.changeFormAction(,改用 <varServ@ss subm="true"。Lin
  76. 去掉 sfty:"0" 参数,不用了 -- ${agr.service} 里的服务,最终是 "ss.rejTask"
  77. 原 name="${rej.service}" dest="${rej.dest}"
  78. onclick='wd.display.changeFormAction("<varServ@ss name='${rej.service}' dest='${rej.dest}' parm='{shid:"${shid}",sfty:"0"}'/>",this);'/> --%>
  79. onclick='<varServ.ss subm="true" name="${rejAdd.service}" dest="${rejAdd.dest}" parm="{shid:&quot;${shid}&quot;}"/>'/>
  80. </equal.ss>
  81. <%--
  82. <input type="submit" value="同意" class="bottom-button" onclick="@service{submit:true,name:'check',dest:'sys_info',param:{shid:'${shid}',sfty:'1'}}@"/>
  83. <input type="submit" class="bottom-button" value="退回" onclick="@service{submit:true,name:'check',dest:'sys_info',param:{shid:'${shid}',sfty:'0'}}@"/>
  84. --%>
  85. <input type="button" onclick="wd.display.closeDialog();" class="bottom-button" value="关闭"/>
  86. </div>
  87. </div>
  88. </form>
  89. </body>
  90. </html>