Commit ab549b1e authored by 周远喜's avatar 周远喜

ok

parent 549ce839
...@@ -284,12 +284,12 @@ let options = { ...@@ -284,12 +284,12 @@ let options = {
value: "name", value: "name",
width: 100, width: 100,
expander: true, expander: true,
html: true html: true,
// events: { events: {
// click({ data, column }) { click({ data, column }) {
// alert("description clicked!\n" + data.label); this.$Message.info(data.name);
// } }
// } }
}, },
{ {
id: 3, id: 3,
...@@ -329,17 +329,6 @@ let options = { ...@@ -329,17 +329,6 @@ let options = {
value: "dispatch_qty", value: "dispatch_qty",
width: 68 width: 68
}, },
{
id:10,
label: "parentId",
value: "parentId",
width: 68
},{
id:11,
label: "duration",
value: "duration",
width: 68
},
{ {
id: 9, id: 9,
label: "%", label: "%",
...@@ -442,13 +431,14 @@ export default { ...@@ -442,13 +431,14 @@ export default {
id: r.result[i].op_task_pk, id: r.result[i].op_task_pk,
name: r.result[i].task_name, name: r.result[i].task_name,
EquipmentNo: r.result[i].equip_id, EquipmentNo: r.result[i].equip_id,
// parentId: i<5?parentId:368,
parentId: parentId, parentId: parentId,
// start: r.result[i].plan_start, // start: r.result[i].plan_start,
// endTime: r.result[i].plan_finish, // endTime: r.result[i].plan_finish,
// endTime: "2020-7-30", // endTime: "2020-7-30",
start: start, start: start,
duration: jg, duration: jg,
percent: 0, percent: i*9,
put_into_qty: r.result[i].put_into_qty, put_into_qty: r.result[i].put_into_qty,
dispatch_qty: r.result[i].dispatch_qty, dispatch_qty: r.result[i].dispatch_qty,
type:i%2?"task":'milestone', type:i%2?"task":'milestone',
......
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