mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 17:36:45 +08:00
@@ -424,6 +424,7 @@ function toSurvery() {
|
|||||||
chapterOrStageId: 0,
|
chapterOrStageId: 0,
|
||||||
sName: data.value.planDto.name,
|
sName: data.value.planDto.name,
|
||||||
type: 3,
|
type: 3,
|
||||||
|
isSubmitTrue:data.value.isSurvery
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
<div class="Investigat">
|
<div class="Investigat">
|
||||||
<!-- <TitleHead text="【调研】管理者进阶腾飞班 - 培训阶段性调研"></TitleHead> -->
|
<!-- <TitleHead text="【调研】管理者进阶腾飞班 - 培训阶段性调研"></TitleHead> -->
|
||||||
<ReturnHead text="评估详情"></ReturnHead>
|
<ReturnHead text="评估详情"></ReturnHead>
|
||||||
|
<div class="header_wrap" v-if="data.projectInfoList&&type!=1">
|
||||||
|
<div v-if="level!=0">项目名称:{{ data.projectInfoList[0].projectName }}</div>
|
||||||
|
<div>开课名称:{{ data.projectInfoList[0].courseName }}</div>
|
||||||
|
<div>培训讲师:{{ data.projectInfoList.map(item => item.teacherName).join(',') }}</div>
|
||||||
|
</div>
|
||||||
<div class="notice">
|
<div class="notice">
|
||||||
<div class="noticebox">
|
<div class="noticebox">
|
||||||
<div class="mani">
|
<div class="mani">
|
||||||
@@ -277,6 +282,8 @@ const {
|
|||||||
chapterOrStageId,
|
chapterOrStageId,
|
||||||
projectStatus,
|
projectStatus,
|
||||||
projectEndTime,
|
projectEndTime,
|
||||||
|
isSubmitTrue,
|
||||||
|
level
|
||||||
},
|
},
|
||||||
} = useRoute();
|
} = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
@@ -292,7 +299,12 @@ const { data } = useRequest(
|
|||||||
type,
|
type,
|
||||||
chapterOrStageId,
|
chapterOrStageId,
|
||||||
targetId: infoId ? infoId : 0,
|
targetId: infoId ? infoId : 0,
|
||||||
},
|
},(res)=>{
|
||||||
|
if (res.code === 6) {
|
||||||
|
router.push({
|
||||||
|
path: "/NotProject2",
|
||||||
|
});
|
||||||
|
} },
|
||||||
(e) => {
|
(e) => {
|
||||||
useRequest(
|
useRequest(
|
||||||
checkStudentExist,
|
checkStudentExist,
|
||||||
@@ -385,6 +397,10 @@ function orderArr(a, b) {
|
|||||||
return arrs;
|
return arrs;
|
||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
if(isSubmitTrue){
|
||||||
|
open();
|
||||||
|
return
|
||||||
|
}
|
||||||
useRequest(
|
useRequest(
|
||||||
ASSESSMENT_QUERY(courseId),{
|
ASSESSMENT_QUERY(courseId),{
|
||||||
id: courseId,
|
id: courseId,
|
||||||
@@ -455,6 +471,10 @@ function submit() {
|
|||||||
|
|
||||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.header_wrap{
|
||||||
|
padding: 15px 0 5px 10px;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
.clearfix:before,
|
.clearfix:before,
|
||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
content: " ";
|
content: " ";
|
||||||
@@ -469,7 +489,7 @@ function submit() {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
// margin-top: -17.5px;
|
// margin-top: -17.5px;
|
||||||
margin-top: 10px;
|
//margin-top: 10px;
|
||||||
.noticebox {
|
.noticebox {
|
||||||
// width: 90%;
|
// width: 90%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
21
src/views/nottask/NotProject2.vue
Normal file
21
src/views/nottask/NotProject2.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