taskHomep.jsp 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. <%@ page language="java" pageEncoding="UTF-8" isELIgnored="false" %>
  2. <%@ taglib uri="/ssTag" prefix="ss"%>
  3. <% pageContext.setAttribute(ss.page.PageC.PAGE_objName,"sh");%>
  4. <%pageContext.setAttribute("wdpageinformation","{'hastab':'0'}");%>
  5. <!DOCTYPE html>
  6. <%--<!–[if IE]>
  7. <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  8. <![endif]–>--%>
  9. <script type="text/javascript" src="/ss/treeTable/jquery.treetable.js"></script>
  10. <style>
  11. .list-smallDim{
  12. width: 80px !important;
  13. height: 43px;
  14. }
  15. .list-smallDim span{
  16. display: inline-block;
  17. width: 100%;
  18. height: 16px;
  19. line-height: 16px;
  20. text-align: center;
  21. }
  22. .db-button span{
  23. display: inline-block;
  24. width: 100%;
  25. height:17px;
  26. line-height: 17px;
  27. text-align: center;
  28. }
  29. .smallButton-i{
  30. margin-top: -4px;
  31. }
  32. .title{
  33. display: inline-block;
  34. }
  35. .tdSj{
  36. vertical-align: middle;
  37. }
  38. .iservice-num-0{
  39. 8 max-width: calc(100% - 45px);
  40. }
  41. .iservice-num-1{
  42. /* max-width: calc(100% - 98px)!important;*/
  43. max-width: calc(100% - 98px);
  44. }
  45. .iservice-num-12{
  46. max-width: calc(100% - 110px);
  47. }
  48. .iservice-num-2{
  49. max-width: calc(100% - 76px);
  50. }
  51. .bb1{
  52. width:100%!important;
  53. max-width: 100% !important;
  54. position: relative;
  55. z-index: 1;
  56. }
  57. </style>
  58. <script type="text/javascript">
  59. var growHeightIds = new Array();
  60. </script>
  61. <div id="sybj" style="height: 100%;">
  62. <div class="plugin-component-div" style="height: 100%;">
  63. <div id="bt" class="plugin-title hLine-dim db" style="margin-bottom: 5px;">
  64. <span refreshClass="todoPlugin-loadingIcon" class="img-header plugin-icon todoPlugin-icon"></span>
  65. <span style="vertical-align: middle;">待办</span>
  66. <span style="float: right;margin-right: 10px;line-height: 0;" class="todoPlugin-title-right">
  67. <span class="icon-setHelpButton" style="position: relative;top: 10px;display: inline-block;">
  68. </span>
  69. <span class="icon-helpButton" style="position: relative;top: 10px;">
  70. </span>
  71. </span>
  72. </div>
  73. <div id="sybjBody" style="height: calc(100% - 60px)!important;width: 100%;box-sizing: border-box;">
  74. <div id="sybjBodyInner" style="height: 100%;">
  75. <div class="smallScrollbar" style="height: 100%;">
  76. <div class="home-list-div" id="shList" style="height: calc(100% - 1px);width: calc(100% - 8.5px)">
  77. <table style="border:none!important;border-collapse: collapse;width: 100%;" id="treetable" class="dbtreetable">
  78. <ss:rpt name='cgList' id='item'>
  79. <%--分支--%>
  80. <ss:equal val='${item.branch}' val2='true'> <%-- 改 equal:val1="${item.branch==true}" val2="true"。Lin --%>
  81. <tr style="height: 41px;line-height: 40px;width: 100%;position: relative;font-size: 14px;" class="trtable folder1 cursor-click" data-tt-id="db${item.id}" >
  82. <td onclick='if($(window.event.srcElement).is("a"))return;if($(this).hasClass("bear")){$(this).removeClass("bear");return;};$(this).addClass("bear").find(".indenter a").trigger("click");' style="width:100%;padding-left: 15px;box-sizing: border-box;" class="tdBt bb1" taskCount="${item.taskCount}">
  83. <span class="folder" ></span>
  84. <script type="text/javascript">
  85. growHeightIds.push('${item.index}_${sybjId}');
  86. </script>
  87. <div class="title iservice-num-0 cursor-click" id="${item.index}_${sybjId}" style="float: left;
  88. display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;" height='40px'>
  89. ${item.mc}
  90. </div>
  91. <!-- <div class="vLine-dashed" style="float:right;display:inline-block;width:1px;height:30px;margin-top:5px;">
  92. </div> -->
  93. </td>
  94. <td class="tdSj" style="padding-right: 9px;box-sizing: border-box;font-size: 0px;width: 89px;">
  95. <div class="list-smallDim list1" >
  96. <span>
  97. <ss:txt val='${item.sqsj}' fmt='MM/dd'/> <ss:txt val='${item.sqsj}' fmt='HH:mm'/>
  98. </span>
  99. </div>
  100. </td>
  101. </tr>
  102. </ss:equal>
  103. <%--节点--%>
  104. <ss:equal val='${item.branch}' val2='false'> <%-- 改 equal:val1="${item.branch==true}" val2="false"。Lin --%>
  105. <tr style="height: 41px;line-height: 40px;width: 100%;position: relative;font-size: 14px;" class="file2 cursor-click" data-tt-id="db${item.id}" data-tt-parent-id="db${item.branchid}" >
  106. <td class="tdBt bb1" style="padding-left: 15px;width:100%;box-sizing: border-box;position: absolute;z-index: 1;"
  107. <ss:equal val='${empty item.updateService}' val2='false'>
  108. onclick='wd.display.showComponent({show:["wdDialog"],url:"<ss:serv name='${item.updateService.service}' dest='${item.updateService.dest}' parm='${item.updateService.param}'/>",title:"${item.updateService.title}",width:"${item.updateService.width}",height:"${item.updateService.height}",minHeight:"${item.updateService.minHeight}",maxHeight:"${item.updateService.maxHeight}"});'
  109. </ss:equal>
  110. >
  111. <span class="file"></span>
  112. <%-- 主操作:草稿修改 --%>
  113. <script type="text/javascript">
  114. growHeightIds.push('${item.index}_${sybjId}');
  115. </script>
  116. <div class="title iservice-num-1 cursor-click" id="${item.index}_${sybjId}" style="float: left;
  117. display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;" height='41px'>
  118. ${item.mc}
  119. </div>
  120. <%-- 草稿查看 --%>
  121. <%--
  122. <a title='${item.playService.title}' class="smallButton icon-i" onclick='wd.display.showComponent({show:["wdDialog"],hide:[],url:"<wd:token service='${item.playService.service}' dest='${item.playService.dest}' param='${item.playService.param}' test='false' />",title:"${item.playService.title}",width:${item.playService.width},height:${item.playService.height},minHeight:${item.playService.minHeight},maxHeight:${item.playService.maxHeight}});' ></a>
  123. --%>
  124. <!-- <div class="vLine-dashed" style="float:right;display:inline-block;width:1px;height:30px;margin-top:5px;">
  125. </div> -->
  126. </td>
  127. <td class="tdSj" style="padding-right: 9px;box-sizing: border-box;font-size: 0px;width: 89px;position: absolute;z-index: 1;right: 0;">
  128. <%-- 时间 --%>
  129. <div class="list-smallDim list2">
  130. <span>
  131. <ss:txt val='${item.sqsj}' fmt='MM/dd'/> <ss:txt val='${item.sqsj}' fmt='HH:mm'/>
  132. </span>
  133. </div>
  134. </td>
  135. </tr>
  136. </ss:equal>
  137. </ss:rpt>
  138. <ss:rpt name='shList' id='innerList'>
  139. <ss:equal val='${innerList[0].mark}' val2='pl'>
  140. <ss:rpt name='${innerList}' id='item'>
  141. <tr style="height: 41px;line-height: 40px;width: 100%;position: relative;font-size: 14px;" class="trtable folder1 cursor-click" data-tt-id="db${item.plid}"
  142. <ss:equal val='${empty item.cservice}' val2='false'> <%-- 改 equal:val1="true" val2="${not empty item.cservice}"。Lin --%>
  143. <%-- 主操作:批量审核 --%>
  144. onclick='if($(window.event.srcElement).is("a,img,span"))return;wd.display.JumpTest({show:["wdDialog"],hide:[],
  145. url:"<ss:serv name='${item.cservice.service}' dest='${item.cservice.dest}' parm='${item.cservice.param}'/>",
  146. title:"${item.cservice.title}",width:${item.cservice.width},height:${item.cservice.height},minHeight:${empty item.cservice.minHeight?'null':item.cservice.minHeight},maxHeight:${empty item.cservice.maxHeight?'null':item.cservice.maxHeight}});event.stopPropagation();console.log(1211)'
  147. </ss:equal>
  148. >
  149. <td class="tdBt bb1" style="padding-left: 15px;width:100%;box-sizing: border-box;" taskCount="${item.taskCount}">
  150. <span class="folder"></span>
  151. <script type="text/javascript">
  152. growHeightIds.push('${item.index}_${sybjId}');
  153. </script>
  154. <div class="title iservice-num-0 cursor-click" id="${item.index}_${sybjId}" style="float: left;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;" height='40px'
  155. <ss:equal val='${empty item.cservice}' val2='true'> <%-- 改 equal:val1="false" val2="${not empty item.cservice}"。Lin --%>
  156. onclick='if($(window.event.srcElement).is("a,img,span"))return;wd.display.alert("该节点无批量审核")'
  157. </ss:equal>
  158. >
  159. ${item.name}
  160. </div>
  161. <!-- <div class="vLine-dashed" style="float:right;display:inline-block;width:1px;height:30px;margin-top:5px;">
  162. </div> -->
  163. </td>
  164. <td class="tdSj" style="padding-right: 9px;box-sizing: border-box;font-size: 0px;width: 89px;">
  165. <%-- 时间 --%>
  166. <div class="list-smallDim list3" onclick='$(this).parent().prev().addClass("bear").find(".indenter a").trigger("click");'>
  167. <span>
  168. <ss:txt val='${item.time}' fmt='MM/dd'/> <ss:txt val='${item.time}' fmt='HH:mm'/>
  169. </span>
  170. </div>
  171. </td>
  172. </tr>
  173. </ss:rpt>
  174. </ss:equal>
  175. <ss:equal val='${innerList[0].mark}' val2='sh'>
  176. <ss:rpt name='${innerList}' id='item'>
  177. <%-- 主操作:审核 --%>
  178. <tr style="height: 41px;line-height: 40px;width: 100%;position: relative;font-size: 14px;" class="file${empty item.plid?1:2} ${empty item.dlryidList?'':'proxy'} ${empty item.encode_shryid?'':'encode'} cursor-click" data-tt-id="db${item.objectId}" objectId="${item.objectId}"
  179. <ss:equal val='${empty item.plid}' val2='false'> <%-- 改 equal:val1="true" val2='${not empty item.plid}'。Lin --%>
  180. data-tt-parent-id="db${item.plid}"
  181. </ss:equal>
  182. onclick='wd.display.JumpTest({show:["wdDialog"],hide:[],
  183. url:"<ss:serv name='${item.service.service}' dest='${item.service.dest}' parm='${item.service.param}'/>",
  184. title:"${item.service.title}",width:${item.service.width},height:${item.service.height},minHeight:${empty item.service.minHeight ?'null':item.service.minHeight},maxHeight:${empty item.service.maxHeight?'null':item.service.maxHeight}});event.stopPropagation();'>
  185. <td class="tdBt bb1 aa1" style="padding-left: 15px;width:100%;box-sizing: border-box;">
  186. <span class="file"></span>
  187. <ss:equal val='${empty item.dlryidList}' val2='false'>
  188. <span class="icon-proxy" ryid="${item.dlryidList[0]}"></span>
  189. </ss:equal>
  190. <ss:equal val='${empty item.encode_shryid}' val2='false'>
  191. <span class="icon-translate" ryid="${item.encode_shryid}"></span>
  192. </ss:equal>
  193. <script type="text/javascript">
  194. growHeightIds.push('${item.index}_${sybjId}');
  195. </script>
  196. <ss:equal val='${empty item.plid && not empty item.processName}' val2='true'>
  197. <div class="list-highlight" style="min-width:min-content;max-width:fit-content;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;float: left;">${item.processName}. </div>
  198. <div class="title cc${empty item.p_iservice}-${empty item.iservice} iservice-num-${empty item.p_iservice&&empty item.iservice?'0':''}${not empty item.iservice?'1':''}${not empty item.p_iservice?'2':''} cursor-click" id="${item.index}_${sybjId}" style="max-width:inherit;float: left;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;min-width: 1%;" height='40px'>
  199. ${item.name}
  200. </div>
  201. </ss:equal>
  202. <ss:equal val='${empty item.plid && not empty item.processName}' val2='false'>
  203. <div class="title cc${empty item.p_iservice}-${empty item.iservice} iservice-num-${empty item.p_iservice&&empty item.iservice?'0':''}${not empty item.iservice?'1':''}${not empty item.p_iservice?'2':''} cursor-click" id="${item.index}_${sybjId}" style="float: left;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;min-width: 10%;" height='40px'>
  204. ${item.name}
  205. </div>
  206. </ss:equal>
  207. <ss:equal val='${empty item.iservice}' val2='false'>
  208. <a class="smallButton icon-i" class="aa shitem" href="javascript:void(0)"
  209. onclick='wd.display.showComponent({show:["wdDialog"],url:"<ss:serv name='${item.iservice.service}' dest='${item.iservice.dest}' parm='${item.iservice.param}'/>",title:"${item.iservice.title}",width:"${item.iservice.width}",height:"${item.iservice.height}",minHeight:"${item.iservice.minHeight}",maxHeight:"${item.iservice.maxHeight}"});'
  210. event.stopPropagation();
  211. >
  212. </a>
  213. </ss:equal>
  214. <ss:equal val='${empty item.p_iservice}' val2='false'> <%-- 改 equal:val1="true" val2="${not empty item.p_iservice}"。Lin --%>
  215. <a class="smallButton icon-bigI" style="margin-right: 6px;" class="aa shitem" href="javascript:void(0)"
  216. onclick='wd.display.showComponent({show:["wdDialog"],url:"<ss:serv name='${item.p_iservice.service}' dest='${item.p_iservice.dest}' parm='${item.p_iservice.param}'/>",title:"${item.p_iservice.title}",width:"${item.p_iservice.width}",height:"${item.p_iservice.height}",minHeight:"${item.p_iservice.minHeight}",maxHeight:"${item.p_iservice.maxHeight}"});'
  217. event.stopPropagation();
  218. >
  219. </a>
  220. </ss:equal>
  221. <!-- <div class="vLine-dashed" style="float:right;display:inline-block;width:1px;height:30px;margin-top:5px;">
  222. </div> -->
  223. </td>
  224. <td class="tdSj" style="padding-right: 9px;box-sizing: border-box;font-size: 0px;width: 89px;">
  225. <%--时间--%>
  226. <div class="list-smallDim list4" style="${empty item.jzsj?'color: #969696;':'color: #ff0000;'};">
  227. <ss:equal val='${empty item.jzsj}' val2='true'>
  228. <span>
  229. <ss:txt val='${item.fssj}' fmt='MM/dd'/> <ss:txt val='${item.fssj}' fmt='HH:mm'/>
  230. </span>
  231. </ss:equal>
  232. <ss:equal val='${empty item.jzsj}' val2='false'>
  233. <span>
  234. <ss:txt val='${item.jzsj}' fmt='MM/dd'/> <ss:txt val='${item.jzsj}' fmt='HH:mm'/>
  235. </span>
  236. </ss:equal>
  237. </div>
  238. </td>
  239. </tr>
  240. </ss:rpt>
  241. </ss:equal>
  242. </ss:rpt>
  243. </table>
  244. </div>
  245. <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=" onload="initJs${sybjId}(this)" />
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. <script type="text/javascript" src="/ss/nicescroll/jquery.nicescroll.js"></script>
  252. <script type="text/javascript" src="/ss/nicescroll/jquery.nicescroll.iframehelper.min.js"></script>
  253. <script src="/js/PageJs/taskHomep.js"></script>
  254. <script type="text/javascript">
  255. var initJs${sybjId} = init
  256. </script>
  257. <script type="text/javascript">var wdRecordValue='${wdRecordValue}';</script>
  258. <script type="text/javascript" src="/ss/js/wdRecord.js"></script>
  259. <script type="text/javascript">(function(){wdRecord("homep_task");})();</script>
  260. <ss:equal val="${empty resizeComponent}" val2="false">
  261. <script>{var iframe=wd.display.getFrameOfWindow();
  262. if(iframe&&iframe.contentWindow==window)
  263. wd.display.resizeComponent(${resizeComponent.width}, ${resizeComponent.height}, ${empty resizeComponent.minHeight?'null':resizeComponent.minHeight}, ${empty resizeComponent.maxHeight?'null':resizeComponent.maxHeight});}</script>
  264. </ss:equal>
  265. <ss:help/>
  266. <script type="text/javascript">
  267. tokenCleanser("<ss:serv name='ss.clearPageToken'/>", {tokenList:"<%= pageContext.getAttribute(ss.page.PageC.PAGE_tokenList)%>"});
  268. </script>