|
|
|
@ -378,7 +378,8 @@ function compareData(data){
|
|
|
|
|
} |
|
|
|
|
allTasks.forEach((task, index) => { |
|
|
|
|
if (task.progress > 0 && task.progress < 1) { |
|
|
|
|
task.end_date = moment().format('YYYY-MM-DD HH:mm:ss'); |
|
|
|
|
// task.end_date = moment().format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
|
// task.end_date = new Date();
|
|
|
|
|
} |
|
|
|
|
if (task.start_date != data.data[index].start_date) { |
|
|
|
|
gantt.getTask(task.id).start_date = task.start_date; |
|
|
|
|