timeoutDesignerCompleteInfo.zml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <#include "/ztmpl/zhiqim_manager/"+themeMain+"/define.htm"/>
  2. <table class="z-table z-bordered z-bg-white z-text-center" style="background-color: #efefef;">
  3. <tr class="z-h40 z-text-center z-bg-gray">
  4. <td width="120">订单号</td>
  5. <td width="130">旺旺号</td>
  6. <td width="*">产品</td>
  7. <td width="120">组织</td>
  8. <td width="120">设计师</td>
  9. <td width="100">订单状态</td>
  10. <td width="140">进度备注</td>
  11. <td width="140">领单时间</td>
  12. <td width="140">初稿时间</td>
  13. <td width="140">定稿时间</td>
  14. <td width="100">超时时效</td>
  15. </tr>
  16. <#if result.size() == 0>
  17. <tr valign="middle" class="z-h40 z-text-center z-bg-white">
  18. <td colspan="12">暂不存在定稿超时订单信息</td>
  19. </tr>
  20. </#if>
  21. <#var typeMap = DesignTypeDao.mapAll()/>
  22. <#for item : pageResult.list()>
  23. <#var effectiveTime = Validates.isEmpty(typeMap) ? 0 : ( typeMap.containsKey(item.getTypeId()) ? typeMap.get(item.getTypeId()).getEffectiveEndTime() : 0)/>
  24. <tr align="center" class="z-h40 z-pointer" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
  25. <td>${item.getDesignId()}</td>
  26. <td>${item.getBuyerNick()}</td>
  27. <td>${item.getOrderText()}</td>
  28. <td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
  29. <td>${item.getDesigner()}</td>
  30. <td>${StatusConstants.getStatus(item.getStatus())}</td>
  31. <td>${progressNoteMap.get(item.getDesignId())}</td>
  32. <td>${Sqls.toDateTimeString(item.getDesignBeginTime())}</td>
  33. <td>${Sqls.toDateTimeString(item.getDesignDraftTime())}</td>
  34. <td>${Sqls.toDateTimeString(item.getDesignEndTime())}</td>
  35. <td>
  36. <#if item.getStatus() gte "55" >
  37. <span class="z-pointer z-text-ellipsis" data-role="z-tooltip" data-options="placement:top;top:5;align:center;width:140px;" data-text="定稿时间-领单时间"><span class="z-text-red">${CalculationUtil.dateTimeTran(DateTimes.compareMinute(item.getDesignEndTime(), item.getDesignBeginTime()) - effectiveTime)}</span></span>
  38. <#else>
  39. <span class="z-pointer z-text-ellipsis" data-role="z-tooltip" data-options="placement:top;top:5;align:center;width:140px;" data-text="当前时间-领单时间"><span class="z-text-red">${CalculationUtil.dateTimeTran(DateTimes.compareMinute(Sqls.nowTimestamp(), item.getDesignBeginTime()) - effectiveTime)}</span></span>
  40. </#if>
  41. </td>
  42. </tr>
  43. </#for>
  44. </table>
  45. ${zhiqim_manager_paging_jsMethod(pageResult, "doQueryCompleteTimeoutOrderInfo")}