pxmhj_relJobRls.ss.jsp 4.2 KB

1
  1. <html> <head> </head> <style> <%-- 再去掉 <div,不居中,不加黑框。Lin table{ border:1px solid black; border-radius:3px; margin:auto; } td{ cursor:default; text-align:center; padding:0 1em; } tr:hover>td{ background-color:#2196f3; } --%> .unfinish{ background-color:red; color:white; font-weight:bold; } [swid]{ cursor:pointer; } </style> <body> <div style="height:100%;overflow:auto;"> <form action="<serv.ss name='pxmhj_initJobFileRls' dest='pxmhj_fileRlsSure' parm='{pxmhjid:"${pxmhjid}",pxmid:"${pxmid}",swupdateid:"${swupdateid}",compatible:"${compatible}"}'/>" method="post"> <div id="container" class="dragList-div"> <equal.ss val="${empty sws}" val2="false"> 选中的任务: <table> <%-- 移到 <table> 上,不作为 <thead>。Lin <thead> <tr><th colspan="5">选中的任务</th></tr> </thead> --%> <tbody> <tr> <%-- 再去掉,没意义。Lin <th></th> --%> <th>&nbsp;&nbsp;任务名称</th> <th>&nbsp;&nbsp;开始时间</th> <th>&nbsp;&nbsp;创建人</th> <th>&nbsp;&nbsp;是否办结</th> </tr> <rpt.ss name="sws" id="sw"> <tr> <%-- 再去掉,没意义。Lin <td>${index+1}</td> <td>${sw.swid}</td> --%> <td swid="${sw.swid}">&nbsp;&nbsp;${sw.mc}</td> <td>&nbsp;&nbsp;${sw.kssj}</td> <td>&nbsp;&nbsp;<cbTrans.ss cb="ry" val="${sw.cjryid}"/></td> <td class="${sw.swztm==51?'':'unfinish'}">&nbsp;&nbsp;${sw.swztm==51?"是":"否"}</td> </tr> </rpt.ss> </tbody> </table> </equal.ss> <equal.ss val="${empty swList}" val2="false"> <table> <thead> <tr><th colspan="5">双击任务 查看关联的任务(以下都是未发布的任务)</th></tr> </thead> <tbody> <tr> <th></th> <th></th> <th>任务名称</th> <th>开始时间</th> <th>创建人</th> <th>是否办结</th> </tr> <rpt.ss name="swList" id="sw"> <tr> <td>${index+1}</td> <td>${sw.swid}</td> <td swid="${sw.swid}">${sw.mc}</td> <td>${sw.kssj}</td> <td><cbTrans.ss cb="ry" val="${sw.cjryid}"/></td> <td class="${sw.swztm==51?'':'unfinish'}">${sw.swztm==51?"是":"否"}</td> </tr> </rpt.ss> </tbody> </table> </equal.ss> <equal.ss val="${empty wbjsw}" val2="false"> <table> <thead> <tr><th colspan="5">相关的且未办结任务(以下都是未发布的任务)(${wbjswcount}个)</th></tr> </thead> <tbody> <tr> <th></th> <th></th> <th>任务名称</th> <th>开始时间</th> <th>创建人</th> <th>是否办结</th> </tr> <rpt.ss name="wbjsw" id="sw"> <tr> <td>${index+1}</td> <td>${sw.swid}</td> <td swid="${sw.swid}">${sw.mc}</td> <td>${sw.kssj}</td> <td><cbTrans.ss cb="ry" val="${sw.cjryid}"/></td> <td class="${sw.swztm==51?'':'unfinish'}">${sw.swztm==51?"是":"否"}</td> </tr> </rpt.ss> </tbody> </table> </equal.ss> <equal.ss val="${empty xgsw}" val2="false"> <table> <thead> <tr><th colspan="5">相关任务(发布时候需要一起发布的任务;以下都是标记为未发布的任务)(${xgswcount}个)</th></tr> </thead> <tbody> <tr> <th></th> <th></th> <th>任务名称</th> <th>开始时间</th> <th>创建人</th> <th>是否办结</th> </tr> <rpt.ss name="xgsw" id="sw"> <tr> <td>${index+1}</td> <td>${sw.swid}</td> <td swid="${sw.swid}">${sw.mc}</td> <td>${sw.kssj}</td> <td><cbTrans.ss cb="ry" val="${sw.cjryid}"/></td> <td class="${sw.swztm==51?'':'unfinish'}">${sw.swztm==51?"是":"否"}</td> </tr> </rpt.ss> </tbody> </table> </equal.ss> </div> <div class="bottom-div"> <equal.ss val="${empty swupdateid}" val2="false"> <input type="submit" value="确认(只发布选中的任务)" onclick="" class="bottom-button"/> </equal.ss> </div> </form> </div> </body> <js.ss file="/ss/treeTable/jquery.treetable.js"/> <css.ss file="/ss/treeTable/jquery.treetable.css"/> <script> $(function () { $("div>table").treetable({ expandLevel: 1, column: 1 }); }); </script> </html>