解决项目开课匹配不对问题

This commit is contained in:
zhangsir
2024-07-29 17:13:36 +08:00
parent eb0b7510dd
commit 3d28263b7b

View File

@@ -2494,8 +2494,8 @@ export default {
};
const coursePlanRef = ref();
const openCourse = async (item,key,index) => {
await apitl.getDraftTask({projectId: item.projectId}).then((item)=>{
coursePlanRef.value.openDrawer(item.data.data.stageList[index].taskDraftDtoList[key]);
await apitl.getDraftTask({projectId: item.projectId}).then((res)=>{
coursePlanRef.value.openDrawer(res.data.data.stageList[index].taskDraftDtoList.find(fin=>fin.projectTaskId === item.id));
})
}
const qrCodeItems = ref([]);