mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
评估项目外人员扫码报错进一步处理
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,23 @@ const { data } = useRequest(
|
||||
type,
|
||||
chapterOrStageId,
|
||||
targetId: infoId ? infoId : 0,
|
||||
},(res)=>{
|
||||
if (res.code === 6) {
|
||||
},
|
||||
(e) => {
|
||||
if (e.code === 6) {
|
||||
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,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user