Browse Source

常规视康训练执行指令提交

周玉佂 1 week ago
parent
commit
e24c61ec06

+ 238 - 140
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/execute/index.vue

@@ -1,47 +1,116 @@
 <template>
   <!--  <my-full-screen-dialog ref="openDialogRef" close-color="#0F4DD8" @close-dialog="handleClose">-->
-  <div class="adl-container w-full h-full flex-center text-[#134FA4]">
+  <div v-if="isMainWin" class="adl-container w-full h-full flex-center text-[#134FA4]">
+    <div class="center-area w-[90%] h-[90%]">
+      <div
+        class="child-container bg-[#ffffff] bor-radius-[10] w-[1360px] h-[860px] mt-[50px] flex flex-col justify-center items-center gap-y-[30px] absolute left-[500px]"
+      >
+        <h1 class="text-[32px] w-[95%] absolute top-[-10px] left-[20px]">
+          屏幕上会出现指令,请你根据指令做出相应动作。
+        </h1>
+        <div class="bg-1">
+          <div class="bg-1 text-[68px] w-[80%] absolute top-[50px] left-[25%] color-[#333333]">
+            <div class="w-[100%] h-[290px] text-[66px]">
+              {{ onceData.question }}
+            </div>
+          </div>
+        </div>
+        <div
+          id="myButton"
+          class="divMain absolute left-[165px] top-[305px] flex flex-wrap flex-row gap-x-[20px] mt-[50px] w-[1100px] h-[300px]"
+          :class="checkItems && checkItems.length < 3 ? 'flex-center' : ''"
+        >
+          <div v-for="(it, index) in checkItems" :key="it">
+            <div class="text-[80px] w-[550px] h-[150px] flex flex-wrap flex-row justify-between">
+              <!--              <div class="w-[450px] sab ml-[115px] mt-[30px] flex flex-wrap flex-row justify-between">-->
+              <div
+                class="`bg-[#ee8418] w-[120px] h-[120px] flex-center absolute `"
+                :class="index === flagFlag ? `active ${it} ` : `normal ${it} `"
+                @click="checkItemFn(it, isMainWin ? 1 : 0)"
+              ></div>
+              <!--              :class="[index === flagFlag ? 'active ' : 'normal']"-->
+              <!--              <span class="color-[#000] fw-700 line-height-[155px]">{{ chengList[index] }}.</span-->
+              <!--              ><span class="color-[#333333] line-height-[155px] fw-700 mr-[60px]"> {{ it }}</span>-->
+            </div>
+            <el-image
+              v-if="confirmation"
+              src="/static/image/cognitiveAbility/SpeechTraining/next.png"
+              fit="contain"
+              class="!absolute w-[290px] h-[90px] bottom-[-170px] left-[390px] cursor-pointer hover:scale-101"
+              @click="handleClick(it, index, isMainWin ? 1 : 0)"
+            />
+            <!--            <el-image-->
+            <!--              v-if="!confirmation"-->
+            <!--              src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"-->
+            <!--              fit="contain"-->
+            <!--              class="!absolute w-[290px] h-[90px] bottom-[-170px] left-[390px] cursor-pointer hover:scale-101"-->
+            <!--              @click="handleClick(it, index, isMainWin ? 1 : 0)"-->
+            <!--            />-->
+          </div>
+          <!--          <div v-for="(it, index) in checkItems" :key="it">-->
+          <!--            <div class="text-[80px] w-[350px] flex flex-wrap flex-row justify-between">-->
+          <!--              &lt;!&ndash;              <div class="w-[450px] sab ml-[115px] mt-[30px] flex flex-wrap flex-row justify-between">&ndash;&gt;-->
+          <!--              <div-->
+          <!--                class="bg-[#000] w-[120px] h-[120px] flex-center"-->
+          <!--                :class="[index === flagFlag ? 'active' : 'normal']"-->
+          <!--                @click="checkItemFn(it, isMainWin ? 1 : 0)"-->
+          <!--              ></div>-->
+          <!--              <span class="color-[#000] fw-700 line-height-[155px]">{{ chengList[index] }}.</span-->
+          <!--              ><span class="color-[#333333] line-height-[155px] fw-700 mr-[60px]"> {{ it }}</span>-->
+          <!--            </div>-->
+          <!--            <el-image-->
+          <!--              v-if="confirmation"-->
+          <!--              src="/static/image/cognitiveAbility/SpeechTraining/next.png"-->
+          <!--              fit="contain"-->
+          <!--              class="!absolute w-[290px] h-[90px] bottom-[-170px] left-[390px] cursor-pointer hover:scale-101"-->
+          <!--              @click="handleClick(it, index, isMainWin ? 1 : 0)"-->
+          <!--            />-->
+          <!--          </div>-->
+        </div>
+      </div>
+    </div>
+  </div>
+  <div v-else class="adl-container w-full h-full flex-center text-[#134FA4]">
     <div class="center-area w-[90%] h-[90%]">
       <div
         class="child-container bg-[#ffffff] bor-radius-[10] w-[1360px] h-[860px] mt-[100px] flex flex-col justify-center items-center gap-y-[30px] absolute left-[500px]"
       >
         <div class="bg-1">
