Commit c8834d09 by 丁伟峰

未确认工单虚框返回;增加了各个时间要素;

1 parent 6ce8c504
......@@ -79,6 +79,9 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
slots = new ArrayList<>();
}
slot.setBgColor(getColor(e.getServiceStatus()));
if (!e.getAppointmentStatus().equals("CONFIRM")) {
slot.setBorderStyle("dotted"); // 未确认的指派,统一加上虚框
}
slots.add(slot);
if(e.getArriveElapsed() > 0) {
// 有在途,起止时间,分别是订单的开始时间减去在途时间、订单的开始时间
......@@ -175,6 +178,10 @@ public class EngineerGanttServiceImpl implements EngineerGanttService {
tips.add(new LabelValueDTO().setLabel("备注").setValue(order.getApplyNote()));
}
tips.add(new LabelValueDTO().setLabel("标签").setValue(order.getTags()));
tips.add(new LabelValueDTO().setLabel("期望最早上门时间").setValue(order.getExpectTimeBegin().toString()));
tips.add(new LabelValueDTO().setLabel("期望最迟上门时间").setValue(order.getExpectTimeEnd().toString()));
tips.add(new LabelValueDTO().setLabel("计划上门开始时间").setValue(order.getPlanStartTime().toString()));
tips.add(new LabelValueDTO().setLabel("计划上门完成时间").setValue(order.getPlanEndTime().toString()));
return tips;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!