19 package org.turro.erp.task;
21 import org.turro.erp.entity.HumanResource;
22 import org.turro.zkoss.grid.PagingGrid;
23 import org.zkoss.zk.ui.ext.AfterCompose;
24 import org.zkoss.zul.Column;
25 import org.zkoss.zul.Include;
26 import org.zkoss.zul.Row;
42 this.humanResource = humanResource;
43 if(humanResource !=
null) {
75 getRows(
true).getChildren().clear();
79 private void addRows() {
82 if(workload.getOrderItem().isEmpty()) {
83 r.setSclass(
"invalid");
86 Include inc =
new Include(
"/WEB-INF/_zul/erp/task/pendingTask.zul");
87 inc.setDynamicProperty(
"orderItem", workload.getOrderItem());
88 inc.setDynamicProperty(
"workload", workload);
90 inc.setHeight(
"100%");
95 private void addColumns() {
void setTasks(PendingTaskSet tasks)
HumanResource getHumanResource()
void setHumanResource(HumanResource humanResource)
void setOperator(HumanResource operator)
void setWorkloads(WorkloadSet workloads)
void setSendToParticipants(boolean sendToParticipants)
Columns getColumns(boolean create)
Rows getRows(boolean create)