mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-07 01:46:45 +08:00
添加接口
This commit is contained in:
@@ -236,6 +236,8 @@ import {
|
|||||||
SubmitExternalExam,
|
SubmitExternalExam,
|
||||||
UPDATE_CURRENT_TASK,
|
UPDATE_CURRENT_TASK,
|
||||||
checkStudentExist,
|
checkStudentExist,
|
||||||
|
EvaluationToLearn,
|
||||||
|
QueryEvaluationTaskStatusOne
|
||||||
} from "@/api/api";
|
} from "@/api/api";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
import store from "@/store";
|
import store from "@/store";
|
||||||
@@ -569,15 +571,6 @@ function toFinish(d, sName, chapterOrStageId,studyModel) {
|
|||||||
if (d.quizTaskId == null) {
|
if (d.quizTaskId == null) {
|
||||||
// 肯定没有完成测评
|
// 肯定没有完成测评
|
||||||
// 调用接口 跳转页面
|
// 调用接口 跳转页面
|
||||||
console.log('我是查询测评跳转链接所传递得参数', {
|
|
||||||
"businessType": "project",
|
|
||||||
"chapterId": chapterOrStageId,
|
|
||||||
"courseId": d.courseId,
|
|
||||||
"quizKid": d.targetId,
|
|
||||||
"routerOrProjectId": projectId,
|
|
||||||
"studentId": userInfo.value.id,
|
|
||||||
"studentName": userInfo.value.realName
|
|
||||||
})
|
|
||||||
request(EvaluationToLearn, {
|
request(EvaluationToLearn, {
|
||||||
"businessType": "project",
|
"businessType": "project",
|
||||||
"chapterId": chapterOrStageId,
|
"chapterId": chapterOrStageId,
|
||||||
@@ -614,15 +607,6 @@ function toFinish(d, sName, chapterOrStageId,studyModel) {
|
|||||||
} else {
|
} else {
|
||||||
// 重新查询跳转
|
// 重新查询跳转
|
||||||
// 调用接口 跳转页面
|
// 调用接口 跳转页面
|
||||||
console.log('我是查询测评跳转链接所传递得参数', {
|
|
||||||
"businessType": "project",
|
|
||||||
"chapterId": chapterOrStageId,
|
|
||||||
"courseId": d.courseId,
|
|
||||||
"quizKid": d.targetId,
|
|
||||||
"routerOrProjectId": projectId,
|
|
||||||
"studentId": userInfo.value.id,
|
|
||||||
"studentName": userInfo.value.realName
|
|
||||||
})
|
|
||||||
request(EvaluationToLearn, {
|
request(EvaluationToLearn, {
|
||||||
"businessType": "project",
|
"businessType": "project",
|
||||||
"chapterId": chapterOrStageId,
|
"chapterId": chapterOrStageId,
|
||||||
|
|||||||
Reference in New Issue
Block a user