feat:修改项目详情接口参数

This commit is contained in:
lixg
2023-03-17 15:34:55 +08:00
parent 7e573cfd3f
commit 1575ffd6fe

View File

@@ -224,7 +224,7 @@ import dayjs from "dayjs";
import { useStore } from "vuex";
import { changeTime } from "@/api/method";
const {
query: { courseId, projectId, type },
query: { courseId, projectId, type, infoId, chapterOrStageId, id },
} = useRoute();
const router = useRouter();
const { commit, dispatch, state } = useStore();
@@ -233,8 +233,10 @@ useRequest(PROJECT_PROCESS, { projectId: projectId, type }, (e) => {
useRequest(
checkStudentExist,
{
targetId: projectId,
targetId: type == 1 ? projectId : infoId,
type: type,
chapterId: chapterOrStageId,
courseId: id,
},
(res) => {
console.log("判断任务是否删除", res);