fix:外链外部考试详情样式

This commit is contained in:
wyx
2023-02-20 21:07:56 +08:00
parent db4c727b1b
commit 3b62fa0220
3 changed files with 9 additions and 7 deletions

View File

@@ -629,7 +629,7 @@ async function toFinish(d, sName, chapterOrStageId) {
router.push({
path: '/externalexamination',
query: {
id: d.projectTaskId,
id: d.id,
type: PROJECT,
infoId: data.value.projectId,
courseId: d.courseId,
@@ -685,7 +685,7 @@ async function toFinish(d, sName, chapterOrStageId) {
router.push({
path: '/evaluation',
query: {
id: d.projectTaskId,
id: d.id,
type: PROJECT,
infoId: data.value.projectId,
courseId: d.courseId,
@@ -734,14 +734,14 @@ async function toFinish(d, sName, chapterOrStageId) {
return;
}
//更新学员当前任务
await request(UPDATE_CURRENT_TASK, {id: d.projectTaskId, type: PROJECT, pid: projectId, name: d.name})
await request(UPDATE_CURRENT_TASK, {id: d.id, type: PROJECT, pid: projectId, name: d.name})
if (d.type == 3 || d.type == 7) {
d.status !== 1 && await request(STUDY_RECORD, {
studentId: userInfo.value.projectId,
targetId: data.value.routerId,
logo: PROJECT,
stageOrChapterId: chapterOrStageId,
taskId: d.projectTaskId,
taskId: d.id,
taskType: d.type,
});
// 此处判断外链跳转详情界面
@@ -749,7 +749,7 @@ async function toFinish(d, sName, chapterOrStageId) {
router.push({
path: '/outerchain',
query: {
id: d.projectTaskId,
id: d.id,
type: PROJECT,
infoId: data.value.projectId,
courseId: d.courseId,
@@ -768,7 +768,7 @@ async function toFinish(d, sName, chapterOrStageId) {
TASK_TYPES.path[d.type] && TASK_TYPES.path[d.type].startsWith("/") && router.push({
path: TASK_TYPES.path[d.type],
query: {
id: d.projectTaskId,
id: d.id,
type: PROJECT,
infoId: data.value.projectId,
courseId: d.courseId,
@@ -808,7 +808,7 @@ function downloadFile(url) {
function continueLearn(lastLearnedId) {
data.value.stageProcessList.forEach(stage => {
stage?.taskProcessList?.forEach(d => {
if (d.projectTaskId == lastLearnedId) {
if (d.id == lastLearnedId) {
toFinish(d, stage.stageName, stage.stageId)
}
})

View File

@@ -1,4 +1,5 @@
<template>
<div style=" background: #0078fc;height: 150px;width: 100%;position: absolute;top: 0;z-index:-9999;"></div>
<div class="moreactive" style="padding: 30px">
<!-- 面包屑导航 -->
<div class="crumb">

View File

@@ -1,4 +1,5 @@
<template>
<div style=" background: #0078fc;height: 150px;width: 100%;position: absolute;top: 0;z-index:-9999;"></div>
<div class="moreactive" style="padding: 30px">
<!-- 面包屑导航 -->
<div class="crumb">