feat:增加投票模块提交查询及时间判断

This commit is contained in:
wyx
2023-02-01 21:44:32 +08:00
parent 5e8a11feaf
commit f5eddf6236
6 changed files with 742 additions and 36 deletions

View File

@@ -526,6 +526,23 @@ function toFinish(d, sName, chapterOrStageId) {
stageOrChapterId: chapterOrStageId,
taskId: d.projectTaskId,
});
// 此处判断外链跳转详情界面
if(d.type==7){
router.push({
path: '/outerchain',
query: {
id: d.projectTaskId,
type: PROJECT,
infoId: data.value.projectId,
courseId: d.courseId,
pName: data.value.name,
sName,
chapterOrStageId,
exname: d.name, // 外链名称
},
});
return
}
}
if (typeof types.value.path[d.type] === "string") {
@@ -544,6 +561,7 @@ function toFinish(d, sName, chapterOrStageId) {
pName: data.value.name,
sName,
chapterOrStageId,
btype: 1
},
});
} else if (typeof types.value.path[d.type] === "function") {