-          <div class="bg-1 text-[68px] w-[80%] absolute top-[30px] left-[550px] color-[#333333]">
-            <div class="question-img w-[290px] h-[290px] text-[186px]">
+          <div class="bg-1 text-[68px] w-[80%] absolute top-[30px] left-[25%] color-[#333333]">
+            <div class="w-[100%] h-[290px] text-[66px]">
               {{ onceData.question }}
             </div>
           </div>
         </div>
         <div
           id="myButton"
-          class="divMain absolute left-[165px] top-[305px] flex flex-wrap flex-row gap-x-[20px] mt-[50px] w-[1100px]"
-          :class="onceData.choices && onceData.choices.length < 3 ? 'flex-center' : ''"
+          class="divMain absolute left-[165px] top-[305px] flex flex-wrap flex-row gap-x-[20px] mt-[50px] w-[1100px] h-[300px]"
+          :class="checkItems && checkItems.length < 3 ? 'flex-center' : ''"
         >
-          <div v-for="(it, index) in onceData.choices" :key="it">
-            <div class="text-[80px] w-[350px] flex flex-wrap flex-row justify-between">
+          <div v-for="(it, index) in checkItems" :key="it">
+            <div class="text-[80px] w-[550px] h-[150px] flex flex-wrap flex-row justify-between">
               <!--              <div class="w-[450px] sab ml-[115px] mt-[30px] flex flex-wrap flex-row justify-between">-->
               <div
-                class="bg-[#000] w-[120px] h-[120px] flex-center"
-                :class="[it.active ? 'active' : 'normal']"
-                @click="checkItemFn(it, index)"
+                class="`bg-[#ee8418] w-[120px] h-[120px] flex-center absolute `"
+                :class="index === flagFlag ? `active ${it} ` : `normal ${it} `"
+                @click="checkItemFn(it, isMainWin ? 1 : 0)"
               ></div>
-              <span class="color-[#000] fw-700 line-height-[155px]">{{ chengList[index] }}.</span
-              ><span class="color-[#333333] line-height-[155px] fw-700 mr-[60px]"> {{ it.name }}</span>
+              <!--              :class="[index === flagFlag ? 'active ' : 'normal']"-->
+              <!--              <span class="color-[#000] fw-700 line-height-[155px]">{{ chengList[index] }}.</span-->
+              <!--              ><span class="color-[#333333] line-height-[155px] fw-700 mr-[60px]"> {{ it }}</span>-->
             </div>
-            <!--            </div>-->
-            <div
-              class="question-imgStart w-[290px] h-[90px] text-[186px] absolute bottom-[-170px] left-[405px]"
-              @click="handleClick(it, index)"
-            ></div>
+            <el-image
+              v-if="!confirmation"
+              src="/static/image/cognitiveAbility/SpeechTraining/verify-bg.png"
+              fit="contain"
+              class="!absolute w-[290px] h-[90px] bottom-[-170px] left-[390px] cursor-pointer hover:scale-101"
+              @click="handleClick(it, index, isMainWin ? 1 : 0)"
+            />
           </div>
         </div>
       </div>
     </div>
   </div>
-
-  <!--  <div class="dialog-footer text-right absolute bottom-[0px] right-[0px]">-->
-  <!--    <el-button type="text" @click="handleSubmit">结束测验</el-button>-->
-  <!--  </div>-->
   <VoiceImp ref="VoiceImpRef" />
   <!--  </my-full-screen-dialog>-->
 </template>
