Browse Source

Merge pull request '甘特图保存参数调整' (#124) from liwei into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_GAAS_GFrame_WEBFRONT/pulls/124
Reviewed-by: wangxy <xinyao.wang@le-it.com.cn>
pull/125/head
wangxy 3 years ago
parent
commit
7c6c05657e
1 changed files with 2 additions and 15 deletions
  1. +2
    -15
      src/views/productplan/workbench/schedule.vue

+ 2
- 15
src/views/productplan/workbench/schedule.vue View File

@ -818,7 +818,7 @@
TaskId: this.allData.TaskId,
startDate: `${moment(this.startAndEdnDate[0]).format('YYYY-MM-DD')} 00:00:00`,
endDate: `${moment(this.startAndEdnDate[1]).format('YYYY-MM-DD')} 23:59:59`,
PlannedTaskArray: this.taskData.filter(e=>e.Status<24),
PlannedTaskArray: this.taskData.filter(e=>e.Status<=40),
UnPlannedTaskArray: this.allData.UnPlannedTaskArray,
}).then(({
code
@ -935,24 +935,11 @@
}).then(({
code,
data: {
WorklineDict,
UnPlannedTaskArray,
TaskId,
PlannedTaskArray,
LockedTaskArray
WorklineDict
}
}) => {
this.fullscreenLoading = false;
if (code === 200) {
this.allData = {
UnPlannedTaskArray,
TaskId,
PlannedTaskArray,
LockedTaskArray,
ManualPlannedTask: {},
Operation: "",
}
this.wiewPlanList([]);
gantt.clearAll();
// gantt.templates.timeline_cell_class
const data = [{


Loading…
Cancel
Save