orderBack.zml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ${zhiqim_manager_breadcrumb("待办")}
  2. ${zhiqim_manager_content()}
  3. ${sweet_alert_reuse_method()}
  4. <style>
  5. .goDetail{ cursor: pointer; height:30px; background:#1182fc; color:#fff!important; font-size:12px; width:70px; border-radius:4px; line-height:30px; display:block; text-align: center;}
  6. </style>
  7. <#-- 列表 -->
  8. <table class="z-table z-bordered z-mg-t20 z-pd10 z-bg-white z-lh150p z-text-center">
  9. <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
  10. <td width="25%">待办状态</td>
  11. <td width="*">待办内容</td>
  12. <td width="15%">通知人</td>
  13. <td width="15%">待办创建时间</td>
  14. <td width="15%">操作</td>
  15. </tr>
  16. <#for item : result.list()>
  17. <tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
  18. <td>
  19. <#if item.getMessageType() == 1>待办事项</#if>
  20. <#if item.getMessageType() == 2>已办事项</#if>
  21. <#if item.getMessageType() == 3>已办事项</#if>
  22. </td>
  23. <td>#{item.getMessageBody()}</td>
  24. <td>#{item.getConsumerCode()}</td>
  25. <td>#{Sqls.toDateTimeString(item.getCreateTime())}</td>
  26. <td align="center">
  27. <span class="goDetail" onclick="findInfo('${item.getDesignId()}+','+${item.getMessageType()}')">前往处理</span>
  28. </td>
  29. </tr>
  30. </#for>
  31. ${zhiqim_manager_tr_no_record(result, 10, "暂时没有公告")}
  32. </table>
  33. <table class="z-table z-bordered zi-bd-t-none z-bg-white">
  34. <tr class="z-h50">
  35. <td><div class="z-float-right z-mg-r10">${PagingGo.toHtmlLink(result)}</div></td>
  36. </tr>
  37. </table>
  38. ${zhiqim_manager_content_end()}
  39. <script>
  40. function findInfo(id,MessageType){
  41. if(MessageType == 1){
  42. open("/allOrderDetail.htm?designId="+id+'&data=copy,userText,userNotice,CustomFile,DesginFile,EndFile,WorkFile,FristThumFile,TbzFile&addRule=CustomFile&delRule=CustomFile');
  43. }else{
  44. alert("该待办已办结");
  45. }
  46. }
  47. </script>