|
@@ -7,7 +7,9 @@
|
|
class="section"
|
|
class="section"
|
|
>
|
|
>
|
|
<div class="title">
|
|
<div class="title">
|
|
- {{ struct.groupName }} ({{ struct.groupScore }}分)
|
|
|
|
|
|
+ {{ toChineseNumber(section + 1) }}、{{ struct.groupName }} ({{
|
|
|
|
+ struct.groupScore
|
|
|
|
+ }}分)
|
|
</div>
|
|
</div>
|
|
<div class="list">
|
|
<div class="list">
|
|
<template v-for="(_, index2) in sectionQuestions(section)">
|
|
<template v-for="(_, index2) in sectionQuestions(section)">
|
|
@@ -33,6 +35,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import { toChineseNumber } from "@/utils/util";
|
|
import { createNamespacedHelpers } from "vuex";
|
|
import { createNamespacedHelpers } from "vuex";
|
|
const { mapState } = createNamespacedHelpers("examingHomeModule");
|
|
const { mapState } = createNamespacedHelpers("examingHomeModule");
|
|
|
|
|
|
@@ -53,6 +56,9 @@ export default {
|
|
...mapState(["questionFilterType", "examQuestionList"]),
|
|
...mapState(["questionFilterType", "examQuestionList"]),
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ toChineseNumber(num) {
|
|
|
|
+ return toChineseNumber(num);
|
|
|
|
+ },
|
|
getQuestionNum: function(section, index) {
|
|
getQuestionNum: function(section, index) {
|
|
if (
|
|
if (
|
|
!this.paperStruct ||
|
|
!this.paperStruct ||
|