mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-10 11:26:48 +08:00
修改面授课提示
This commit is contained in:
@@ -316,21 +316,6 @@ const { data } = useRequest(
|
|||||||
path: "/NotProject2",
|
path: "/NotProject2",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (e.code === 13) {
|
|
||||||
router.push({
|
|
||||||
path: "/NotPublish",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (e.code === 14) {
|
|
||||||
router.push({
|
|
||||||
path: "/AssessmentBegin",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (e.code === 15) {
|
|
||||||
router.push({
|
|
||||||
path: "/AssessmentEnd",
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if(e.data && e.data.projectInfoList.length == 0){
|
if(e.data && e.data.projectInfoList.length == 0){
|
||||||
e.data.projectInfoList=[
|
e.data.projectInfoList=[
|
||||||
{teacherName: '', courseName: '', projectName: ''}
|
{teacherName: '', courseName: '', projectName: ''}
|
||||||
@@ -342,7 +327,6 @@ const { data } = useRequest(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.code !== 13 && e.code !== 14 && e.code !== 15) {
|
|
||||||
useRequest(
|
useRequest(
|
||||||
checkStudentExist,
|
checkStudentExist,
|
||||||
{
|
{
|
||||||
@@ -353,7 +337,28 @@ const { data } = useRequest(
|
|||||||
},
|
},
|
||||||
(res) => {
|
(res) => {
|
||||||
console.log("判断任务是否删除", res);
|
console.log("判断任务是否删除", res);
|
||||||
if (res.code === 7) {
|
if(res.code === 13){
|
||||||
|
router.push({
|
||||||
|
path: "/NotPublish",
|
||||||
|
query: {
|
||||||
|
msg: res.message,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}else if(res.code === 14){
|
||||||
|
router.push({
|
||||||
|
path: "/AssessmentBegin",
|
||||||
|
query: {
|
||||||
|
msg: res.message,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}else if(res.code === 15){
|
||||||
|
router.push({
|
||||||
|
path: "/AssessmentEnd",
|
||||||
|
query: {
|
||||||
|
msg: res.message,
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}else if (res.code === 7) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/loseefficacy",
|
path: "/loseefficacy",
|
||||||
query: {
|
query: {
|
||||||
@@ -370,7 +375,6 @@ const { data } = useRequest(
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log("我是查询评估的参数", {
|
console.log("我是查询评估的参数", {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-result icon="error" title="评估异常" sub-title="评估未开始">
|
<el-result icon="error" title="评估异常" sub-title="项目未开始">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-result icon="error" title="评估异常" sub-title="评估已结束">
|
<el-result icon="error" title="评估异常" sub-title="项目已结束">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-result icon="error" title="评估异常" sub-title="面授课未发布">
|
<el-result icon="error" title="评估异常" sub-title="项目未发布">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-result icon="error" title="签到异常" sub-title="面授课未发布">
|
<el-result icon="error" title="签到异常" sub-title="项目未发布">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
13
src/views/sign/signTimeProjectEnd.vue
Normal file
13
src/views/sign/signTimeProjectEnd.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<el-result icon="error" title="签到异常" sub-title="项目已结束">
|
||||||
|
<template #extra>
|
||||||
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
|
</template>
|
||||||
|
</el-result>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
function toIndex() {
|
||||||
|
window.location.href =
|
||||||
|
window.location.protocol + import.meta.env.VITE_BOE_HOME;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
13
src/views/sign/signTimeProjectNotStarted.vue
Normal file
13
src/views/sign/signTimeProjectNotStarted.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<el-result icon="error" title="签到异常" sub-title="项目未开始">
|
||||||
|
<template #extra>
|
||||||
|
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||||
|
</template>
|
||||||
|
</el-result>
|
||||||
|
</template>
|
||||||
|
<script setup>
|
||||||
|
function toIndex() {
|
||||||
|
window.location.href =
|
||||||
|
window.location.protocol + import.meta.env.VITE_BOE_HOME;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user