mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-07 01:46:45 +08:00
Merge branch 'zcwy_1008_sign' into dev_master
This commit is contained in:
@@ -180,10 +180,10 @@
|
||||
<div
|
||||
style="display: flex; justify-content: center; width: 100%"
|
||||
v-if="
|
||||
data.essayQuestionVoList?.length ||
|
||||
data.multipleStemVoList?.length ||
|
||||
data.scoringQuestionVoList?.length ||
|
||||
data.singleStemVoList?.length
|
||||
data?.essayQuestionVoList?.length ||
|
||||
data?.multipleStemVoList?.length ||
|
||||
data?.scoringQuestionVoList?.length ||
|
||||
data?.singleStemVoList?.length
|
||||
"
|
||||
>
|
||||
<div
|
||||
@@ -300,22 +300,28 @@ const { data } = useRequest(
|
||||
type,
|
||||
chapterOrStageId,
|
||||
targetId: infoId ? infoId : 0,
|
||||
},(res)=>{
|
||||
if (res.code === 6) {
|
||||
},
|
||||
(e) => {
|
||||
if (e.code === 9) {
|
||||
router.push({
|
||||
path: "/NotProject3",
|
||||
});
|
||||
}
|
||||
if (e.code === 10) {
|
||||
router.push({
|
||||
path: "/NotProject2",
|
||||
});
|
||||
}
|
||||
if(res.data.projectInfoList.length == 0){
|
||||
res.data.projectInfoList=[
|
||||
if(e.data && e.data.projectInfoList.length == 0){
|
||||
e.data.projectInfoList=[
|
||||
{teacherName: '', courseName: '', projectName: ''}
|
||||
]
|
||||
res.data.falseS = false
|
||||
e.data.falseS = false
|
||||
}else{
|
||||
res.data.falseS = true
|
||||
if(e.data){
|
||||
e.data.falseS = true
|
||||
}
|
||||
}
|
||||
},
|
||||
(e) => {
|
||||
useRequest(
|
||||
checkStudentExist,
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<template>
|
||||
<el-result icon="success" title="您不是此项目学员" sub-title="请联系管理员">
|
||||
<el-result icon="success" title="评估异常" sub-title="您不是此项目学员">
|
||||
<template #extra>
|
||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||
</template>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<template>
|
||||
<el-result icon="error" title="您不是此项目学员" sub-title="请联系管理员">
|
||||
<el-result icon="error" title="评估异常" sub-title="暂无学习权限">
|
||||
<template #extra>
|
||||
<el-button type="primary" @click="toIndex">返回首页</el-button>
|
||||
</template>
|
||||
|
||||
21
src/views/nottask/NotProject3.vue
Normal file
21
src/views/nottask/NotProject3.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2023-03-01 20:41:06
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2023-03-09 18:33:51
|
||||
* @FilePath: /stu_h5/src/views/nottask/NotTask.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<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>
|
||||
21
src/views/sign/noPermissionAtPresent.vue
Normal file
21
src/views/sign/noPermissionAtPresent.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2023-03-09 17:56:39
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2023-03-17 17:41:43
|
||||
* @FilePath: /stu_h5/src/views/sign/signTime.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<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>
|
||||
21
src/views/sign/signTimeNotEnded.vue
Normal file
21
src/views/sign/signTimeNotEnded.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2023-03-09 17:56:39
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2023-03-17 17:41:43
|
||||
* @FilePath: /stu_h5/src/views/sign/signTime.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<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>
|
||||
21
src/views/sign/signTimeNotStarted.vue
Normal file
21
src/views/sign/signTimeNotStarted.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--
|
||||
* @Author: lixg lixg@dongwu-inc.com
|
||||
* @Date: 2023-03-09 17:56:39
|
||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
||||
* @LastEditTime: 2023-03-17 17:41:43
|
||||
* @FilePath: /stu_h5/src/views/sign/signTime.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
<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