This commit is contained in:
zhangsir
2024-02-05 19:09:17 +08:00
parent c0b856413b
commit 7edc24e2bc
2 changed files with 8 additions and 0 deletions

View File

@@ -851,6 +851,13 @@ async function coursePlanConfirm() {
formData.value.beginTime = dateTime.value[0]
formData.value.endTime = dateTime.value[1]
await request(COURSE_PLAN_EDIT, { ...formData.value });
await api.getDraftTask({projectId: route.query.projectId}).then((res) => {
projectInfo.value = res.data.data
});
request(PROJECT_DETAIL_MODIFY, { ...projectInfo.value });
projectInfo.value.projectInfo.status=3
request(PROJECT_RELEASE, {projectId: route.query.projectId})
emit('call-parent-method');
handleCancelStu();
tableRef.value.fetch();
}

View File

@@ -614,6 +614,7 @@ const currentTaskList = computed(() => {
});
watch(currentTaskList, (oldValue,newValue) => {
request(PROJECT_DETAIL_MODIFY, projectInfo.value)
// request(PROJECT_RELEASE, {projectId: route.query.projectId})
getTask()
});
const temporaryStorage = async () => {