|
@@ -35,6 +35,9 @@ onMounted(() => {
|
|
planId.value = route.params.planId as string
|
|
planId.value = route.params.planId as string
|
|
planName.value = route.params.planName as string
|
|
planName.value = route.params.planName as string
|
|
type.value = route.params.type as string
|
|
type.value = route.params.type as string
|
|
|
|
+ if (flag.value == 'SHAPE_RANDOM') {
|
|
|
|
+ isPass.value = userInfoStore().isPass
|
|
|
|
+ }
|
|
if (flag.value == 'ETB01') {
|
|
if (flag.value == 'ETB01') {
|
|
isPass.value = userInfoStore().isPassETB01
|
|
isPass.value = userInfoStore().isPassETB01
|
|
}
|
|
}
|
|
@@ -104,6 +107,14 @@ const startCog = (val: number) => {
|
|
// name: 'shapeIntuitionRandom',
|
|
// name: 'shapeIntuitionRandom',
|
|
// params: { planId: planId.value, planName: planName.value, flag: flag.value, flagName: cognizeDetail.value.name, formalTest: val }
|
|
// params: { planId: planId.value, planName: planName.value, flag: flag.value, flagName: cognizeDetail.value.name, formalTest: val }
|
|
// })
|
|
// })
|
|
|
|
+ //跳转到鸭蛋
|
|
|
|
+ if (flag.value == 'SHAPE_RANDOM') {
|
|
|
|
+ router.push(
|
|
|
|
+ {
|
|
|
|
+ name: 'shapeIntuitionRandom',
|
|
|
|
+ params: { planId: planId.value, planName: planName.value, flag: flag.value, flagName: cognizeDetail.value.name, formalTest: val }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
|
|
//更改到 跳转到人脸表情这里的认知任务
|
|
//更改到 跳转到人脸表情这里的认知任务
|
|
if (flag.value == 'ETB01') {
|
|
if (flag.value == 'ETB01') {
|
|
@@ -286,6 +297,7 @@ onUnmounted(() => {
|
|
<!-- <source src="../assets/cognize/Stroop.mp4" type="video/mp4"> -->
|
|
<!-- <source src="../assets/cognize/Stroop.mp4" type="video/mp4"> -->
|
|
<source src="../assets/cognize/Stroop.mp4" v-if="flag == 'EMOTION_STROOP'"
|
|
<source src="../assets/cognize/Stroop.mp4" v-if="flag == 'EMOTION_STROOP'"
|
|
type="video/mp4">
|
|
type="video/mp4">
|
|
|
|
+ <source src="../assets/cognize/yd.mp4" v-if="flag == 'SHAPE_RANDOM'" type="video/mp4">
|
|
<source src="../assets/cognize/dt.mp4" v-if="flag == 'FDOT'" type="video/mp4">
|
|
<source src="../assets/cognize/dt.mp4" v-if="flag == 'FDOT'" type="video/mp4">
|
|
<!-- <source src="movie.ogg" type="video/ogg"> -->
|
|
<!-- <source src="movie.ogg" type="video/ogg"> -->
|
|
您的浏览器不支持 video 标签。
|
|
您的浏览器不支持 video 标签。
|