|
@@ -24,89 +24,91 @@
|
|
:dx="0"
|
|
:dx="0"
|
|
:dy="0"
|
|
:dy="0"
|
|
/>
|
|
/>
|
|
- <!-- 客观题答案标记 -->
|
|
|
|
- <template v-if="item.answerTags">
|
|
|
|
- <div
|
|
|
|
- v-for="(tag, tindex) in item.answerTags"
|
|
|
|
- :key="`tag-${tindex}`"
|
|
|
|
- :style="tag.style"
|
|
|
|
- >
|
|
|
|
- {{ tag.answer }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <!-- 试题评分明细 -->
|
|
|
|
- <template v-if="item.markDetail">
|
|
|
|
- <div
|
|
|
|
- v-for="(minfo, mindex) in item.markDetail"
|
|
|
|
- :key="`mark-${mindex}`"
|
|
|
|
- :style="minfo.style"
|
|
|
|
- class="mark-info"
|
|
|
|
- >
|
|
|
|
- <div v-if="minfo.isFillQuestion">
|
|
|
|
- <div
|
|
|
|
- v-for="user in minfo.users"
|
|
|
|
- :key="user.userId"
|
|
|
|
- :style="{ color: user.color }"
|
|
|
|
- >
|
|
|
|
- <p>{{ user.prename }}:{{ user.userName }},评分:</p>
|
|
|
|
- <p>
|
|
|
|
- {{
|
|
|
|
- user.scores
|
|
|
|
- .map((s) => `${s.subNumber}:${s.score}分`)
|
|
|
|
- .join(",")
|
|
|
|
|
|
+ <template v-if="!onlyTrack">
|
|
|
|
+ <!-- 客观题答案标记 -->
|
|
|
|
+ <template v-if="item.answerTags">
|
|
|
|
+ <div
|
|
|
|
+ v-for="(tag, tindex) in item.answerTags"
|
|
|
|
+ :key="`tag-${tindex}`"
|
|
|
|
+ :style="tag.style"
|
|
|
|
+ >
|
|
|
|
+ {{ tag.answer }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 试题评分明细 -->
|
|
|
|
+ <template v-if="item.markDetail">
|
|
|
|
+ <div
|
|
|
|
+ v-for="(minfo, mindex) in item.markDetail"
|
|
|
|
+ :key="`mark-${mindex}`"
|
|
|
|
+ :style="minfo.style"
|
|
|
|
+ class="mark-info"
|
|
|
|
+ >
|
|
|
|
+ <div v-if="minfo.isFillQuestion">
|
|
|
|
+ <div
|
|
|
|
+ v-for="user in minfo.users"
|
|
|
|
+ :key="user.userId"
|
|
|
|
+ :style="{ color: user.color }"
|
|
|
|
+ >
|
|
|
|
+ <p>{{ user.prename }}:{{ user.userName }},评分:</p>
|
|
|
|
+ <p>
|
|
|
|
+ {{
|
|
|
|
+ user.scores
|
|
|
|
+ .map((s) => `${s.subNumber}:${s.score}分`)
|
|
|
|
+ .join(",")
|
|
|
|
+ }}
|
|
|
|
+ </p>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ <p
|
|
|
|
+ v-for="user in minfo.users"
|
|
|
|
+ :key="user.userId"
|
|
|
|
+ :style="{ color: user.color }"
|
|
|
|
+ >
|
|
|
|
+ {{ user.prename }}:{{ user.userName }},评分:{{
|
|
|
|
+ user.score
|
|
}}
|
|
}}
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
+ <h3>得分:{{ minfo.score }},满分:{{ minfo.maxScore }}</h3>
|
|
</div>
|
|
</div>
|
|
- <div v-else>
|
|
|
|
- <p
|
|
|
|
- v-for="user in minfo.users"
|
|
|
|
- :key="user.userId"
|
|
|
|
- :style="{ color: user.color }"
|
|
|
|
- >
|
|
|
|
- {{ user.prename }}:{{ user.userName }},评分:{{
|
|
|
|
- user.score
|
|
|
|
- }}
|
|
|
|
- </p>
|
|
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 客观题 -->
|
|
|
|
+ <template v-if="item.objectiveAnswerTags">
|
|
|
|
+ <div
|
|
|
|
+ v-for="tag in item.objectiveAnswerTags"
|
|
|
|
+ :key="tag.id"
|
|
|
|
+ class="mark-objective"
|
|
|
|
+ :style="tag.style"
|
|
|
|
+ >
|
|
|
|
+ 得分:{{ tag.score }},满分:{{ tag.totalScore }}
|
|
</div>
|
|
</div>
|
|
- <h3>得分:{{ minfo.score }},满分:{{ minfo.maxScore }}</h3>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <!-- 客观题 -->
|
|
|
|
- <template v-if="item.objectiveAnswerTags">
|
|
|
|
- <div
|
|
|
|
- v-for="tag in item.objectiveAnswerTags"
|
|
|
|
- :key="tag.id"
|
|
|
|
- class="mark-objective"
|
|
|
|
- :style="tag.style"
|
|
|
|
- >
|
|
|
|
- 得分:{{ tag.score }},满分:{{ tag.totalScore }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <!-- 模式4的summary -->
|
|
|
|
- <template v-if="item.summarys && item.summarys.length">
|
|
|
|
- <div class="summary-detail">
|
|
|
|
- <table>
|
|
|
|
- <tr>
|
|
|
|
- <th>主观题号</th>
|
|
|
|
- <th>分数</th>
|
|
|
|
- <th>评卷员</th>
|
|
|
|
- </tr>
|
|
|
|
- <tr v-for="(sinfo, sindex) in item.summarys" :key="sindex">
|
|
|
|
- <td>{{ sinfo.mainNumber }}-{{ sinfo.subNumber }}</td>
|
|
|
|
- <td>{{ sinfo.score }}</td>
|
|
|
|
- <td>{{ sinfo.markerName }}</td>
|
|
|
|
- </tr>
|
|
|
|
- </table>
|
|
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 模式4的summary -->
|
|
|
|
+ <template v-if="item.summarys && item.summarys.length">
|
|
|
|
+ <div class="summary-detail">
|
|
|
|
+ <table>
|
|
|
|
+ <tr>
|
|
|
|
+ <th>主观题号</th>
|
|
|
|
+ <th>分数</th>
|
|
|
|
+ <th>评卷员</th>
|
|
|
|
+ </tr>
|
|
|
|
+ <tr v-for="(sinfo, sindex) in item.summarys" :key="sindex">
|
|
|
|
+ <td>{{ sinfo.mainNumber }}-{{ sinfo.subNumber }}</td>
|
|
|
|
+ <td>{{ sinfo.score }}</td>
|
|
|
|
+ <td>{{ sinfo.markerName }}</td>
|
|
|
|
+ </tr>
|
|
|
|
+ </table>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
|
|
+ <!-- 总分 -->
|
|
|
|
+ <div class="mark-total">
|
|
|
|
+ 总分:{{ totalScore }},主观题得分:{{
|
|
|
|
+ subjectiveScore
|
|
|
|
+ }},客观题得分:{{ objectiveScore }}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
-
|
|
|
|
- <!-- 总分 -->
|
|
|
|
- <div class="mark-total">
|
|
|
|
- 总分:{{ totalScore }},主观题得分:{{
|
|
|
|
- subjectiveScore
|
|
|
|
- }},客观题得分:{{ objectiveScore }}
|
|
|
|
- </div>
|
|
|
|
<hr class="image-seperator" />
|
|
<hr class="image-seperator" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -153,8 +155,9 @@ interface SliceImage {
|
|
summarys?: SummaryItem[];
|
|
summarys?: SummaryItem[];
|
|
}
|
|
}
|
|
|
|
|
|
-const { origImageUrls = "sliceUrls" } = defineProps<{
|
|
|
|
|
|
+const { origImageUrls = "sliceUrls", onlyTrack = false } = defineProps<{
|
|
origImageUrls?: "sheetUrls" | "sliceUrls";
|
|
origImageUrls?: "sheetUrls" | "sliceUrls";
|
|
|
|
+ onlyTrack: boolean;
|
|
}>();
|
|
}>();
|
|
const emit = defineEmits(["error", "getIsMultComments", "getScrollStatus"]);
|
|
const emit = defineEmits(["error", "getIsMultComments", "getScrollStatus"]);
|
|
|
|
|