|
|
@ -183,6 +183,8 @@ async function initGanttSettings() { |
|
|
|
|
|
|
|
|
|
|
|
if (result && result.status==200){ |
|
|
|
if (result && result.status==200){ |
|
|
|
var config_dayoff = result.data.data.config_dayoff; |
|
|
|
var config_dayoff = result.data.data.config_dayoff; |
|
|
|
|
|
|
|
var type_gantt = result.data.data.calculation_type; |
|
|
|
|
|
|
|
reRenderColumns(type_gantt); |
|
|
|
var dayoff = []; |
|
|
|
var dayoff = []; |
|
|
|
if(config_dayoff && config_dayoff.length > 0){ |
|
|
|
if(config_dayoff && config_dayoff.length > 0){ |
|
|
|
dayoff = config_dayoff.split(','); |
|
|
|
dayoff = config_dayoff.split(','); |
|
|
@ -252,7 +254,6 @@ function getColumnsSelection(node){ |
|
|
|
unselectedColumn.forEach(function(node){ |
|
|
|
unselectedColumn.forEach(function(node){ |
|
|
|
checkedColumns[node.name] = false; |
|
|
|
checkedColumns[node.name] = false; |
|
|
|
}); |
|
|
|
}); |
|
|
|
// console.log("checkedColumns", checkedColumns)
|
|
|
|
|
|
|
|
return checkedColumns; |
|
|
|
return checkedColumns; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|