feat:提交评估传递项目/路径id及其阶段/路径id用于区分不同评估

This commit is contained in:
wuyx
2022-12-23 18:31:41 +08:00
parent bb6ec4c447
commit b171871d6f
5 changed files with 379 additions and 413 deletions

View File

@@ -375,8 +375,8 @@ function introductionPro() {
dialogVisible.value = true;
}
function toFinish(d, sName, chapterId) {
console.log("dddddd", d, sName);
function toFinish(d, sName, chapterOrStageId) {
console.log("dddddd", d, sName, chapterOrStageId);
// 作业过期判断
if (d.type == 4) {
let date1 = new Date(d.endTime).getTime();
@@ -472,6 +472,7 @@ function toFinish(d, sName, chapterId) {
courseId: d.courseId,
pName: data.value.name,
sName,
chapterOrStageId
},
});
} else if (typeof types.value.path[d.type] === "function") {