mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
添加接口
This commit is contained in:
@@ -236,6 +236,8 @@ import {
|
||||
SubmitExternalExam,
|
||||
UPDATE_CURRENT_TASK,
|
||||
checkStudentExist,
|
||||
EvaluationToLearn,
|
||||
QueryEvaluationTaskStatusOne
|
||||
} from "@/api/api";
|
||||
import { useRoute, useRouter } from "vue-router";
|
||||
import store from "@/store";
|
||||
@@ -568,16 +570,7 @@ function toFinish(d, sName, chapterOrStageId,studyModel) {
|
||||
if (d.type == 10) {
|
||||
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, {
|
||||
"businessType": "project",
|
||||
"chapterId": chapterOrStageId,
|
||||
@@ -613,16 +606,7 @@ function toFinish(d, sName, chapterOrStageId,studyModel) {
|
||||
return
|
||||
} 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, {
|
||||
"businessType": "project",
|
||||
"chapterId": chapterOrStageId,
|
||||
|
||||
Reference in New Issue
Block a user