fix -- 完成任务bug

This commit is contained in:
yuping
2023-02-23 01:55:00 +08:00
parent c0448c5dec
commit f467e209f8

View File

@@ -632,7 +632,7 @@ async function toFinish(d, sName, chapterOrStageId) {
"courseId": d.courseId,
"quizKid": d.targetId,
"routerOrProjectId": projectId,
"studentId": userInfo.value.projectId,
"studentId": userInfo.value.id,
"studentName": userInfo.value.realName
})
request(EvaluationToLearn, {
@@ -641,7 +641,7 @@ async function toFinish(d, sName, chapterOrStageId) {
"courseId": d.courseId,
"quizKid": d.targetId,
"routerOrProjectId": projectId,
"studentId": userInfo.value.projectId,
"studentId": userInfo.value.id,
"studentName": userInfo.value.realName
}).then(res => {
console.log(res)
@@ -677,7 +677,7 @@ async function toFinish(d, sName, chapterOrStageId) {
"courseId": d.courseId,
"quizKid": d.targetId,
"routerOrProjectId": projectId,
"studentId": userInfo.value.projectId,
"studentId": userInfo.value.id,
"studentName": userInfo.value.realName
})
request(EvaluationToLearn, {
@@ -686,7 +686,7 @@ async function toFinish(d, sName, chapterOrStageId) {
"courseId": d.courseId,
"quizKid": d.targetId,
"routerOrProjectId": projectId,
"studentId": userInfo.value.projectId,
"studentId": userInfo.value.id,
"studentName": userInfo.value.realName
}).then(res => {
console.log(res)
@@ -716,7 +716,7 @@ async function toFinish(d, sName, chapterOrStageId) {
await request(UPDATE_CURRENT_TASK, {id: d.id, type: PROJECT, pid: projectId, name: d.name})
if (d.type == 3 || d.type == 7 || (d.type === 5 && d.examType === 2)) {
d.status !== 1 && await request(STUDY_RECORD, {
studentId: userInfo.value.projectId,
studentId: userInfo.value.id,
targetId: data.value.routerId,
logo: PROJECT,
type: PROJECT,