|
|
|
@ -339,7 +339,7 @@ function initializationColumn() {
|
|
|
|
|
if (data.status == "not yet have") { |
|
|
|
|
addShowHideColumn(); |
|
|
|
|
} else if (data.status == "not have access") { |
|
|
|
|
|
|
|
|
|
gantt.config.columns = createColumnsConfig(columnShows); |
|
|
|
|
} else { |
|
|
|
|
setUpForShowHideColumn(data); |
|
|
|
|
} |
|
|
|
@ -513,7 +513,7 @@ function submitShowHideColumn(allColumn) {
|
|
|
|
|
version_gantt_id: ganttId, |
|
|
|
|
columns: allColumn |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gantt.config.columns = createColumnsConfig(allColumn); |
|
|
|
|
$.ajax({ |
|
|
|
|
data: JSON.stringify(payload), |
|
|
|
|
url: `${base_url}gantt-show-hide/add`, |
|
|
|
|