fix:学员是否在任务中判断

This commit is contained in:
wyx
2023-03-30 11:25:32 +08:00
parent a40cb74bfb
commit 2b920ab8ed
11 changed files with 11 additions and 11 deletions

View File

@@ -250,7 +250,7 @@ const { data } = useRequest(
} else {
closeLoading();
console.log("获取路径图", e);
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -190,7 +190,7 @@ const { data } = useRequest(ACTIVITY, { activityId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -215,7 +215,7 @@ const { data } = useRequest(VOTE_DETAIL3, { voteId: courseId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -193,7 +193,7 @@ request(DISCUSS_LIST, {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -120,7 +120,7 @@ const { data } = useRequest(EVALUATION_DETAIL, { evaluationId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -69,7 +69,7 @@ request(EXTERNALEXAM, { externalId: courseId, type })
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -168,7 +168,7 @@ const { data } =
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
console.log("作业判断", e);
router.push({
path: "/notpath",

View File

@@ -292,7 +292,7 @@ const { data } = useRequest(
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -259,7 +259,7 @@ const { data } = useRequest(TASK_BROADCAST_DETAIL, { liveId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -93,7 +93,7 @@ const { data } = useRequest(LINK_DETAILS, { linkId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});

View File

@@ -261,7 +261,7 @@ useRequest(PROJECT_PROCESS, { projectId: projectId, type }, (e) => {
path: "/loseefficacy",
});
} else {
if (e.code === 6) {
if (res.code === 6) {
router.push({
path: "/notpath",
});