Commit 1f591444 authored by 仇晓婷's avatar 仇晓婷

gant

parent b4599a45
......@@ -369,7 +369,7 @@ export default {
data() {
return {
tasks:[],
tasks,
options,
dynamicStyle: {},
lastId: 16
......@@ -385,6 +385,8 @@ export default {
Api.paged({ scheduleId: this.id })
.then(r => {
if (r.result) {
var parentId = r.result.id; //父级id
Api.getdetail({
part_task_pk: r.result[0].id,
scheduleId: this.id
......@@ -396,11 +398,12 @@ export default {
id: r.result[i].op_task_pk,
label: r.result[i].task_name,
user: r.result[i].equip_id,
// start: r.result[i].plan_start,
// endTime: r.result[i].plan_finish,
endTime: "2020-7-30",
start: getDate(1),
duration: (15*i) * 24 * 60 * 60 * 1000,
start: getDate(-24 * 5),
duration: 15 * 24 * 60 * 60 * 1000,
percent: 85,
put_into_qty: r.result[i].put_into_qty,
dispatch_qty: r.result[i].dispatch_qty
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment