|
@ -33,21 +33,21 @@ |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-steps finish-status="success" :active="activities.status"> |
|
|
<el-steps finish-status="success" :active="activities.status" > |
|
|
<el-step |
|
|
<el-step |
|
|
v-for="(item, index) in activities" |
|
|
v-for="(item, index) in activities" |
|
|
:key="index" |
|
|
:key="index" |
|
|
:status="item.isfinish == 2 ? 'success' : 'wait'" |
|
|
:status="item.isfinish == 2 ? 'success' : 'wait'" |
|
|
> |
|
|
> |
|
|
<template #title> |
|
|
<template #title> |
|
|
<div> |
|
|
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> |
|
|
{{ item.taskName }} |
|
|
{{ item.taskName }} |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<div @click="item.showChildren=!item.showChildren" style="cursor:pointer"> |
|
|
{{ item.scheduledStartTime + '--' + item.scheduledEndTime }} |
|
|
{{ item.scheduledStartTime + '--' + item.scheduledEndTime }} |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
<template #description> |
|
|
<template #description v-if="item.showChildren"> |
|
|
<childElstepchild v-if="item.children != null" :child="item.children"></childElstepchild> |
|
|
<childElstepchild v-if="item.children != null" :child="item.children"></childElstepchild> |
|
|
</template> |
|
|
</template> |
|
|
<template #icon> |
|
|
<template #icon> |
|
@ -154,6 +154,9 @@ |
|
|
projectid: dataTo.projectId, |
|
|
projectid: dataTo.projectId, |
|
|
}).then((res) => { |
|
|
}).then((res) => { |
|
|
activities.value = res; |
|
|
activities.value = res; |
|
|
|
|
|
activities.value.forEach((i:any)=>{ |
|
|
|
|
|
i.showChildren = false |
|
|
|
|
|
}) |
|
|
console.log('activities', activities); |
|
|
console.log('activities', activities); |
|
|
}); |
|
|
}); |
|
|
console.log('projectid1111111111', activities, dataTo.projectId); |
|
|
console.log('projectid1111111111', activities, dataTo.projectId); |
|
|