mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 11:26:49 +08:00
fix:外链外部考试详情样式
This commit is contained in:
@@ -629,7 +629,7 @@ async function toFinish(d, sName, chapterOrStageId) {
|
|||||||
router.push({
|
router.push({
|
||||||
path: '/externalexamination',
|
path: '/externalexamination',
|
||||||
query: {
|
query: {
|
||||||
id: d.projectTaskId,
|
id: d.id,
|
||||||
type: PROJECT,
|
type: PROJECT,
|
||||||
infoId: data.value.projectId,
|
infoId: data.value.projectId,
|
||||||
courseId: d.courseId,
|
courseId: d.courseId,
|
||||||
@@ -685,7 +685,7 @@ async function toFinish(d, sName, chapterOrStageId) {
|
|||||||
router.push({
|
router.push({
|
||||||
path: '/evaluation',
|
path: '/evaluation',
|
||||||
query: {
|
query: {
|
||||||
id: d.projectTaskId,
|
id: d.id,
|
||||||
type: PROJECT,
|
type: PROJECT,
|
||||||
infoId: data.value.projectId,
|
infoId: data.value.projectId,
|
||||||
courseId: d.courseId,
|
courseId: d.courseId,
|
||||||
@@ -734,14 +734,14 @@ async function toFinish(d, sName, chapterOrStageId) {
|
|||||||
return;
|
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) {
|
if (d.type == 3 || d.type == 7) {
|
||||||
d.status !== 1 && await request(STUDY_RECORD, {
|
d.status !== 1 && await request(STUDY_RECORD, {
|
||||||
studentId: userInfo.value.projectId,
|
studentId: userInfo.value.projectId,
|
||||||
targetId: data.value.routerId,
|
targetId: data.value.routerId,
|
||||||
logo: PROJECT,
|
logo: PROJECT,
|
||||||
stageOrChapterId: chapterOrStageId,
|
stageOrChapterId: chapterOrStageId,
|
||||||
taskId: d.projectTaskId,
|
taskId: d.id,
|
||||||
taskType: d.type,
|
taskType: d.type,
|
||||||
});
|
});
|
||||||
// 此处判断外链跳转详情界面
|
// 此处判断外链跳转详情界面
|
||||||
@@ -749,7 +749,7 @@ async function toFinish(d, sName, chapterOrStageId) {
|
|||||||
router.push({
|
router.push({
|
||||||
path: '/outerchain',
|
path: '/outerchain',
|
||||||
query: {
|
query: {
|
||||||
id: d.projectTaskId,
|
id: d.id,
|
||||||
type: PROJECT,
|
type: PROJECT,
|
||||||
infoId: data.value.projectId,
|
infoId: data.value.projectId,
|
||||||
courseId: d.courseId,
|
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({
|
TASK_TYPES.path[d.type] && TASK_TYPES.path[d.type].startsWith("/") && router.push({
|
||||||
path: TASK_TYPES.path[d.type],
|
path: TASK_TYPES.path[d.type],
|
||||||
query: {
|
query: {
|
||||||
id: d.projectTaskId,
|
id: d.id,
|
||||||
type: PROJECT,
|
type: PROJECT,
|
||||||
infoId: data.value.projectId,
|
infoId: data.value.projectId,
|
||||||
courseId: d.courseId,
|
courseId: d.courseId,
|
||||||
@@ -808,7 +808,7 @@ function downloadFile(url) {
|
|||||||
function continueLearn(lastLearnedId) {
|
function continueLearn(lastLearnedId) {
|
||||||
data.value.stageProcessList.forEach(stage => {
|
data.value.stageProcessList.forEach(stage => {
|
||||||
stage?.taskProcessList?.forEach(d => {
|
stage?.taskProcessList?.forEach(d => {
|
||||||
if (d.projectTaskId == lastLearnedId) {
|
if (d.id == lastLearnedId) {
|
||||||
toFinish(d, stage.stageName, stage.stageId)
|
toFinish(d, stage.stageName, stage.stageId)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<template>
|
<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="moreactive" style="padding: 30px">
|
||||||
<!-- 面包屑导航 -->
|
<!-- 面包屑导航 -->
|
||||||
<div class="crumb">
|
<div class="crumb">
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<template>
|
<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="moreactive" style="padding: 30px">
|
||||||
<!-- 面包屑导航 -->
|
<!-- 面包屑导航 -->
|
||||||
<div class="crumb">
|
<div class="crumb">
|
||||||
|
|||||||
Reference in New Issue
Block a user