소스 검색

游戏bug修改

周玉佂 3 달 전
부모
커밋
485abd8d35

+ 2 - 2
src/components/manage/main/SearchCognitiveTaskRecord.vue

@@ -6,7 +6,7 @@
       <el-button size="small" style="float: right" type="primary" @click="goReturn()">返回</el-button>
     </el-row>
     <el-table size="small" :header-cell-style="{ background: '#F6F7FB', color: '#606266' }" :data="tableData" border
-      style="margin-top: 20px" class="table-padding">
+      style="margin-top: 20px" class="table-padding center-table">
       <el-table-column prop="name" label="测试名称" width="auto" align="center">
       </el-table-column>
       <el-table-column prop="testDate" label="测试时间" width="auto" align="center">
@@ -18,7 +18,7 @@
         </template>
       </el-table-column>
     </el-table>
-    <el-row><el-col :span="24" style="text-align: right">
+    <el-row><el-col :span="24" style="text-align: center">
         <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
           :current-page="currentPage" :page-sizes="[10, 20, 50, 100]" :page-size="pageSize"
           layout="total, sizes, prev, pager, next, jumper" :total="total">

+ 1 - 1
src/views/CognitiveAbilityTask/imageAssociation.vue

@@ -2290,7 +2290,7 @@ export default {
       this.timer = setInterval(() => {
         _this.flag++;
         this.changeImage(_this.flag);
-      }, 100); //这个定时器的时间需要改,方便测试,现在为一秒
+      }, 10000); //这个定时器的时间需要改,方便测试,现在为一秒
     },
     isOk() {
       console.log("执行了吗");

+ 4 - 1
src/views/CognitiveAbilityTask/memoryTest.vue

@@ -758,7 +758,10 @@ export default {
           userScoreOne: this.userScoreOne,
           userScoreTwo: this.userScoreTwo,
           userId: this.userId,
-          userResponseRecords: this.userResponseRecords,
+          userResponseRecords: this.userResponseRecords.map((item, index) => {
+            item.index = index + 1
+            return item
+          }),
           testPlanId: this.$route.query.testPlanId || "",
         };
         this.screenExit();