mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
修改
This commit is contained in:
@@ -851,6 +851,13 @@ async function coursePlanConfirm() {
|
|||||||
formData.value.beginTime = dateTime.value[0]
|
formData.value.beginTime = dateTime.value[0]
|
||||||
formData.value.endTime = dateTime.value[1]
|
formData.value.endTime = dateTime.value[1]
|
||||||
await request(COURSE_PLAN_EDIT, { ...formData.value });
|
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();
|
handleCancelStu();
|
||||||
tableRef.value.fetch();
|
tableRef.value.fetch();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -614,6 +614,7 @@ const currentTaskList = computed(() => {
|
|||||||
});
|
});
|
||||||
watch(currentTaskList, (oldValue,newValue) => {
|
watch(currentTaskList, (oldValue,newValue) => {
|
||||||
request(PROJECT_DETAIL_MODIFY, projectInfo.value)
|
request(PROJECT_DETAIL_MODIFY, projectInfo.value)
|
||||||
|
// request(PROJECT_RELEASE, {projectId: route.query.projectId})
|
||||||
getTask()
|
getTask()
|
||||||
});
|
});
|
||||||
const temporaryStorage = async () => {
|
const temporaryStorage = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user