mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-18 07:16:47 +08:00
feat:修改项目详情接口参数
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user