|
|
|
@ -74,14 +74,16 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
"select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"], |
|
|
|
|
"columns": [ |
|
|
|
|
{ "name": "hierarchy_ftth_id", "logic_operator": "=", "value": hierarchyId, "operator": "AND" } |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
"orders": { "columns": ["name_version"], "ascending": true } |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
payload = { |
|
|
|
|
"select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"], |
|
|
|
|
"columns": [ |
|
|
|
|
{ "name": "proyek_id", "logic_operator": "=", "value": idTask, "operator": "AND" } |
|
|
|
|
] |
|
|
|
|
], |
|
|
|
|
"orders": { "columns": ["name_version"], "ascending": true }, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
const result = await axios |
|
|
|
|