|
|
@ -6,6 +6,7 @@ const VERSION_GANTT_EDIT_URL = `${base_url}version-gantt/edit/${ganttId}`; |
|
|
|
const VERSION_GANTT_UPDATE_URL = `${base_url}version-gantt/update/${ganttId}`; |
|
|
|
const VERSION_GANTT_UPDATE_URL = `${base_url}version-gantt/update/${ganttId}`; |
|
|
|
const ACTIVITY_SET_BASELINE_URL = `${base_url}project/set-baseline/${ganttId}`; |
|
|
|
const ACTIVITY_SET_BASELINE_URL = `${base_url}project/set-baseline/${ganttId}`; |
|
|
|
const ACTIVITY_SYNCHRONIZE_REPORT_URL = `${base_url}project/synchronize-report/${ganttId}`; |
|
|
|
const ACTIVITY_SYNCHRONIZE_REPORT_URL = `${base_url}project/synchronize-report/${ganttId}`; |
|
|
|
|
|
|
|
let projectId = getUrlParameter("proyek_id"); |
|
|
|
var toggleTasks = "Collapse"; |
|
|
|
var toggleTasks = "Collapse"; |
|
|
|
var isBaselineSet = false; |
|
|
|
var isBaselineSet = false; |
|
|
|
var daysObj = [ |
|
|
|
var daysObj = [ |
|
|
@ -130,6 +131,10 @@ $(document).ready(function() { |
|
|
|
toggleCollapseTasks(); |
|
|
|
toggleCollapseTasks(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#dashboard-project").on('click', function(event) { |
|
|
|
|
|
|
|
window.location.href = `http://localhost:3000/#/dashboard-project/${projectId}/${ganttId}`; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
$("#gantt-baseline").on('click', function(event) { |
|
|
|
$("#gantt-baseline").on('click', function(event) { |
|
|
|
setBaseline(); |
|
|
|
setBaseline(); |
|
|
|
}); |
|
|
|
}); |
|
|
|