1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-12 20:40:33 +08:00

finish 试卷库

This commit is contained in:
源文雨
2023-04-17 18:38:27 +08:00
parent 9f940ddc02
commit 67b6abf001
7 changed files with 129 additions and 26 deletions

View File

@@ -16,6 +16,7 @@ export interface Duplication {
export interface FileStatus {
name: string
size: number
rate: number
questions: Question[]
duplications: Duplication[]
}

View File

@@ -1,7 +1,9 @@
<template>
<PageWrapper :title="t('routes.filelist.file') + ': ' + docxNameRef">
<template #headerContent>
<a-button type="primary" @click="downloadDocx"> 下载试卷 ({{ docxSizeRef }}MB) </a-button>
<a-button type="primary" @click="downloadDocx">
下载试卷 ({{ docxSizeRef.toFixed(2) }}MB)
</a-button>
</template>
<div ref="chartRef" :style="{ height, width }"></div>
<div class="docxWrap" :style="{ width }">
@@ -131,7 +133,7 @@
},
},
{
text: '重复率前十',
text: '重复率: ' + ret.rate.toFixed(2) + '%, 前十如下',
left: '40%',
top: '1%',
textStyle: {