mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 17:36:45 +08:00
评估页面新增跳转
This commit is contained in:
@@ -302,6 +302,11 @@ const { data } = useRequest(
|
|||||||
targetId: infoId ? infoId : 0,
|
targetId: infoId ? infoId : 0,
|
||||||
},
|
},
|
||||||
(e) => {
|
(e) => {
|
||||||
|
if (e.code === 9) {
|
||||||
|
router.push({
|
||||||
|
path: "/NotProject3",
|
||||||
|
});
|
||||||
|
}
|
||||||
if (e.code === 10) {
|
if (e.code === 10) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/NotProject2",
|
path: "/NotProject2",
|
||||||
|
|||||||
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>
|
||||||
Reference in New Issue
Block a user