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:
@@ -180,10 +180,10 @@
|
|||||||
<div
|
<div
|
||||||
style="display: flex; justify-content: center; width: 100%"
|
style="display: flex; justify-content: center; width: 100%"
|
||||||
v-if="
|
v-if="
|
||||||
data.essayQuestionVoList?.length ||
|
data?.essayQuestionVoList?.length ||
|
||||||
data.multipleStemVoList?.length ||
|
data?.multipleStemVoList?.length ||
|
||||||
data.scoringQuestionVoList?.length ||
|
data?.scoringQuestionVoList?.length ||
|
||||||
data.singleStemVoList?.length
|
data?.singleStemVoList?.length
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@@ -300,22 +300,23 @@ const { data } = useRequest(
|
|||||||
type,
|
type,
|
||||||
chapterOrStageId,
|
chapterOrStageId,
|
||||||
targetId: infoId ? infoId : 0,
|
targetId: infoId ? infoId : 0,
|
||||||
},(res)=>{
|
},
|
||||||
if (res.code === 6) {
|
(e) => {
|
||||||
|
if (e.code === 6) {
|
||||||
router.push({
|
router.push({
|
||||||
path: "/NotProject2",
|
path: "/NotProject2",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if(res.data.projectInfoList.length == 0){
|
if(e.data && e.data.projectInfoList.length == 0){
|
||||||
res.data.projectInfoList=[
|
e.data.projectInfoList=[
|
||||||
{teacherName: '', courseName: '', projectName: ''}
|
{teacherName: '', courseName: '', projectName: ''}
|
||||||
]
|
]
|
||||||
res.data.falseS = false
|
e.data.falseS = false
|
||||||
}else{
|
}else{
|
||||||
res.data.falseS = true
|
if(e.data){
|
||||||
|
e.data.falseS = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
(e) => {
|
|
||||||
useRequest(
|
useRequest(
|
||||||
checkStudentExist,
|
checkStudentExist,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user