@@ -54,7 +123,7 @@
  * 编写者: JutarryWu
  */
 import { getCurrentInstance, ref } from 'vue'
-import { getRandomInt } from '@/utils'
+import { getRandomInt, isJSON } from '@/utils'
 import AchievementAPI from '@/api/tester/rehabilitation/training/achievement'
 import { RTPlanMgrQuery } from '@/api/tester/rehabilitation/training/plain'
 import { useUserStore } from '@/store'
@@ -68,18 +137,18 @@ interface LevelData {
 }
 interface OnceItem {
   question: string
-  active: boolean
-  questions: string[]
   choices: string[]
   answer: string
+  correct: string
+  userAnswer: string
 }
-const gameData = ref(Topics as OnceItem[][])
+const gameData = ref(Topics as OnceItem[])
 // 当前游戏等级
 let currentLevel = 0
 // 得分列表
 const scoreList = [10, 30, 60, 100, 150, 210]
 
-const chengList = ref(['1', '2', '3', '4'])
+const chengList = ref(['1', '2', '3', '4', '5', '6', '7', '8', '9'])
 // 响应开始时间戳
 let responseStartTime = 0
 // 游戏收集的数据
@@ -90,11 +159,10 @@ let gameStartTime_record = 0
 // 游戏结束时间
 let gameEndTime = 0
 // 最大游戏等级 6
-const maxLevel = 2
+const maxLevel = 0
 // 当前试次
 let currentNumber = 0
 // 每个等级的最大试次 15
-const maxNumber = 3
 let timerId: any
 const $emits = defineEmits(['close'])
 const openDialogRef = ref()
@@ -103,89 +171,78 @@ const VoiceImpRef = ref()
 const handleClose = (done: () => void) => {
   $emits('close', '')
 }
-
+const isMainWin = ref(false)
 const instance = getCurrentInstance()
 const planInfo = ref<RTPlanMgrQuery>()
 const userStore = useUserStore()
 // 当前试次的游戏图片数据
 const onceData = ref({} as OnceItem)
