mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 10:56:48 +08:00
fix:无阶段任务参数传递
This commit is contained in:
@@ -469,8 +469,8 @@ function toFinish(d, sName, chapterOrStageId) {
|
||||
query: {
|
||||
id: d.projectTaskId,
|
||||
type: 2,
|
||||
taskId: projectId,
|
||||
taskIds: projectId,
|
||||
taskId: data.value.projectId,
|
||||
taskIds: data.value.projectId,
|
||||
courseId: d.courseId,
|
||||
pName: data.value.name,
|
||||
sName,
|
||||
|
||||
@@ -423,10 +423,10 @@ function submit() {
|
||||
|
||||
data.value.isSubmit = !data.value.isSubmit;
|
||||
request(ASSESSMENT_SUBMIT, {
|
||||
targetId: taskId ? taskId : taskIds ? taskIds : 0, // 项目、路径图或开课的Id
|
||||
targetId: taskIds ? taskIds : 0, // 项目、路径图或开课的Id
|
||||
chapterOrStageId: chapterOrStageId ? chapterOrStageId : 0, // 关卡或者阶段Id 关卡Id不允许为空
|
||||
assessmentId: courseId,
|
||||
taskId: taskId ? taskId : taskIds ? taskIds : 0,
|
||||
taskId: taskIds ? taskIds : 0,
|
||||
type,
|
||||
result: JSON.stringify(data.value),
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user