|
|
@ -139,6 +139,8 @@ export function useKanbanViewData( |
|
|
|
...option, |
|
|
|
...option, |
|
|
|
collapsed: false, |
|
|
|
collapsed: false, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
formattedData.value[option.title!] = [] |
|
|
|
|
|
|
|
countByStack.value[option.title!] = 0 |
|
|
|
isChanged = true |
|
|
|
isChanged = true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -150,6 +152,7 @@ export function useKanbanViewData( |
|
|
|
.forEach(({ id }) => { |
|
|
|
.forEach(({ id }) => { |
|
|
|
const idx = stackMetaObj.value[grp_column_id].map((ele: Record<string, any>) => ele.id).indexOf(id) |
|
|
|
const idx = stackMetaObj.value[grp_column_id].map((ele: Record<string, any>) => ele.id).indexOf(id) |
|
|
|
if (idx !== -1) { |
|
|
|
if (idx !== -1) { |
|
|
|
|
|
|
|
deleteStack(stackMetaObj.value[grp_column_id][idx].title!) |
|
|
|
stackMetaObj.value[grp_column_id].splice(idx, 1) |
|
|
|
stackMetaObj.value[grp_column_id].splice(idx, 1) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|