-const handleClick = (answer: string) => {
-  console.log(answer)
-  const correct = false
-  // const correct = onceData.value.answer === answer
-  // VoiceImpRef.value.videoPlay('click')
-  // setTimeout(() => {
-  //   if (correct) {
-  //     console.log(VoiceImpRef.value, 'hbbbbbbbbbbbbbbbbbbbbbbbbbdf=============>')
-  //     if (VoiceImpRef.value) {
-  //       VoiceImpRef.value.videoPlay('right')
-  //     }
-  //   } else {
-  //     if (VoiceImpRef.value) {
-  //       VoiceImpRef.value.videoPlay('error')
-  //     }
-  //   }
-  // }, 200)
-  // 收集当前试次的用户操作数据
-  gameList.push({
-    level: currentLevel,
-    correct: correct,
-    score: correct ? scoreList[currentLevel] : 0,
-    responseEndTime: performance.now(),
-    responseStartTime: responseStartTime
-  })
-  console.log(gameList)
+const checkItems = ref([])
+const sumbitData = ref([])
 
+const confirmation = ref(false)
+const flagFlag = ref(-1) //选中标志
+const handleClick = (answer: string, index, flag) => {
   // 开始下一次
-  nextOnce()
+  if (flag === 1) {
+    nextOnce()
+    confirmation.value = false
+    flagFlag.value = -1
+    localStorage.setItem('two-win-Visual-item-confirmation', 'false')
+    localStorage.setItem('two-win-Visual-item-next', 'true')
+  } else {
+    console.log(answer, '用户操作数据', index, flag)
+    const correct = false
+    confirmation.value = true
+    localStorage.setItem('two-win-Visual-item-confirmation', 'true')
+    // const correct = onceData.value.answer === answer
+    // VoiceImpRef.value.videoPlay('click')
+    // setTimeout(() => {
+    //   if (correct) {
+    //     console.log(VoiceImpRef.value, 'hbbbbbbbbbbbbbbbbbbbbbbbbbdf=============>')
+    //     if (VoiceImpRef.value) {
+    //       VoiceImpRef.value.videoPlay('right')
+    //     }
+    //   } else {
+    //     if (VoiceImpRef.value) {
+    //       VoiceImpRef.value.videoPlay('error')
+    //     }
+    //   }
+    // }, 200)
+    console.log(onceData.value, 'onceData.value')
+    let params = {
+      question: '接下来会给你听一些声音,请在这些声音中选择出屏幕中呈现的词语',
+      choices: ['雷电', '狗叫', '葡萄'],
+      correct: '葡萄',
+      userAnswer: ''
+    }
+    // 收集当前试次的用户操作数据
+    gameList.push(params)
+    console.log(gameList)
+    localStorage.setItem('two-win-Visual-item-submitList', JSON.stringify(gameList))
+  }
 }
-const checkItemFn = (item: any, index: number) => {
+const checkItemFn = (item: any, flag: number = 0) => {
   // if (modeSelect.value === 0) {
-  onceData.value.choices.forEach((item2) => {
-    item2.active = false
+  console.log(item, '参数')
+  if (flag === 1) return
+  confirmation.value = false
+  let tempIndex = -1
+  console.log('变颜色')
+  checkItems.value.forEach((item2, index) => {
+    if (item2 === item) tempIndex = index
   })
-  //   VoiceImpRef.value.videoPlay()
-  console.log(item)
-  item.active = !item.active
-  //   itemActive.value = item.key
-  // }
+  flagFlag.value = tempIndex
+  if (!isMainWin.value) {
+    localStorage.setItem('two-win-Visual-item-List', JSON.stringify(item))
+    localStorage.setItem('two-win-Visual-item-confirmation', 'false')
+  }
 }
 const nextOnce = () => {
-  console.log(onceData.value.choices, 'onceData392')
   gameEndTime = performance.now()
   const gameDuration = gameEndTime - gameStartTime
-  console.log(gameDuration, 'gameDuration')
-  console.log(gameEndTime, 'gameEndTime')
-  console.log(gameStartTime, 'gameStartTime')
-  const currentLevelList = gameList.filter((it) => it.level === currentLevel)
-  // 当前等级进行 10 个试次以上时,计算正确率
-  if (currentLevelList.length >= 3) {
-    // 当前等级正确试次个数
-    const count = currentLevelList.reduce((acc, curr) => {
-      if (curr.correct) {
-        acc++
-      }
-      return acc
-    }, 0)
-    // 当前等级正确率
-    const accuracy = (count / currentLevelList.length) * 100
-    // 升降级规则:正确率达到80%难度升级,低于40%降级
-    if (accuracy >= 80) {
-      if (currentLevel < maxLevel) {
-        currentLevel++
-        // 删除升级之后的已有数据
-        gameList = gameList.filter((it) => it.level !== currentLevel)
-        // 重置当前等级试次索引
-        currentNumber = 0
-        console.log('80%难度升级')
-      }
-    } else if (accuracy < 40) {
-      sendData()
-      return
-    }
-  }
-
   // 如果当前等级的试次小于最大试次,则试次加一,否则应该进入下一等级
+  let maxNumber = gameData.value.length - 1
   if (currentNumber < maxNumber) {
     currentNumber++
   } else {
@@ -199,6 +256,7 @@ const nextOnce = () => {
     } else {
       // 游戏结束
       console.log('游戏结束2')
+      console.log(gameList, '用户操作总数据')
       sendData()
       return
     }
@@ -209,6 +267,7 @@ const nextOnce = () => {
 }
 // 发送请求
 const sendData = () => {
+  console.log(sumbitData.value, '用户操作总数据主屏')
   if (planInfo.value) {
     // 计算正确反应数和总反应时
     let { correctCount, totalResponseTime, totalScore } = gameList.reduce(
@@ -233,40 +292,40 @@ const sendData = () => {
 
     const { gameId, gameName, id: planId } = planInfo.value
     const data = {
-      finish: '1',
-      gameId,
-      gameName,
-      paramList: [
-        {
-          code: 'score',
-          name: '得分',
-          value: totalScore
-        },
-        {
-          code: 'correctCount',
-          name: '正确反应数',
-          value: correctCount
-        },
-        {
-          code: 'avrResponseTime',
-          name: '平均反应时',
-          value: avrResponseTime
-        },
-        {
-          code: 'avrResponseTime',
-          name: '最大难度',
-          value: currentLevel + 1
-        },
-        {
-          code: 'gameTotalTime',
-          name: '游戏总时长',
-          value: Date.now() - gameStartTime_record / 1000
-        }
-      ],
-      planId,
-      gamelevel: currentLevel + 1,
-      score: totalScore,
-      userId: userStore.user.id
+      // finish: '1',
+      // gameId,
+      // gameName,
+      // paramList: [
+      //   {
+      //     code: 'score',
+      //     name: '得分',
+      //     value: totalScore
+      //   },
+      //   {
+      //     code: 'correctCount',
+      //     name: '正确反应数',
+      //     value: correctCount
+      //   },
+      //   {
+      //     code: 'avrResponseTime',
+      //     name: '平均反应时',
+      //     value: avrResponseTime
+      //   },
+      //   {
+      //     code: 'avrResponseTime',
+      //     name: '最大难度',
+      //     value: currentLevel + 1
+      //   },
+      //   {
+      //     code: 'gameTotalTime',
+      //     name: '游戏总时长',
+      //     value: Date.now() - gameStartTime_record / 1000
+      //   }
+      // ],
+      // planId,
+      // gamelevel: currentLevel + 1,
+      // score: totalScore,
+      // userId: userStore.user.id
     }
     console.log('发送数据', data)
 
@@ -288,7 +347,8 @@ const sendData = () => {
 }
 async function exec() {
   // openDialogRef.value.openDialog()
-  const tempPlan = sessionStorage.getItem('currentPlanInfo')
+  isMainWin.value = window.location.href.includes('win=main') // 主副屏标志
+  const tempPlan = sessionStorage.getItem('currentPlanInfo') // 取患者数据
   if (tempPlan) {
     planInfo.value = JSON.parse(tempPlan)
   }
@@ -310,14 +370,13 @@ async function exec() {
   })
 }
 const setOnceData = () => {
-  // currentLevel
-  // currentNumber
-  // gameMode
   // 记录响应开始时间
   responseStartTime = performance.now()
-  onceData.value = gameData.value[currentLevel][currentNumber]
+  // onceData.value = gameData.value[currentLevel][currentNumber]
+  onceData.value = gameData.value[currentNumber]
   console.log(currentLevel, currentNumber, '1.2')
-  onceData.value.choices = shuffleArray(onceData.value.choices)
+  // onceData.value.choices = shuffleArray(onceData.value.choices)
+  checkItems.value = onceData.value.choices
 }
 // 随机排列数组
 function shuffleArray(array: any) {
@@ -330,6 +389,33 @@ function shuffleArray(array: any) {
 }
 onMounted(() => {
   exec()
+  window.addEventListener('storage', (val) => {
+    if (isMainWin.value) {
+      if (val.key === 'two-win-Visual-item-List') {
+        let tempVal = JSON.parse(localStorage.getItem('two-win-Visual-item-List'))
+        checkItemFn(tempVal, 0)
+        localStorage.removeItem('two-win-Visual-item-List')
+      }
+      if (val.key === 'two-win-Visual-item-confirmation') {
+        let a = localStorage.getItem('two-win-Visual-item-confirmation')
+        confirmation.value = a == 'true'
+        // flagFlag.value = -1
+        localStorage.removeItem('two-win-Visual-item-confirmation')
+      }
+      if (val.key === 'two-win-Visual-item-submitList') {
+        sumbitData.value = JSON.parse(localStorage.getItem('two-win-Visual-item-submitList'))
+        localStorage.removeItem('two-win-Visual-item-submitList')
+        console.log(sumbitData.value, '主屏接收用户操作数据')
+      }
+    } else {
+      console.log('')
+      if (val.key === 'two-win-Visual-item-next') {
+        nextOnce()
+        flagFlag.value = -1
+        localStorage.removeItem('two-win-Visual-item-next')
+      }
+    }
+  })
 })
 </script>
 
@@ -346,8 +432,18 @@ onMounted(() => {
     //font-family: 楷体;
     text-align: center;
   }
-  .question-imgStart {
-    background-image: url('/static/image/cognitiveAbility/SpeechTraining/verify-bg.png');
+  .question-imgStartZ {
+    cursor: pointer;
+    background-image: url('/static/image/cognitiveAbility/SpeechTraining/next.png');
+    background-size: 100% 100%;
+    background-position: center center;
+    background-repeat: repeat;
+    //font-family: 楷体;
+    text-align: center;
+  }
+  .question-imgStartF {
+    cursor: pointer;
+    background-image: url('/static/image/cognitiveAbility/SpeechTraining/Visual/verify-bg.png');
     background-size: 100% 100%;
     background-position: center center;
     background-repeat: repeat;
@@ -355,12 +451,14 @@ onMounted(() => {
     text-align: center;
   }
   .active {
-    background: url('/static/image/cognitiveAbility/SpeechTraining/Visual/Options-right.png') no-repeat 0 0 / 100% 100%;
+    background: #ffff00;
+    //background: url('/static/image/cognitiveAbility/SpeechTraining/Visual/Options-right.png') no-repeat 0 0 / 100% 100%;
     //background-position: 90% 54%; /* 可选,让图片居中对齐 */
   }
   .normal {
-    background: url('/static/image/cognitiveAbility/SpeechTraining/Visual/Options-Blank.png') no-repeat 0 0 / 70% 70%;
+    //background: url('/static/image/cognitiveAbility/SpeechTraining/Visual/Options-Blank.png') no-repeat 0 0 / 70% 70%;
     background-position: 10% 90%; /* 可选,让图片居中对齐 */
+    background: #ee8418;
   }
 }
 </style>

+ 31 - 53
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/components/execute/topics.json

@@ -1,56 +1,34 @@
+
 [
-  [
-    {
-      "question": "手",
-      "active": false,
-      "questions": [""],
-      "choices": [
-        {
-          "name":"手",
-          "active": false
-        }, {
-          "name":"脚",
-          "active": false
-        }],
-      "answer": "手"
-    },
-    {
-      "question": "梨",
-      "active": false,
-      "questions": [""],
-      "choices": [
-        {
-          "name":"柚",
-          "active": false
-        }, {
-          "name":"香",
-          "active": false
-        }, {
-          "name":"梨",
-          "active": false
-        }],
-      "answer": "梨"
-    },
-    {
-      "question": "纸",
-      "active": false,
-      "questions": [""],
-      "choices": [
-        {
-          "name":"笔",
-          "active": false
-        }, {
-          "name":"纸",
-          "active": false
-        }, {
-          "name":"本",
-          "active": false
-        }, {
-          "name":"书",
-          "active": false
-        }],
-      "answer": "纸"
-    }
-  ]
+  {
+    "question": "请你点击屏幕中的圆形",
+    "choices": ["rounded-[120px] top-[-100px] left-[-80px] "],
+    "correct": "rounded-[120px] top-[-100px] left-[-80px] ",
+    "userAnswer": ""
+  },
+  {
+    "question": "请你点击屏幕中的圆形",
+    "choices": ["rounded-[120px] top-[200px] left-[90px] "],
+    "correct": "rounded-[120px] top-[200px] left-[90px] ",
+    "userAnswer": ""
+  },
+  {
+    "question": "请你点击屏幕中的圆形",
+    "choices": ["rounded-[120px] top-[10px] left-[500px] "],
+    "correct": "rounded-[120px] top-[10px] left-[500px] ",
+    "userAnswer": ""
+  },
+  {
+    "question": "请你点击屏幕中的圆形",
+    "choices": ["rounded-[120px] top-[60px] left-[240px] "],
+    "correct": "rounded-[120px] top-[60px] left-[240px] ",
+    "userAnswer": ""
+  },
+  {
+    "question": "请你点击屏幕中的圆形",
+    "choices": ["rounded-[120px] top-[-100px] left-[440px]"],
+    "correct": "rounded-[120px] top-[-100px] left-[440px]",
+    "userAnswer": ""
+  }
 ]
 

+ 1 - 0
src/views/tester/components/RehabilitationEvaluation/CognitiveAbilityTask/CognitiveAbilityTaskVisualTraining/index.vue

@@ -68,6 +68,7 @@
     <word-map v-if="gameActive === '2'" @close="handleClose" />
     <map-word v-if="gameActive === '3'" @close="handleClose" />
     <diagram-map v-if="gameActive === '4'" @close="handleClose" />
+    <execute v-if="gameActive === '5'" @close="handleClose" />
     <VoiceImp ref="VoiceImpRef" />
   </section>
 </template>