mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-08 02:16:47 +08:00
Merge branch 'zcwy-zsx' into dev_master
This commit is contained in:
@@ -301,6 +301,11 @@ const { data } = useRequest(
|
|||||||
chapterOrStageId,
|
chapterOrStageId,
|
||||||
targetId: infoId ? infoId : 0,
|
targetId: infoId ? infoId : 0,
|
||||||
},(res)=>{
|
},(res)=>{
|
||||||
|
if (res.code === 6) {
|
||||||
|
router.push({
|
||||||
|
path: "/NotProject2",
|
||||||
|
});
|
||||||
|
}
|
||||||
if(res.data.projectInfoList.length == 0){
|
if(res.data.projectInfoList.length == 0){
|
||||||
res.data.projectInfoList=[
|
res.data.projectInfoList=[
|
||||||
{teacherName: '', courseName: '', projectName: ''}
|
{teacherName: '', courseName: '', projectName: ''}
|
||||||
@@ -309,11 +314,7 @@ const { data } = useRequest(
|
|||||||
}else{
|
}else{
|
||||||
res.data.falseS = true
|
res.data.falseS = true
|
||||||
}
|
}
|
||||||
if (res.code === 6) {
|
},
|
||||||
router.push({
|
|
||||||
path: "/NotProject2",
|
|
||||||
});
|
|
||||||
} },
|
|
||||||
(e) => {
|
(e) => {
|
||||||
useRequest(
|
useRequest(
|
||||||
checkStudentExist,
|
checkStudentExist,
|
||||||
@@ -426,7 +427,7 @@ onMounted(() => {
|
|||||||
result: JSON.stringify(data.value),
|
result: JSON.stringify(data.value),
|
||||||
beginTime: answerTime,
|
beginTime: answerTime,
|
||||||
})
|
})
|
||||||
if (res.data.isSubmit) {
|
if (res.code == 200 && res.data.isSubmit) {
|
||||||
open();
|
open();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user